ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Par02ActionInitialization Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/parameterisations/Par02/include/Par02ActionInitialization.hh>

+ Inheritance diagram for Par02ActionInitialization:
+ Collaboration diagram for Par02ActionInitialization:

Public Member Functions

 Par02ActionInitialization ()
 
 Par02ActionInitialization (const G4String aOutName)
 
 Par02ActionInitialization (const G4String aOutName, const G4String aSmear)
 
virtual ~Par02ActionInitialization ()
 
virtual void BuildForMaster () const
 
virtual void Build () const
 
- Public Member Functions inherited from G4VUserActionInitialization
 G4VUserActionInitialization ()
 
virtual ~G4VUserActionInitialization ()
 
virtual G4VSteppingVerboseInitializeSteppingVerbose () const
 

Private Attributes

G4String fFileName
 An output file name. Passed in Build() to the Par02RunAction.
 
G4bool fSmear
 

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

Actions initialization.

Initialization of all user defined actions as well as mandatory particle generator. Based on G4 examples/extended/parametrisations/Par01/include/ Par01ActionInitialization.hh .

Author
Anna Zaborowska

Definition at line 44 of file Par02ActionInitialization.hh.

View newest version in sPHENIX GitHub at line 44 of file Par02ActionInitialization.hh

Constructor & Destructor Documentation

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 39 of file Par02ActionInitialization.cc.

View newest version in sPHENIX GitHub at line 39 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.

Parameters
aOutNameThe output file name passed to Par02RunAction.

Definition at line 51 of file Par02ActionInitialization.cc.

View newest version in sPHENIX GitHub at line 51 of file Par02ActionInitialization.cc

Par02ActionInitialization::Par02ActionInitialization ( const G4String  aOutName,
const G4String  aSmear 
)

A constructor.

Parameters
aOutNameThe output file name passed to Par02RunAction.
aSmearThe flag indicating if smearing should be done, passed to Par02EventAction.

Definition at line 44 of file Par02ActionInitialization.cc.

View newest version in sPHENIX GitHub at line 44 of file Par02ActionInitialization.cc

Par02ActionInitialization::~Par02ActionInitialization ( )
virtual

Definition at line 56 of file Par02ActionInitialization.cc.

View newest version in sPHENIX GitHub at line 56 of file Par02ActionInitialization.cc

Member Function Documentation

void Par02ActionInitialization::Build ( void  ) const
virtual

A method where all the user actions are created. One of them, Par02PrimaryGeneratorAction is a mandatory class.

Implements G4VUserActionInitialization.

Definition at line 66 of file Par02ActionInitialization.cc.

View newest version in sPHENIX GitHub at line 66 of file Par02ActionInitialization.cc

References fFileName, fSmear, and G4VUserActionInitialization::SetUserAction().

+ Here is the call graph for this function:

void Par02ActionInitialization::BuildForMaster ( void  ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 60 of file Par02ActionInitialization.cc.

View newest version in sPHENIX GitHub at line 60 of file Par02ActionInitialization.cc

References fFileName, and G4VUserActionInitialization::SetUserAction().

+ Here is the call graph for this function:

Member Data Documentation

G4String Par02ActionInitialization::fFileName
private

An output file name. Passed in Build() to the Par02RunAction.

Definition at line 74 of file Par02ActionInitialization.hh.

View newest version in sPHENIX GitHub at line 74 of file Par02ActionInitialization.hh

Referenced by Build(), and BuildForMaster().

G4bool Par02ActionInitialization::fSmear
private

A flag indicating if smearing should be performed. Passed in Build() to the Par02EventAction.

Definition at line 78 of file Par02ActionInitialization.hh.

View newest version in sPHENIX GitHub at line 78 of file Par02ActionInitialization.hh

Referenced by Build().


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