Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-27 07:02:42

0001 // ********************************************************************
0002 //
0003 // eASTActionInitialization.hh  
0004 //   Action initialization class
0005 //
0006 // History
0007 //   May 8th, 2021 : first implementation - Makoto Asai (SLAC)
0008 //
0009 // ********************************************************************
0010 
0011 #ifndef eASTActionInitialization_h
0012 #define eASTActionInitialization_h 1
0013 
0014 #include "G4VUserActionInitialization.hh"
0015 
0016 #include "eASTAnalysis.hh"
0017 #include "G4TScoreHistFiller.hh"
0018 #include "G4Types.hh"
0019 
0020 class G4GenericMessenger;
0021 
0022 class eASTActionInitialization : public G4VUserActionInitialization
0023 {
0024   public:
0025     eASTActionInitialization();
0026     virtual ~eASTActionInitialization();
0027 
0028     virtual void BuildForMaster() const;
0029     virtual void Build() const;
0030 
0031   private:
0032     G4TScoreHistFiller<G4AnalysisManager>* filler;
0033     G4GenericMessenger* generatorMsg;
0034     G4bool useParticleGun = false;
0035     G4bool useParticleSource = true;
0036     G4bool useHepMC3Interface = false;
0037 };
0038 
0039 #endif
0040 
0041