Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExExChStackingAction Class Reference

#include <ExExChStackingAction.hh>

Inheritance diagram for ExExChStackingAction:
Collaboration diagram for ExExChStackingAction:

Public Member Functions

 ExExChStackingAction ()
 
virtual ~ExExChStackingAction ()
 
void SetKillStatus (G4bool value)
 
G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 
- Public Member Functions inherited from G4UserStackingAction
 G4UserStackingAction ()
 
virtual ~G4UserStackingAction ()
 
void SetStackManager (G4StackManager *value)
 
virtual void NewStage ()
 
virtual void PrepareNewEvent ()
 

Additional Inherited Members

- Protected Attributes inherited from G4UserStackingAction
G4StackManagerstackManager
 

Detailed Description

Definition at line 43 of file ExExChStackingAction.hh.

Constructor & Destructor Documentation

ExExChStackingAction::ExExChStackingAction ( )

Definition at line 39 of file ExExChStackingAction.cc.

40 {
41  fStackMessenger = new ExExChStackingActionMessenger(this);
42  fKillSecondary = true;
43 }
ExExChStackingAction::~ExExChStackingAction ( )
virtual

Definition at line 47 of file ExExChStackingAction.cc.

48 {
49  delete fStackMessenger;
50 }

Member Function Documentation

G4ClassificationOfNewTrack ExExChStackingAction::ClassifyNewTrack ( const G4Track aTrack)
virtual

Reimplemented from G4UserStackingAction.

Definition at line 55 of file ExExChStackingAction.cc.

56 {
58 
59 
60  if(fKillSecondary){
61  if(aTrack->GetTrackID()>1){
62  status = fKill;
63  }
64  }
65  return status;
66 }
G4int GetTrackID() const

Here is the call graph for this function:

void ExExChStackingAction::SetKillStatus ( G4bool  value)

Definition at line 70 of file ExExChStackingAction.cc.

71 {
72  fKillSecondary = value;
73 }
const XML_Char int const XML_Char * value
Definition: expat.h:331

Here is the caller graph for this function:


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