#include <Doxymodules_optical.h>
Definition at line 25 of file Doxymodules_optical.h.
◆ OpNoviceStackingAction()
OpNoviceStackingAction::OpNoviceStackingAction |
( |
| ) |
|
|
default |
◆ ~OpNoviceStackingAction()
OpNoviceStackingAction::~OpNoviceStackingAction |
( |
| ) |
|
|
overridedefault |
◆ ClassifyNewTrack()
G4ClassificationOfNewTrack OpNoviceStackingAction::ClassifyNewTrack |
( |
const G4Track * |
aTrack | ) |
|
|
override |
Definition at line 42 of file OpNoviceStackingAction.cc.
44{
45 if(aTrack->GetDefinition() == G4OpticalPhoton::OpticalPhotonDefinition())
46 {
47 if(aTrack->GetParentID() > 0)
48 {
49 if(aTrack->GetCreatorProcess()->GetProcessName() == "Scintillation")
51 else if(aTrack->GetCreatorProcess()->GetProcessName() == "Cerenkov")
53 }
54 }
55 return fUrgent;
56}
G4int fScintillationCounter
◆ NewStage()
void OpNoviceStackingAction::NewStage |
( |
| ) |
|
|
override |
Definition at line 59 of file OpNoviceStackingAction.cc.
60{
61
62
63
64
65
67 G4RunManager::GetRunManager()->GetNonConstCurrentRun());
70}
void AddScintillation(G4double n)
◆ PrepareNewEvent()
void OpNoviceStackingAction::PrepareNewEvent |
( |
| ) |
|
|
override |
◆ fScintillationCounter
G4int OpNoviceStackingAction::fScintillationCounter = 0 |
|
private |
◆ fCerenkovCounter
G4int OpNoviceStackingAction::fCerenkovCounter = 0 |
|
private |
The documentation for this class was generated from the following files: