Geant4  10.00.p03
ExN04StackingAction Class Reference

#include <ExN04StackingAction.hh>

+ Inheritance diagram for ExN04StackingAction:
+ Collaboration diagram for ExN04StackingAction:

Public Member Functions

 ExN04StackingAction ()
 
virtual ~ExN04StackingAction ()
 
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
 
 ExN04StackingAction ()
 
virtual ~ExN04StackingAction ()
 
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)
 
G4bool InsideRoI (const G4Track *aTrack, G4double ang)
 
G4VHitsCollectionGetCollection (G4String colName)
 

Private Attributes

ExN04TrackerHitsCollectiontrkHits
 
ExN04MuonHitsCollectionmuonHits
 
ExN04StackingActionMessengertheMessenger
 
G4int stage
 
G4int reqMuon
 
G4int reqIsoMuon
 
G4int reqIso
 
G4double angRoI
 

Additional Inherited Members

- Protected Attributes inherited from G4UserStackingAction
G4StackManagerstackManager
 

Detailed Description

Definition at line 44 of file ExN04StackingAction.hh.

Constructor & Destructor Documentation

ExN04StackingAction::ExN04StackingAction ( )

Definition at line 45 of file ExN04StackingAction.cc.

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

ExN04StackingAction::~ExN04StackingAction ( )
virtual

Definition at line 55 of file ExN04StackingAction.cc.

References theMessenger.

ExN04StackingAction::ExN04StackingAction ( )
virtual ExN04StackingAction::~ExN04StackingAction ( )
virtual

Member Function Documentation

G4ClassificationOfNewTrack ExN04StackingAction::ClassifyNewTrack ( const G4Track aTrack)
virtual

Reimplemented from G4UserStackingAction.

Definition at line 60 of file ExN04StackingAction.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:

virtual G4ClassificationOfNewTrack ExN04StackingAction::ClassifyNewTrack ( const G4Track aTrack)
virtual

Reimplemented from G4UserStackingAction.

G4VHitsCollection* ExN04StackingAction::GetCollection ( G4String  colName)
private
G4VHitsCollection * ExN04StackingAction::GetCollection ( G4String  colName)
private

Definition at line 124 of file ExN04StackingAction.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 ExN04StackingAction::GetNIsolation ( ) const
inline

Definition at line 58 of file ExN04StackingAction.hh.

References reqIso.

Referenced by ExN04StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int ExN04StackingAction::GetNIsolation ( ) const
inline

Definition at line 76 of file ExN04StackingAction.hh.

References reqIso.

G4int ExN04StackingAction::GetNRequestIsoMuon ( ) const
inline

Definition at line 56 of file ExN04StackingAction.hh.

References reqIsoMuon.

Referenced by ExN04StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int ExN04StackingAction::GetNRequestIsoMuon ( ) const
inline

Definition at line 74 of file ExN04StackingAction.hh.

References reqIsoMuon.

G4int ExN04StackingAction::GetNRequestMuon ( ) const
inline

Definition at line 54 of file ExN04StackingAction.hh.

References reqMuon.

Referenced by ExN04StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int ExN04StackingAction::GetNRequestMuon ( ) const
inline

Definition at line 72 of file ExN04StackingAction.hh.

References reqMuon.

G4double ExN04StackingAction::GetRoIAngle ( ) const
inline

Definition at line 60 of file ExN04StackingAction.hh.

References angRoI.

Referenced by ExN04StackingActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4double ExN04StackingAction::GetRoIAngle ( ) const
inline

Definition at line 78 of file ExN04StackingAction.hh.

References angRoI.

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

Definition at line 102 of file ExN04StackingAction.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 ExN04StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

Definition at line 139 of file ExN04StackingAction.cc.

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

+ Here is the call graph for this function:

virtual void ExN04StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

void ExN04StackingAction::PrepareNewEvent ( )
virtual

Reimplemented from G4UserStackingAction.

Definition at line 212 of file ExN04StackingAction.cc.

References muonHits, stage, and trkHits.

virtual void ExN04StackingAction::PrepareNewEvent ( )
virtual

Reimplemented from G4UserStackingAction.

void ExN04StackingAction::SetNIsolation ( G4int  val)
inline

Definition at line 57 of file ExN04StackingAction.hh.

References reqIso.

void ExN04StackingAction::SetNIsolation ( G4int  val)
inline

Definition at line 75 of file ExN04StackingAction.hh.

void ExN04StackingAction::SetNRequestIsoMuon ( G4int  val)
inline

Definition at line 55 of file ExN04StackingAction.hh.

References reqIsoMuon.

void ExN04StackingAction::SetNRequestIsoMuon ( G4int  val)
inline

Definition at line 73 of file ExN04StackingAction.hh.

void ExN04StackingAction::SetNRequestMuon ( G4int  val)
inline

Definition at line 53 of file ExN04StackingAction.hh.

References reqMuon.

void ExN04StackingAction::SetNRequestMuon ( G4int  val)
inline

Definition at line 71 of file ExN04StackingAction.hh.

void ExN04StackingAction::SetRoIAngle ( G4double  val)
inline

Definition at line 59 of file ExN04StackingAction.hh.

References angRoI.

void ExN04StackingAction::SetRoIAngle ( G4double  val)
inline

Definition at line 77 of file ExN04StackingAction.hh.

Member Data Documentation

G4double ExN04StackingAction::angRoI
private
ExN04MuonHitsCollection * ExN04StackingAction::muonHits
private

Definition at line 67 of file ExN04StackingAction.hh.

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

G4int ExN04StackingAction::reqIso
private

Definition at line 73 of file ExN04StackingAction.hh.

Referenced by ExN04StackingAction(), GetNIsolation(), NewStage(), and SetNIsolation().

G4int ExN04StackingAction::reqIsoMuon
private

Definition at line 72 of file ExN04StackingAction.hh.

Referenced by GetNRequestIsoMuon(), NewStage(), and SetNRequestIsoMuon().

G4int ExN04StackingAction::reqMuon
private
G4int ExN04StackingAction::stage
private

Definition at line 70 of file ExN04StackingAction.hh.

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

ExN04StackingActionMessenger * ExN04StackingAction::theMessenger
private

Definition at line 68 of file ExN04StackingAction.hh.

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

ExN04TrackerHitsCollection * ExN04StackingAction::trkHits
private

Definition at line 66 of file ExN04StackingAction.hh.

Referenced by NewStage(), and PrepareNewEvent().


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