43 using namespace HepMC;
48 m_pUseMagneticField(p.getParameter<
bool>(
"UseMagneticField")),
49 m_Tracking(p.getParameter<
bool>(
"SimulateTracking")),
50 m_Calorimetry(p.getParameter<
bool>(
"SimulateCalorimetry")),
51 m_Alignment(p.getParameter<
bool>(
"ApplyAlignment")),
52 m_pRunNumber(p.getUntrackedParameter<
int>(
"RunNumber",1)),
53 m_pVerbose(p.getUntrackedParameter<
int>(
"Verbosity",1))
110 double bField000 = 0.;
115 bField000 = theMagneticFieldMap->
inTeslaZ(g);
117 &(*theTrackerInteractionGeometry),
118 &(*theMagneticFieldMap));
121 &(*theTrackerInteractionGeometry),
170 <<
" vertices, generated by " void reconstruct(const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
Does the real job.
T getParameter(std::string const &) const
void reconstruct(const HepMC::GenEvent *evt, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
The real thing is done here.
void initializeTrackerGeometry(const TrackerGeometry *geomTracker)
Initialize the full Tracker Geometry.
double inTeslaZ(const GlobalPoint &) const
~FamosManager()
Destructor.
void setupTopology(const CaloTopology &)
void initializeRecoGeometry(const GeometricSearchTracker *geomSearchTracker, const TrackerInteractionGeometry *interactionGeometry, const MagneticFieldMap *aFieldMap)
Initialize the Reconstruction Geometry.
void fill(const HepMC::GenEvent &hev, edm::EventID &Id)
fill the FBaseSimEvent from the current HepMC::GenEvent
CaloGeometryHelper * getCalorimeter() const
TrajectoryManager * myTrajectoryManager
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
bool getData(T &iHolder) const
void reconstruct(RandomEngineAndDistribution const *)
FastHFShowerLibrary * getHFShowerLibrary() const
CalorimetryManager * myCalorimetry
FamosManager(edm::ParameterSet const &p)
Constructor.
unsigned int nTracks() const
Number of tracks.
void setupGeometry(const CaloGeometry &pG)
unsigned int nGenParts() const
Number of MC particles.
unsigned int nVertices() const
Number of vertices.
float weight() const
Method to return the event weight.
void initializePdt(const HepPDT::ParticleDataTable *aPdt)
Initialize the particle data table.
void const initHFShowerLibrary(const edm::EventSetup &)
void initialize(double bField)
void setupGeometryAndField(edm::Run const &run, const edm::EventSetup &es)
Get information from the Event Setup.