CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FamosManager.h
Go to the documentation of this file.
1 #ifndef FastSimulation_EventProducer_FamosManager_H
2 #define FastSimulation_EventProducer_FamosManager_H
3 
6 #include <string>
7 
8 namespace HepMC {
9  class GenEvent;
10 }
11 
12 namespace edm {
13  class ParameterSet;
14  class EventSetup;
15  class Run;
16  class HepMCProduct;
17 }
18 
19 class FSimEvent;
20 class TrajectoryManager;
21 class PileUpSimulator;
22 class MagneticField;
23 class CalorimetryManager;
25 class TrackerTopology;
26 
27 // using trailing _ for private data members, m_p prefix for PSet variables (MSt)
28 
30 {
31  public:
32 
33 
36 
38  ~FamosManager();
39 
41  void setupGeometryAndField(edm::Run const& run, const edm::EventSetup & es);
42 
44  // const HepMC::GenEvent* genEvent() const { return myGenEvent; };
45  // const reco::CandidateCollection*
46 
48  FSimEvent* simEvent() const { return mySimEvent; }
49 
51  void reconstruct(const HepMC::GenEvent* evt,
52  const reco::GenParticleCollection* particles,
53  const HepMC::GenEvent* pu,
54  const TrackerTopology *tTopo,
56 
57  void reconstruct(const reco::GenParticleCollection* particles,
58  const TrackerTopology *tTopo,
60 
63 
66 
67 
68  private:
69 
70  int iEvent;
71  // const HepMC::GenEvent* myGenEvent;
76 
77  private:
78 
80  bool m_Tracking;
83  double weight_;
86 };
87 #endif
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
bool m_pUseMagneticField
Definition: FamosManager.h:79
double weight_
Definition: FamosManager.h:83
~FamosManager()
Destructor.
Definition: FamosManager.cc:82
FSimEvent * mySimEvent
Definition: FamosManager.h:72
bool m_Alignment
Definition: FamosManager.h:82
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:73
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:75
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:46
bool m_Calorimetry
Definition: FamosManager.h:81
void reconstruct(const HepMC::GenEvent *evt, const reco::GenParticleCollection *particles, const HepMC::GenEvent *pu, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
The real thing is done here.
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition: FamosManager.h:65
PileUpSimulator * myPileUpSimulator
Definition: FamosManager.h:74
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:62
FSimEvent * simEvent() const
The generated event.
Definition: FamosManager.h:48
void setupGeometryAndField(edm::Run const &run, const edm::EventSetup &es)
Get information from the Event Setup.
Definition: FamosManager.cc:91
Definition: Run.h:41