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>
8 
9 namespace HepMC {
10  class GenEvent;
11 }
12 
13 namespace edm {
14  class ParameterSet;
15  class EventSetup;
16  class Run;
17  class HepMCProduct;
18 }
19 
20 class FSimEvent;
21 class TrajectoryManager;
22 class PileUpSimulator;
23 class MagneticField;
24 class CalorimetryManager;
26 class TrackerTopology;
27 
28 // using trailing _ for private data members, m_p prefix for PSet variables (MSt)
29 
31 {
32  public:
33 
34 
37 
39  ~FamosManager();
40 
42  void setupGeometryAndField(edm::Run const& run, const edm::EventSetup & es);
43 
45  // const HepMC::GenEvent* genEvent() const { return myGenEvent; };
46  // const reco::CandidateCollection*
47 
49  FSimEvent* simEvent() const { return mySimEvent; }
50 
52  void reconstruct(const HepMC::GenEvent* evt,
53  const reco::GenParticleCollection* particles,
54  const HepMC::GenEvent* pu,
55  const TrackerTopology *tTopo,
57 
58  void reconstruct(const reco::GenParticleCollection* particles,
59  const TrackerTopology *tTopo,
61 
64 
67 
68 
69  private:
70 
71  int iEvent;
72  // const HepMC::GenEvent* myGenEvent;
77 
78  private:
79 
81  bool m_Tracking;
84  double weight_;
87 };
88 #endif
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
bool m_pUseMagneticField
Definition: FamosManager.h:80
double weight_
Definition: FamosManager.h:84
~FamosManager()
Destructor.
Definition: FamosManager.cc:82
FSimEvent * mySimEvent
Definition: FamosManager.h:73
bool m_Alignment
Definition: FamosManager.h:83
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:74
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:76
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:46
bool m_Calorimetry
Definition: FamosManager.h:82
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:66
PileUpSimulator * myPileUpSimulator
Definition: FamosManager.h:75
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:63
FSimEvent * simEvent() const
The generated event.
Definition: FamosManager.h:49
void setupGeometryAndField(edm::Run const &run, const edm::EventSetup &es)
Get information from the Event Setup.
Definition: FamosManager.cc:91
Definition: Run.h:41