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

#include <FFActionInitialization.hh>

Inheritance diagram for FFActionInitialization:
Collaboration diagram for FFActionInitialization:

Public Member Functions

 FFActionInitialization ()
 
virtual void BuildForMaster () const
 
virtual void Build () const
 
virtual ~FFActionInitialization ()
 
- 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

Definition at line 49 of file FFActionInitialization.hh.

Constructor & Destructor Documentation

FFActionInitialization::FFActionInitialization ( )

Definition at line 52 of file FFActionInitialization.cc.

54  fMasterRunAction(new FFRunAction())
55 {
56  // Nothing here
57 }
FFActionInitialization::~FFActionInitialization ( )
virtual

Definition at line 88 of file FFActionInitialization.cc.

89 {
90  // Nothing here
91 }

Member Function Documentation

void FFActionInitialization::Build ( void  ) const
virtual

Implements G4VUserActionInitialization.

Definition at line 61 of file FFActionInitialization.cc.

62 {
63  FFRunAction* runAction;
64 #ifdef G4MULTITHREADED
65  runAction = new FFRunAction();
66 #else
67  runAction = fMasterRunAction;
68 #endif // G4MULTITHREADED
69 
70  SetUserAction(runAction);
72 
73  //FFEventAction* eventAction = new FFEventAction();
74  //SetUserAction(eventAction);
75 
76  //SetUserAction(new FFSteppingAction(eventAction));
77 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:

void FFActionInitialization::BuildForMaster ( void  ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 81 of file FFActionInitialization.cc.

82 {
83  SetUserAction(fMasterRunAction);
84 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:


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