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

Action initialization class. More...

#include <B5ActionInitialization.hh>

Inheritance diagram for B5ActionInitialization:
Collaboration diagram for B5ActionInitialization:

Public Member Functions

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

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

Action initialization class.

Definition at line 38 of file B5ActionInitialization.hh.

Constructor & Destructor Documentation

B5ActionInitialization::B5ActionInitialization ( )
B5ActionInitialization::~B5ActionInitialization ( )
virtual

Definition at line 44 of file B5ActionInitialization.cc.

45 {}

Member Function Documentation

void B5ActionInitialization::Build ( void  ) const
virtual

Implements G4VUserActionInitialization.

Definition at line 57 of file B5ActionInitialization.cc.

58 {
60 
61  auto eventAction = new B5EventAction;
62  SetUserAction(eventAction);
63 
64  SetUserAction(new B5RunAction(eventAction));
65 }
Run action class.
Definition: B5RunAction.hh:43
Event action.
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:

void B5ActionInitialization::BuildForMaster ( void  ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 49 of file B5ActionInitialization.cc.

50 {
51  B5EventAction* eventAction = new B5EventAction;
52  SetUserAction(new B5RunAction(eventAction));
53 }
Run action class.
Definition: B5RunAction.hh:43
Event action.
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:


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