Geant4  10.00.p02
RE05StackingAction Class Reference

#include <RE05StackingAction.hh>

+ Inheritance diagram for RE05StackingAction:
+ Collaboration diagram for RE05StackingAction:

Public Member Functions

 RE05StackingAction ()
 
virtual ~RE05StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *aTrack)
 
virtual void NewStage ()
 
virtual void PrepareNewEvent ()
 
void SetNRequestMuon (G4int val)
 
G4int GetNRequestMuon () const
 
void SetNRequestIsoMuon (G4int val)
 
G4int GetNRequestIsoMuon () const
 
void SetNIsolation (G4int val)
 
G4int GetNIsolation () const
 
void SetRoIAngle (G4double val)
 
G4double GetRoIAngle () const
 
- Public Member Functions inherited from G4UserStackingAction
 G4UserStackingAction ()
 
virtual ~G4UserStackingAction ()
 
void SetStackManager (G4StackManager *value)
 

Private Member Functions

G4bool InsideRoI (const G4Track *aTrack, G4double ang)
 
G4VHitsCollectionGetCollection (G4String colName)
 

Private Attributes

RE05TrackerHitsCollectiontrkHits
 
RE05MuonHitsCollectionmuonHits
 
RE05StackingActionMessengertheMessenger
 
G4int stage
 
G4int reqMuon
 
G4int reqIsoMuon
 
G4int reqIso
 
G4double angRoI
 

Additional Inherited Members

- Protected Attributes inherited from G4UserStackingAction
G4StackManagerstackManager
 

Detailed Description

Definition at line 45 of file RE05StackingAction.hh.

Constructor & Destructor Documentation

RE05StackingAction::RE05StackingAction ( )

Definition at line 45 of file RE05StackingAction.cc.

References angRoI, deg, reqIso, reqMuon, and theMessenger.

RE05StackingAction::~RE05StackingAction ( )
virtual

Definition at line 54 of file RE05StackingAction.cc.

References theMessenger.

Member Function Documentation

G4ClassificationOfNewTrack RE05StackingAction::ClassifyNewTrack ( const G4Track aTrack)
virtual

Reimplemented from G4UserStackingAction.

Definition at line 58 of file RE05StackingAction.cc.

References angRoI, fKill, fSuspend, fUrgent, fWaiting, G4Track::GetDefinition(), G4Track::GetParentID(), G4ParticleDefinition::GetPDGCharge(), G4Track::GetTrackStatus(), InsideRoI(), G4MuonMinus::MuonMinusDefinition(), G4MuonPlus::MuonPlusDefinition(), and stage.

+ Here is the call graph for this function:

G4VHitsCollection * RE05StackingAction::GetCollection ( G4String  colName)
private

Definition at line 120 of file RE05StackingAction.cc.

References G4SDManager::GetCollectionID(), G4RunManager::GetCurrentEvent(), G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), G4RunManager::GetRunManager(), and G4SDManager::GetSDMpointer().

Referenced by InsideRoI(), and NewStage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int RE05StackingAction::GetNIsolation ( ) const
inline

Definition at line 76 of file RE05StackingAction.hh.

References reqIso.

Referenced by RE05StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int RE05StackingAction::GetNRequestIsoMuon ( ) const
inline

Definition at line 74 of file RE05StackingAction.hh.

References reqIsoMuon.

Referenced by RE05StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int RE05StackingAction::GetNRequestMuon ( ) const
inline

Definition at line 72 of file RE05StackingAction.hh.

References reqMuon.

Referenced by RE05StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4double RE05StackingAction::GetRoIAngle ( ) const
inline

Definition at line 78 of file RE05StackingAction.hh.

References angRoI.

Referenced by RE05StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4bool RE05StackingAction::InsideRoI ( const G4Track aTrack,
G4double  ang 
)
private

Definition at line 99 of file RE05StackingAction.cc.

References G4THitsCollection< T >::entries(), G4cerr, G4endl, GetCollection(), G4Track::GetPosition(), and muonHits.

Referenced by ClassifyNewTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RE05StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

Definition at line 134 of file RE05StackingAction.cc.

References angRoI, G4StackManager::clear(), G4THitsCollection< T >::entries(), G4cerr, G4endl, GetCollection(), muonHits, G4StackManager::ReClassify(), reqIso, reqIsoMuon, reqMuon, G4UserStackingAction::stackManager, stage, and trkHits.

+ Here is the call graph for this function:

void RE05StackingAction::PrepareNewEvent ( )
virtual

Reimplemented from G4UserStackingAction.

Definition at line 205 of file RE05StackingAction.cc.

References muonHits, stage, and trkHits.

void RE05StackingAction::SetNIsolation ( G4int  val)
inline

Definition at line 75 of file RE05StackingAction.hh.

Referenced by RE05StackingActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void RE05StackingAction::SetNRequestIsoMuon ( G4int  val)
inline

Definition at line 73 of file RE05StackingAction.hh.

Referenced by RE05StackingActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void RE05StackingAction::SetNRequestMuon ( G4int  val)
inline

Definition at line 71 of file RE05StackingAction.hh.

Referenced by RE05StackingActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void RE05StackingAction::SetRoIAngle ( G4double  val)
inline

Definition at line 77 of file RE05StackingAction.hh.

Referenced by RE05StackingActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4double RE05StackingAction::angRoI
private

Definition at line 68 of file RE05StackingAction.hh.

Referenced by ClassifyNewTrack(), GetRoIAngle(), NewStage(), and RE05StackingAction().

RE05MuonHitsCollection* RE05StackingAction::muonHits
private

Definition at line 61 of file RE05StackingAction.hh.

Referenced by InsideRoI(), NewStage(), and PrepareNewEvent().

G4int RE05StackingAction::reqIso
private

Definition at line 67 of file RE05StackingAction.hh.

Referenced by GetNIsolation(), NewStage(), and RE05StackingAction().

G4int RE05StackingAction::reqIsoMuon
private

Definition at line 66 of file RE05StackingAction.hh.

Referenced by GetNRequestIsoMuon(), and NewStage().

G4int RE05StackingAction::reqMuon
private

Definition at line 65 of file RE05StackingAction.hh.

Referenced by GetNRequestMuon(), NewStage(), and RE05StackingAction().

G4int RE05StackingAction::stage
private

Definition at line 64 of file RE05StackingAction.hh.

Referenced by ClassifyNewTrack(), NewStage(), and PrepareNewEvent().

RE05StackingActionMessenger* RE05StackingAction::theMessenger
private

Definition at line 62 of file RE05StackingAction.hh.

Referenced by RE05StackingAction(), and ~RE05StackingAction().

RE05TrackerHitsCollection* RE05StackingAction::trkHits
private

Definition at line 60 of file RE05StackingAction.hh.

Referenced by NewStage(), and PrepareNewEvent().


The documentation for this class was generated from the following files: