Enable conditional storing of G4Trajectories
Selective storing of G4Trajectories was not activated when GaussPostTrackAction was ported to Gaussino as a TruthFlaggingTrackAction. Now the possinility to store them is back again, but switched off by default. Set m_storeTrajectories if you wish to store trajectories that correspond to MCTruth from GaussinoTrackInformation. Set m_storeMarkedTrajectories if you wish to store only yhe G4Trajectories that paricipated in the creation of hits in the sensitive detector classes.
Showing
- Sim/GiGaMTCore/GiGaMTCoreTruth/TruthFlaggingTrackAction.h 12 additions, 0 deletionsSim/GiGaMTCore/GiGaMTCoreTruth/TruthFlaggingTrackAction.h
- Sim/GiGaMTCore/src/truth/TruthFlaggingTrackAction.cpp 27 additions, 26 deletionsSim/GiGaMTCore/src/truth/TruthFlaggingTrackAction.cpp
- Sim/GiGaMTFactories/src/truth/TruthActionFactories.cpp 6 additions, 0 deletionsSim/GiGaMTFactories/src/truth/TruthActionFactories.cpp
Loading
Please register or sign in to comment