61 GetCurrentEvent()->GetEventID();
64 G4cout <<
" Number of Scintillation Photons in previous event: "
66 G4cout <<
" Number of Cerenkov Photons in previous event: "
76 GetParticleDefinition()->GetParticleName();
78 if (ParticleName ==
"opticalphoton")
return;
80 const std::vector<const G4Track*>* secondaries =
83 if (secondaries->size()>0) {
84 for(
unsigned int i=0; i<secondaries->size(); ++i) {
85 if (secondaries->at(i)->GetParentID()>0) {
86 if(secondaries->at(i)->GetDynamicParticle()->GetParticleDefinition()
88 if (secondaries->at(i)->GetCreatorProcess()->GetProcessName()
90 if (secondaries->at(i)->GetCreatorProcess()->GetProcessName()
const G4DynamicParticle * GetDynamicParticle() const
virtual void UserSteppingAction(const G4Step *)
G4GLOB_DLL std::ostream G4cout
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
virtual ~OpNoviceSteppingAction()
static G4RunManager * GetRunManager()
Definition of the OpNoviceSteppingAction class.
G4int fScintillationCounter
static G4OpticalPhoton * OpticalPhotonDefinition()
G4Track * GetTrack() const