15 const IInterface* parent)
26 return StatusCode::SUCCESS;
43 ATH_MSG_INFO(
"nPrimaryTracks " << report.nPrimaryTracks);
44 ATH_MSG_INFO(
"nSecondaryTracks " << report.nSecondaryTracks);
47 return StatusCode::SUCCESS;
53 std::unique_ptr<G4TrackCounter>
57 auto action = std::make_unique<G4TrackCounter>();
A simple action which counts tracks.
const Report & getReport() const
Retrieve my counts.
Struct for passing around user actions.
std::vector< G4UserTrackingAction * > trackingActions
std::vector< G4UserEventAction * > eventActions
Simple struct for holding the counts Might want to use larger integral types for this....
void merge(const Report &rep)