Skip to content

Commit

Permalink
updated optical property list
Browse files Browse the repository at this point in the history
  • Loading branch information
jintonic committed Jul 6, 2021
1 parent b7d898d commit e80fe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gears.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ G4MaterialPropertiesTable* LineProcessor::CreateMaterialPropertiesTable(
for (size_t i=idxOfWords; i<words.size(); i++) {
G4String property = words[i]; property.toUpper();
if (property.contains("SCINTILLATIONYIELD") || property=="RESOLUTIONSCALE"
|| property.contains("FASTTIMECONSTANT") || property=="YIELDRATIO") {
|| property.contains("TIMECONSTANT") || property=="YIELDRATIO") {
table->AddConstProperty(property, G4tgrUtils::GetDouble(words[i+1]));
G4cout<<"GEARS: "<<property<<"="<<words[i+1]<<G4endl;
i++; // property value has been used
Expand Down

0 comments on commit e80fe74

Please sign in to comment.