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;
24 class RandomEngine;
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);
55 
56  void reconstruct(const reco::GenParticleCollection* particles,
57  const TrackerTopology *tTopo);
58 
61 
64 
65 
66  private:
67 
68  int iEvent;
69  // const HepMC::GenEvent* myGenEvent;
74 
75  private:
76 
78  bool m_Tracking;
81  double weight_;
84 
85  private:
86 
88 
89 };
90 
91 #endif
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
bool m_pUseMagneticField
Definition: FamosManager.h:77
double weight_
Definition: FamosManager.h:81
~FamosManager()
Destructor.
FSimEvent * mySimEvent
Definition: FamosManager.h:70
bool m_Alignment
Definition: FamosManager.h:80
void reconstruct(const HepMC::GenEvent *evt, const reco::GenParticleCollection *particles, const HepMC::GenEvent *pu, const TrackerTopology *tTopo)
The real thing is done here.
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:71
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:73
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:49
bool m_Calorimetry
Definition: FamosManager.h:79
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition: FamosManager.h:63
PileUpSimulator * myPileUpSimulator
Definition: FamosManager.h:72
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:60
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: Run.h:36
const RandomEngine * random
Definition: FamosManager.h:87