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()
static G4RunManager * GetRunManager()
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
Definition of the OpNoviceSteppingAction class.
G4Track * GetTrack() const
static G4OpticalPhoton * OpticalPhotonDefinition()
virtual ~OpNoviceSteppingAction()
virtual void UserSteppingAction(const G4Step *)
G4int fScintillationCounter
const G4DynamicParticle * GetDynamicParticle() const