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 
26 // using trailing _ for private data members, m_p prefix for PSet variables (MSt)
27 
29 {
30  public:
31 
32 
35 
37  ~FamosManager();
38 
41 
43  // const HepMC::GenEvent* genEvent() const { return myGenEvent; };
44  // const reco::CandidateCollection*
45 
47  FSimEvent* simEvent() const { return mySimEvent; }
48 
50  void reconstruct(const HepMC::GenEvent* evt,
51  const reco::GenParticleCollection* particles,
52  const HepMC::GenEvent* pu);
53 
54  void reconstruct(const reco::GenParticleCollection* particles);
55 
58 
61 
62 
63  private:
64 
65  int iEvent;
66  // const HepMC::GenEvent* myGenEvent;
71 
72  private:
73 
75  bool m_Tracking;
78  double weight_;
81 
82  private:
83 
85 
86 };
87 
88 #endif
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
bool m_pUseMagneticField
Definition: FamosManager.h:74
double weight_
Definition: FamosManager.h:78
void setupGeometryAndField(edm::Run &run, const edm::EventSetup &es)
Get information from the Event Setup.
~FamosManager()
Destructor.
FSimEvent * mySimEvent
Definition: FamosManager.h:67
void reconstruct(const HepMC::GenEvent *evt, const reco::GenParticleCollection *particles, const HepMC::GenEvent *pu)
The real thing is done here.
bool m_Alignment
Definition: FamosManager.h:77
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:68
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:70
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:48
bool m_Calorimetry
Definition: FamosManager.h:76
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition: FamosManager.h:60
PileUpSimulator * myPileUpSimulator
Definition: FamosManager.h:69
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:57
FSimEvent * simEvent() const
The generated event.
Definition: FamosManager.h:47
Definition: Run.h:33
const RandomEngine * random
Definition: FamosManager.h:84