Skip to content

Commit

Permalink
Update gemc.cc
Browse files Browse the repository at this point in the history
release 5.9 uses geant4 10.6 with old photon pid
  • Loading branch information
maureeungaro committed May 2, 2024
1 parent 2dcfdb2 commit 2b42ab7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/gemc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,5 @@ int main( int argc, char **argv )

// introducing OPTICALPHOTONPID here to be semi-transparent to G4 changes
// this pid changed from 0 to -22 with geant4 10.7
int MHit::OPTICALPHOTONPID = -22;
// int MHit::OPTICALPHOTONPID = -22;
int MHit::OPTICALPHOTONPID = 0;

0 comments on commit 2b42ab7

Please sign in to comment.