60 GetCurrentEvent()->GetEventID();
71 GetParticleDefinition()->GetParticleName();
73 if (ParticleName ==
"opticalphoton")
return;
75 const std::vector<const G4Track*>* secondaries =
78 if (secondaries->size()>0) {
79 for(
unsigned int i=0; i<secondaries->size(); ++i) {
80 if (secondaries->at(i)->GetParentID()>0) {
81 if(secondaries->at(i)->GetDynamicParticle()->GetParticleDefinition()
83 if (secondaries->at(i)->GetCreatorProcess()->GetProcessName()
85 if (secondaries->at(i)->GetCreatorProcess()->GetProcessName()
const G4DynamicParticle * GetDynamicParticle() const
virtual void UserSteppingAction(const G4Step *)
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