1 #ifndef _G4XTankSimulatorAG_G4XTankSimulator_h_
2 #define _G4XTankSimulatorAG_G4XTankSimulator_h_
7 #include <fwk/VModule.h>
9 #include <utl/TimeDistribution.h>
11 #include <sevt/SEvent.h>
12 #include <sevt/StationSimData.h>
23 namespace G4XTankSimulatorAG {
27 class G4XTankStackingAction;
28 class G4XTankSteppingAction;
Geant4 Stacking user action class.
static sevt::StationConstants::SignalComponent GetCurrentComponent()
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Detector description interface for Station-related data.
std::map< int, double > AccumulatedWeights
virtual ~G4XTankSimulator()
bool fDetectorConstructed
static sevt::SEvent::StationIterator fCurrentEventStationIt
G4XTankSteppingAction * fSteppingAction
class that handles Geant4 SD simulation
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("G4XTankSimulatorAG", G4XTankSimulator)
G4RunManager * fRunManager
static sevt::StationSimData::ParticleIterator GetCurrentParticleIt()
G4VisManager * fVisManager
ParticleVector::iterator ParticleIterator
static const sdet::Station * GetCurrentDetectorStation()
class to hold data at Station level
Geant4 Stepping user action class.
ParticleVector::const_iterator ConstParticleIterator
static G4XTankPMT * fgPMTAction
static const sdet::Station * fCurrentDetectorStation
static bool MuCaptureOn()
fwk::VModule::ResultFlag RunFull(evt::Event &theEvent)
class that passes particles to Geant4 particle gun
class that handles PMT hits
void ConstructTraces(sevt::Station &station) const
ResultFlag
Flag returned by module methods to the RunController.
static sevt::SEvent::StationIterator GetCurrentEventStationIt()
fwk::VModule::ResultFlag Run(evt::Event &theEvent)
Run: invoked once per event.
static sevt::StationConstants::SignalComponent GetComponentId(const sevt::StationSimData::ConstParticleIterator currentParticle)
retrieve the station signal component from particle type
class that declares and registers the Geant4 physics classes
boost::indirect_iterator< InternalStationIterator, Station & > StationIterator
Iterator over all stations.
fwk::VModule::ResultFlag RunFast(evt::Event &theEvent)
G4XTankStackingAction * fStackingAction
static sevt::StationSimData::ParticleIterator fCurrentParticleIt
bool fUseGlobalPhysicsList
G4XTankConstruction * fgTankConstruction