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

#include <TSActionInitialization.hh>

Inheritance diagram for TSActionInitialization:
Collaboration diagram for TSActionInitialization:

Public Member Functions

 TSActionInitialization ()
 
virtual ~TSActionInitialization ()
 
virtual void BuildForMaster () const
 
virtual void Build () const
 
- Public Member Functions inherited from G4VUserActionInitialization
 G4VUserActionInitialization ()
 
virtual ~G4VUserActionInitialization ()
 
virtual G4VSteppingVerboseInitializeSteppingVerbose () const
 

Static Public Member Functions

static TSActionInitializationInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserActionInitialization
void SetUserAction (G4VUserPrimaryGeneratorAction *) const
 
void SetUserAction (G4UserRunAction *) const
 
void SetUserAction (G4UserEventAction *) const
 
void SetUserAction (G4UserStackingAction *) const
 
void SetUserAction (G4UserTrackingAction *) const
 
void SetUserAction (G4UserSteppingAction *) const
 

Detailed Description

Standard ActionInitialization class creating a RunAction instance for the master thread and RunAction and PrimaryGeneratorAction instances for the worker threads

Definition at line 53 of file TSActionInitialization.hh.

Constructor & Destructor Documentation

TSActionInitialization::TSActionInitialization ( )

Definition at line 62 of file TSActionInitialization.cc.

63 {
64  fgInstance = this;
65 }
TSActionInitialization::~TSActionInitialization ( )
virtual

Definition at line 69 of file TSActionInitialization.cc.

70 {
71  fgInstance = 0;
72 }

Member Function Documentation

void TSActionInitialization::Build ( void  ) const
virtual

Implements G4VUserActionInitialization.

Definition at line 83 of file TSActionInitialization.cc.

Here is the call graph for this function:

void TSActionInitialization::BuildForMaster ( void  ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 76 of file TSActionInitialization.cc.

77 {
79 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:

TSActionInitialization * TSActionInitialization::Instance ( void  )
static

Definition at line 55 of file TSActionInitialization.cc.

56 {
57  return fgInstance;
58 }

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