41 if(helper.IsPrimary() || helper.IsRegeneratedPrimary())
45 if(helper.IsRegisteredSecondary())
49 const double minE = 50.;
50 if(track->GetKineticEnergy() > minE)
virtual void PreUserTrackingAction(const G4Track *track) override final
Increments the track counters.
Report m_report
Track counts for this thread.
virtual void BeginOfEventAction(const G4Event *event) override final
Increments event counter.
Simple struct for holding the counts Might want to use larger integral types for this....
unsigned int nPrimaryTracks
Number of primary tracks.
unsigned int n50MeVTracks
Number of tracks with kinetic E > 50 MeV.
unsigned int nSecondaryTracks
Number of secondary tracks.
unsigned int nTotalTracks
Total number of tracks.
unsigned int nEvents
Event counter. Might want a larger int for this.
void merge(const Report &rep)