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

#include <B4aActionInitialization.hh>

Inheritance diagram for B4aActionInitialization:
Collaboration diagram for B4aActionInitialization:

Public Member Functions

 B4aActionInitialization (B4DetectorConstruction *)
 
virtual ~B4aActionInitialization ()
 
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 41 of file B4aActionInitialization.hh.

Constructor & Destructor Documentation

B4aActionInitialization::B4aActionInitialization ( B4DetectorConstruction detConstruction)

Definition at line 41 of file B4aActionInitialization.cc.

43  fDetConstruction(detConstruction)
44 {}
B4aActionInitialization::~B4aActionInitialization ( )
virtual

Definition at line 48 of file B4aActionInitialization.cc.

49 {}

Member Function Documentation

void B4aActionInitialization::Build ( void  ) const
virtual

Implements G4VUserActionInitialization.

Definition at line 60 of file B4aActionInitialization.cc.

61 {
64  auto eventAction = new B4aEventAction;
65  SetUserAction(eventAction);
66  SetUserAction(new B4aSteppingAction(fDetConstruction,eventAction));
67 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:

void B4aActionInitialization::BuildForMaster ( void  ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 53 of file B4aActionInitialization.cc.

54 {
56 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:


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