File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -524,7 +524,8 @@ struct SteppingAction : G4UserSteppingAction
524524 return ;
525525 }
526526 // G4 11.x supports up to 3 scintillation components
527- const G4int tcKeys[3 ] = {kSCINTILLATIONTIMECONSTANT1 , kSCINTILLATIONTIMECONSTANT2 , kSCINTILLATIONTIMECONSTANT3 };
527+ const G4int tcKeys[3 ] = {kSCINTILLATIONTIMECONSTANT1 , kSCINTILLATIONTIMECONSTANT2 ,
528+ kSCINTILLATIONTIMECONSTANT3 };
528529 const G4int yieldKeys[3 ] = {kSCINTILLATIONYIELD1 , kSCINTILLATIONYIELD2 , kSCINTILLATIONYIELD3 };
529530
530531 G4double tc[3 ] = {0 , 0 , 0 };
@@ -537,9 +538,8 @@ struct SteppingAction : G4UserSteppingAction
537538 if (MPT->ConstPropertyExists (tcKeys[c]))
538539 {
539540 tc[c] = MPT->GetConstProperty (tcKeys[c]);
540- yield[c] = MPT->ConstPropertyExists (yieldKeys[c])
541- ? MPT->GetConstProperty (yieldKeys[c])
542- : (c == 0 ? 1.0 : 0.0 );
541+ yield[c] = MPT->ConstPropertyExists (yieldKeys[c]) ? MPT->GetConstProperty (yieldKeys[c])
542+ : (c == 0 ? 1.0 : 0.0 );
543543 yieldSum += yield[c];
544544 nComp = c + 1 ;
545545 }
You can’t perform that action at this time.
0 commit comments