1 #ifndef _G4TankSimulatorOG_G4TankSimulator_h_
2 #define _G4TankSimulatorOG_G4TankSimulator_h_
6 #include <fwk/VModule.h>
8 #include <utl/TimeDistribution.h>
10 #include <sevt/SEvent.h>
11 #include <sevt/StationSimData.h>
21 namespace G4TankSimulatorOG {
29 class G4TankStackingAction;
60 void AddPhoton(
const int nPMT,
const double peTime)
const;
static sevt::SEvent::StationIterator GetCurrentEventStationIt()
virtual ~G4TankSimulator()
Detector description interface for Station-related data.
static const sdet::Station * fCurrentDetectorStation
void AddPhoton(const int nPMT, const double peTime) const
std::map< int, double > AccumulatedWeights
REGISTER_MODULE("G4TankSimulatorOG", G4TankSimulator)
static sevt::StationSimData::ParticleIterator GetCurrentParticleIt()
class that handles PMT hits
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
void ConstructTraces(sevt::Station &station) const
G4TankConstruction * fgTankConstruction
class that passes particles to Geant4 particle gun
ParticleVector::iterator ParticleIterator
G4RunManager * fRunManager
class to hold data at Station level
static sevt::SEvent::StationIterator fCurrentEventStationIt
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
G4VisManager * fVisManager
G4TankStackingAction * fStackingAction
class that handles Geant4 SD simulation
fwk::VModule::ResultFlag RunFull(evt::Event &theEvent)
ResultFlag
Flag returned by module methods to the RunController.
static const sdet::Station * GetCurrentDetectorStation()
Geant4 Stacking user action class.
SignalSeparationMode fSignalSeparationMode
bool fDetectorConstructed
static sevt::StationSimData::ParticleIterator fCurrentParticleIt
boost::indirect_iterator< InternalStationIterator, Station & > StationIterator
Iterator over all stations.
fwk::VModule::ResultFlag RunFast(evt::Event &theEvent)
fwk::VModule::ResultFlag Run(evt::Event &theEvent)
Run: invoked once per event.
static bool MuCaptureOn()
bool fUseGlobalPhysicsList
class that declares and registers the Geant4 physics classes