MdEdepSimulator.h
Go to the documentation of this file.
1 #ifndef _EdepSimulatorAG_EdepSimulator_h_
2 #define _EdepSimulatorAG_EdepSimulator_h_
3 
4 #include <fwk/VModule.h>
5 #include <utl/TimeDistribution.h>
6 #include <utl/MessageLoggerConfig.h>
7 #include <utl/ConfigParameter.h>
8 #include <utl/UnitsConfig.h>
9 
10 #include <mdet/MDetector.h>
11 #include <mevt/MEvent.h>
12 
13 #include <globals.hh>
14 
15 #include <fstream>
16 
17 #include "SteppingAction.h"
18 class G4RunManager;
19 class G4UImanager;
20 class G4VisManager;
21 
22 namespace EdepSimulatorAG {
30  class SteppingAction;
31 
33  class EdepSimulator : public fwk::VModule {
34 
36  private:
39 
41  { return fCurrentEventScintillatorIt; }
42 
44  { return fCurrentParticleIt; }
45 
49 
50  public:
51  EdepSimulator();
53  virtual ~EdepSimulator();
54 
59  private:
60 
61  G4RunManager* fRunManager;
62  G4UImanager * fUImanager;
63  G4VisManager* fVisManager;
65 
67 
68  friend class PrimaryGenerator;
69 
70  bool fGeomVisOn;
71  bool fTrajVisOn;
74 
83 
84  REGISTER_MODULE("EdepSimulatorAG", EdepSimulator);
85 
86  };
87 
88 }
89 
90 #endif
static const mdet::Scintillator * GetCurrentDetectorScintillator()
Private members.
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Helper class for configuration of units: value and name.
Definition: UnitsConfig.h:22
static const mdet::Scintillator * fCurrentDetectorScintillator
Detector associated to muon detector hierarchy.
Definition: MDetector.h:32
fwk::VModule::ResultFlag Run(evt::Event &theEvent)
Run: invoked once per event.
Actual muon-sensitive objects.
utl::MessageLoggerConfig fLog
Output messages handler.
Wraps a message to logger (received as parameter or created here), its access and configuration...
boost::indirect_iterator< InternalParticleIterator, utl::Particle & > ParticleIterator
static mevt::ScintillatorSimData::ParticleIterator fCurrentParticleIt
G4 main simulator class.
void AddUpContributions(SteppingAction::ScintMap &)
Module interface.
Definition: VModule.h:53
utl::UnitsConfig fUnits
Units configuration.
static mevt::Module::ScintillatorIterator fCurrentEventScintillatorIt
G4RunManager * fRunManager
Private G4 members.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
static mevt::ScintillatorSimData::ParticleIterator GetCurrentParticleIt()
static mevt::Module::ScintillatorIterator GetCurrentEventScintillatorIt()
InternalScintillatorCollection::ComponentIterator ScintillatorIterator
REGISTER_MODULE("EdepSimulatorAG", EdepSimulator)

, generated on Tue Sep 26 2023.