1 #ifndef _UnderGrdInjectorAG_UnderGrdInjector_h_
2 #define _UnderGrdInjectorAG_UnderGrdInjector_h_
4 #include <fwk/VModule.h>
5 #include <utl/TimeDistribution.h>
7 #include <mdet/MDetector.h>
8 #include <mdet/Counter.h>
9 #include <mevt/MEvent.h>
11 #include <evt/Event.h>
18 namespace UnderGrdInjectorAG {
30 {
fW = w;
fL = l;
fH = h; }
35 { l =
fL; w =
fW; h =
fH; }
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
bool IsChargedParticle(mevt::ScintillatorSimData::ParticleIterator pIt)
Actual muon-sensitive objects.
boost::indirect_iterator< InternalParticleIterator, utl::Particle & > ParticleIterator
int GetTriggerTimeFromSD(evt::Event &event, const mdet::Counter &cmDet, double &T1)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
REGISTER_MODULE("UnderGrdInjectorAG", UnderGrdInjector)
static const double kTriggerDelay
Root detector of the muon detector hierarchy.
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
ResultFlag
Flag returned by module methods to the RunController.
void GetDimensions(double &l, double &w, double &h)
void Box(const mdet::Scintillator &, double w, double l, double h)
bool IsNeutrino(mevt::ScintillatorSimData::ParticleIterator pIt)
class that handles Geant4 underground propagation for AMIGA muon Counters
virtual ~UnderGrdInjector()