EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eASTActionInitialization.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file eASTActionInitialization.hh
1 // ********************************************************************
2 //
3 // eASTActionInitialization.hh
4 // Action initialization class
5 //
6 // History
7 // May 8th, 2021 : first implementation - Makoto Asai (SLAC)
8 //
9 // ********************************************************************
10 
11 #ifndef eASTActionInitialization_h
12 #define eASTActionInitialization_h 1
13 
14 #include "G4VUserActionInitialization.hh"
15 
16 #include "eASTAnalysis.hh"
17 #include "G4TScoreHistFiller.hh"
18 #include "G4Types.hh"
19 
20 class G4GenericMessenger;
21 
22 class eASTActionInitialization : public G4VUserActionInitialization
23 {
24  public:
26  virtual ~eASTActionInitialization();
27 
28  virtual void BuildForMaster() const;
29  virtual void Build() const;
30 
31  private:
32  G4TScoreHistFiller<G4AnalysisManager>* filler;
33  G4GenericMessenger* generatorMsg;
34  G4bool useParticleGun = false;
35  G4bool useParticleSource = true;
36  G4bool useHepMC3Interface = false;
37 };
38 
39 #endif
40 
41