Geant4  10.03
StackingAction Class Reference

Stacking action class : manage the newly generated particles. More...

#include <StackingAction.hh>

+ Inheritance diagram for StackingAction:
+ Collaboration diagram for StackingAction:

Public Member Functions

 StackingAction ()
 
 ~StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
 ~StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
 ~StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction (RunAction *, EventAction *)
 
 ~StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction (EventAction *)
 
 ~StackingAction ()
 
void SetKillStatus (G4int value)
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
 ~StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
 ~StackingAction ()
 
void SetKillStatus (G4bool value)
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
virtual ~StackingAction ()
 
void SetKillStatus (G4bool value)
 
void SetKill (const G4String &name)
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
virtual ~StackingAction ()
 
void SetKillAll (G4bool value)
 
void SetKillEM (G4bool value)
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
 ~StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
 StackingAction ()
 
virtual ~StackingAction ()
 
virtual void NewStage ()
 
 StackingAction ()
 
virtual ~StackingAction ()
 
virtual void NewStage ()
 
 StackingAction ()
 
virtual ~StackingAction ()
 
virtual void NewStage ()
 
 StackingAction ()
 
virtual ~StackingAction ()
 
virtual void NewStage ()
 
 StackingAction (DetectorConstruction *)
 
 ~StackingAction ()
 
virtual void SetKillStatus (G4bool value)
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
- Public Member Functions inherited from G4UserStackingAction
 G4UserStackingAction ()
 
virtual ~G4UserStackingAction ()
 
void SetStackManager (G4StackManager *value)
 
virtual void PrepareNewEvent ()
 

Private Attributes

RunActionfRunaction
 
EventActionfEventaction
 
EventActionfEventAction
 
G4int fKillSecondary
 
StackingMessengerfStackMessenger
 
G4int fPhotoGamma
 
G4int fComptGamma
 
G4int fPhotoAuger
 
G4int fComptAuger
 
G4int fPixeGamma
 
G4int fPixeAuger
 
G4bool fIDdefined
 
G4bool fKillSecondary
 
HistoManagerfHistoManager
 
const G4ParticleDefinitionfParticle
 
G4bool fKillAll
 
G4bool fKillEM
 
DetectorConstructionfDetector
 
G4MaterialfMatWall
 
G4double fZcav
 
G4EmCalculatorfEmCal
 
G4bool first
 
G4bool fKillTrack
 

Additional Inherited Members

- Protected Attributes inherited from G4UserStackingAction
G4StackManagerstackManager
 

Detailed Description

Stacking action class : manage the newly generated particles.

One wishes do not track secondary neutrino.Therefore one kills it immediately, before created particles will put in a stack.

Definition at line 42 of file StackingAction.hh.

Constructor & Destructor Documentation

StackingAction::StackingAction ( )

Definition at line 41 of file StackingAction.cc.

StackingAction::~StackingAction ( )

Definition at line 47 of file StackingAction.cc.

StackingAction::StackingAction ( )
StackingAction::~StackingAction ( )
StackingAction::StackingAction ( )
StackingAction::~StackingAction ( )
StackingAction::StackingAction ( RunAction RA,
EventAction EA 
)

Definition at line 44 of file StackingAction.cc.

StackingAction::~StackingAction ( )
StackingAction::StackingAction ( EventAction EA)

Definition at line 46 of file StackingAction.cc.

References fStackMessenger.

StackingAction::~StackingAction ( )
StackingAction::StackingAction ( )
StackingAction::~StackingAction ( )
StackingAction::StackingAction ( )
StackingAction::~StackingAction ( )
StackingAction::StackingAction ( )
virtual StackingAction::~StackingAction ( )
virtual
StackingAction::StackingAction ( )
virtual StackingAction::~StackingAction ( )
virtual
StackingAction::StackingAction ( )
StackingAction::~StackingAction ( )
StackingAction::StackingAction ( )
virtual StackingAction::~StackingAction ( )
inlinevirtual

Definition at line 49 of file StackingAction.hh.

StackingAction::StackingAction ( )
virtual StackingAction::~StackingAction ( )
inlinevirtual

Definition at line 49 of file StackingAction.hh.

StackingAction::StackingAction ( )
virtual StackingAction::~StackingAction ( )
inlinevirtual

Definition at line 49 of file StackingAction.hh.

StackingAction::StackingAction ( )
virtual StackingAction::~StackingAction ( )
virtual
StackingAction::StackingAction ( DetectorConstruction det)

Definition at line 48 of file StackingAction.cc.

References fEmCal, first, fKillTrack, fMatWall, fStackMessenger, and fZcav.

StackingAction::~StackingAction ( )

Member Function Documentation

G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track track)
virtual

Reimplemented from G4UserStackingAction.

Definition at line 53 of file StackingAction.cc.

References G4INCL::KinematicsUtils::energy(), fUrgent, G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4Track::GetParentID(), and G4ParticleDefinition::GetPDGCharge().

+ Here is the call graph for this function:

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

virtual G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track )
virtual

Reimplemented from G4UserStackingAction.

void StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

Definition at line 50 of file StackingAction.cc.

References G4cout, G4endl, G4StackManager::GetNTotalTrack(), G4DNAChemistryManager::Instance(), G4DNAChemistryManager::Run(), and G4UserStackingAction::stackManager.

+ Here is the call graph for this function:

virtual void StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

virtual void StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

virtual void StackingAction::NewStage ( )
virtual

Reimplemented from G4UserStackingAction.

void StackingAction::SetKill ( const G4String name)

Definition at line 107 of file StackingAction.cc.

References G4ParticleTable::FindParticle(), fParticle, and G4ParticleTable::GetParticleTable().

+ Here is the call graph for this function:

void StackingAction::SetKillAll ( G4bool  value)
inline

Definition at line 61 of file StackingAction.hh.

References fKillAll.

void StackingAction::SetKillEM ( G4bool  value)
inline

Definition at line 62 of file StackingAction.hh.

References fKillEM.

void StackingAction::SetKillStatus ( G4bool  value)
inline

Definition at line 51 of file StackingAction.hh.

References fKillSecondary.

void StackingAction::SetKillStatus ( G4int  value)
inline

Definition at line 51 of file StackingAction.hh.

References fKillSecondary.

Referenced by StackingMessenger::SetNewValue().

+ Here is the caller graph for this function:

virtual void StackingAction::SetKillStatus ( G4bool  value)
inlinevirtual

Definition at line 53 of file StackingAction.hh.

References fKillTrack.

void StackingAction::SetKillStatus ( G4bool  value)

Member Data Documentation

G4int StackingAction::fComptAuger
private

Definition at line 64 of file StackingAction.hh.

G4int StackingAction::fComptGamma
private

Definition at line 62 of file StackingAction.hh.

DetectorConstruction* StackingAction::fDetector
private

Definition at line 58 of file StackingAction.hh.

G4EmCalculator* StackingAction::fEmCal
private

Definition at line 63 of file StackingAction.hh.

Referenced by StackingAction().

EventAction* StackingAction::fEventaction
private

Definition at line 55 of file StackingAction.hh.

EventAction* StackingAction::fEventAction
private

Definition at line 56 of file StackingAction.hh.

HistoManager * StackingAction::fHistoManager
private

Definition at line 70 of file StackingAction.hh.

G4bool StackingAction::fIDdefined
private

Definition at line 67 of file StackingAction.hh.

G4bool StackingAction::first
private

Definition at line 64 of file StackingAction.hh.

Referenced by StackingAction().

G4bool StackingAction::fKillAll
private

Definition at line 71 of file StackingAction.hh.

Referenced by SetKillAll().

G4bool StackingAction::fKillEM
private

Definition at line 72 of file StackingAction.hh.

Referenced by SetKillEM().

G4bool StackingAction::fKillSecondary
private

Definition at line 57 of file StackingAction.hh.

G4bool StackingAction::fKillSecondary
private

Definition at line 58 of file StackingAction.hh.

Referenced by SetKillStatus().

G4bool StackingAction::fKillTrack
private

Definition at line 65 of file StackingAction.hh.

Referenced by SetKillStatus(), and StackingAction().

G4Material* StackingAction::fMatWall
private

Definition at line 61 of file StackingAction.hh.

Referenced by StackingAction().

const G4ParticleDefinition* StackingAction::fParticle
private

Definition at line 74 of file StackingAction.hh.

Referenced by SetKill().

G4int StackingAction::fPhotoAuger
private

Definition at line 63 of file StackingAction.hh.

G4int StackingAction::fPhotoGamma
private

Definition at line 61 of file StackingAction.hh.

G4int StackingAction::fPixeAuger
private

Definition at line 66 of file StackingAction.hh.

G4int StackingAction::fPixeGamma
private

Definition at line 65 of file StackingAction.hh.

RunAction* StackingAction::fRunaction
private

Definition at line 54 of file StackingAction.hh.

StackingMessenger * StackingAction::fStackMessenger
private

Definition at line 59 of file StackingAction.hh.

Referenced by StackingAction().

G4double StackingAction::fZcav
private

Definition at line 62 of file StackingAction.hh.

Referenced by StackingAction().


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