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