Geant4
10.02.p02
|
#include <CCalStackingAction.hh>
Public Types | |
enum | stageLevel { firstStage, end } |
enum | { maxNumberOfSD = 30 } |
Public Member Functions | |
~CCalStackingAction () | |
virtual G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *aTrack) |
virtual void | NewStage () |
virtual void | PrepareNewEvent () |
Public Member Functions inherited from G4UserStackingAction | |
G4UserStackingAction () | |
virtual | ~G4UserStackingAction () |
void | SetStackManager (G4StackManager *value) |
Private Member Functions | |
CCalStackingAction () | |
void | initialize () |
G4bool | trackStartsInCalo (const G4Track *atrack) |
void | setPrimaryID (G4int id) |
Private Attributes | |
stageLevel | stage |
int | numberOfSD |
G4String | SDName [maxNumberOfSD] |
int | nurgent |
int | acceptSecondaries |
CCaloSD * | theCaloSD [maxNumberOfSD] |
G4bool | isInitialized |
Friends | |
class | CCalSensAssign |
Additional Inherited Members | |
Protected Attributes inherited from G4UserStackingAction | |
G4StackManager * | stackManager |
Definition at line 40 of file CCalStackingAction.hh.
anonymous enum |
Enumerator | |
---|---|
maxNumberOfSD |
Definition at line 56 of file CCalStackingAction.hh.
Enumerator | |
---|---|
firstStage | |
end |
Definition at line 55 of file CCalStackingAction.hh.
|
private |
Definition at line 43 of file CCalStackingAction.cc.
CCalStackingAction::~CCalStackingAction | ( | ) |
Definition at line 46 of file CCalStackingAction.cc.
|
virtual |
PRIMARIES ///
SECONDARIES ///
Reimplemented from G4UserStackingAction.
Definition at line 101 of file CCalStackingAction.cc.
References acceptSecondaries, G4UserStackingAction::ClassifyNewTrack(), end, eV, fKill, fUrgent, fWaiting, G4cout, G4endl, G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4Track::GetParentID(), G4ParticleDefinition::GetParticleName(), G4Track::GetTrackID(), G4Track::GetTrackStatus(), MeV, nurgent, setPrimaryID(), stage, and trackStartsInCalo().
|
private |
Definition at line 58 of file CCalStackingAction.cc.
References G4SDManager::FindSensitiveDetector(), G4cout, G4endl, CCalSDList::getInstance(), CCalSDList::getNumberOfCaloSD(), G4SDManager::GetSDMpointerIfExist(), isInitialized, numberOfSD, SDName, CCaloSD::SetPrimaryID(), and theCaloSD.
Referenced by PrepareNewEvent().
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 176 of file CCalStackingAction.cc.
References acceptSecondaries, end, G4cout, G4endl, G4StackManager::GetNUrgentTrack(), nurgent, G4StackManager::ReClassify(), setPrimaryID(), G4UserStackingAction::stackManager, and stage.
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 49 of file CCalStackingAction.cc.
References acceptSecondaries, firstStage, initialize(), isInitialized, nurgent, and stage.
|
private |
Definition at line 206 of file CCalStackingAction.cc.
References numberOfSD, CCaloSD::SetPrimaryID(), and theCaloSD.
Referenced by ClassifyNewTrack(), and NewStage().
This method should check that the secondary particle was produced inside the detector calorimeter and really is part of the shower. If it has been produced before the calorimeter for ex. Bremsstrahlung, it should be treated as a new particle producing a new shower.
Definition at line 194 of file CCalStackingAction.cc.
Referenced by ClassifyNewTrack().
|
friend |
Definition at line 42 of file CCalStackingAction.hh.
|
private |
Definition at line 63 of file CCalStackingAction.hh.
Referenced by ClassifyNewTrack(), NewStage(), and PrepareNewEvent().
|
private |
Definition at line 65 of file CCalStackingAction.hh.
Referenced by initialize(), and PrepareNewEvent().
|
private |
Definition at line 60 of file CCalStackingAction.hh.
Referenced by initialize(), and setPrimaryID().
|
private |
Definition at line 62 of file CCalStackingAction.hh.
Referenced by ClassifyNewTrack(), NewStage(), and PrepareNewEvent().
|
private |
Definition at line 61 of file CCalStackingAction.hh.
Referenced by initialize().
|
private |
Definition at line 59 of file CCalStackingAction.hh.
Referenced by ClassifyNewTrack(), NewStage(), and PrepareNewEvent().
|
private |
Definition at line 64 of file CCalStackingAction.hh.
Referenced by initialize(), and setPrimaryID().