Geant4
10.03
|
Actions initialization. More...
#include <Par02ActionInitialization.hh>
Public Member Functions | |
Par02ActionInitialization () | |
A default constructor: sets the output file name fFileName (passed to Par02RunAction) to DefaultOutput.root as well as flag fSmear (passed to Par02EventAction) to true indicating that smearing will be performed. More... | |
Par02ActionInitialization (const G4String aOutName) | |
A constructor: sets the flag fSmear (passed to Par02EventAction) to true indicating that smearing will be performed. More... | |
Par02ActionInitialization (const G4String aOutName, const G4String aSmear) | |
A constructor. More... | |
virtual | ~Par02ActionInitialization () |
virtual void | BuildForMaster () const |
virtual void | Build () const |
A method where all the user actions are created. One of them, Par02PrimaryGeneratorAction is a mandatory class. More... | |
Public Member Functions inherited from G4VUserActionInitialization | |
G4VUserActionInitialization () | |
virtual | ~G4VUserActionInitialization () |
virtual G4VSteppingVerbose * | InitializeSteppingVerbose () const |
Private Attributes | |
G4String | fFileName |
An output file name. Passed in Build() to the Par02RunAction. More... | |
G4bool | fSmear |
A flag indicating if smearing should be performed. Passed in Build() to the Par02EventAction. More... | |
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 |
Actions initialization.
Initialization of all user defined actions as well as mandatory particle generator. Based on G4 examples/extended/parametrisations/Par01/include/ Par01ActionInitialization.hh .
Definition at line 45 of file Par02ActionInitialization.hh.
Par02ActionInitialization::Par02ActionInitialization | ( | ) |
A default constructor: sets the output file name fFileName (passed to Par02RunAction) to DefaultOutput.root as well as flag fSmear (passed to Par02EventAction) to true indicating that smearing will be performed.
Definition at line 40 of file Par02ActionInitialization.cc.
Par02ActionInitialization::Par02ActionInitialization | ( | const G4String | aOutName | ) |
A constructor: sets the flag fSmear (passed to Par02EventAction) to true indicating that smearing will be performed.
aOutName | The output file name passed to Par02RunAction. |
Definition at line 52 of file Par02ActionInitialization.cc.
Par02ActionInitialization::Par02ActionInitialization | ( | const G4String | aOutName, |
const G4String | aSmear | ||
) |
A constructor.
aOutName | The output file name passed to Par02RunAction. |
aSmear | The flag indicating if smearing should be done, passed to Par02EventAction. |
Definition at line 45 of file Par02ActionInitialization.cc.
|
virtual |
Definition at line 57 of file Par02ActionInitialization.cc.
|
virtual |
A method where all the user actions are created. One of them, Par02PrimaryGeneratorAction is a mandatory class.
Implements G4VUserActionInitialization.
Definition at line 67 of file Par02ActionInitialization.cc.
References fFileName, fSmear, and G4VUserActionInitialization::SetUserAction().
|
virtual |
Reimplemented from G4VUserActionInitialization.
Definition at line 61 of file Par02ActionInitialization.cc.
References fFileName, and G4VUserActionInitialization::SetUserAction().
|
private |
An output file name. Passed in Build() to the Par02RunAction.
Definition at line 75 of file Par02ActionInitialization.hh.
Referenced by Build(), and BuildForMaster().
|
private |
A flag indicating if smearing should be performed. Passed in Build() to the Par02EventAction.
Definition at line 79 of file Par02ActionInitialization.hh.
Referenced by Build().