1 #ifndef SimG4Core_CountProcessesAction_H 2 #define SimG4Core_CountProcessesAction_H 8 #include "G4ParticleDefinition.hh" 13 typedef std::map<std::pair<std::string, std::string>,
int, std::less<std::pair<std::string, std::string>>>
mpssi;
14 typedef std::pair<std::string, std::string>
pss;
15 typedef std::map<std::string, int, std::less<std::string>>
psi;
25 public Observer<const BeginOfTrack *>,
33 void update(
const G4Step *track)
override;
void DumpProcessList(bool printNsteps, std::ostream &out=std::cout)
void DumpParticleList(std::ostream &out=std::cout)
std::map< std::string, int, std::less< std::string > > psi
void DumpCreatorProcessList(bool printNsteps, std::ostream &out=std::cout)
~CountProcessesAction() override
std::map< std::pair< std::string, std::string >, int, std::less< std::pair< std::string, std::string > > > mpssi
std::pair< std::string, std::string > pss
CountProcessesAction(edm::ParameterSet const &p)
mpssi theCreatorProcessList
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.