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  FSimEvent* simEvent() const { return mySimEvent; }
46 
48  void reconstruct(const HepMC::GenEvent* evt,
49  const TrackerTopology *tTopo,
51 
54 
57 
58 
59  private:
60 
61  int iEvent;
62  // const HepMC::GenEvent* myGenEvent;
66 
67  private:
68 
70  bool m_Tracking;
73  double weight_;
76 };
77 #endif
bool m_pUseMagneticField
Definition: FamosManager.h:69
void reconstruct(const HepMC::GenEvent *evt, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
The real thing is done here.
double weight_
Definition: FamosManager.h:73
~FamosManager()
Destructor.
Definition: FamosManager.cc:77
FSimEvent * mySimEvent
Definition: FamosManager.h:63
bool m_Alignment
Definition: FamosManager.h:72
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:64
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:65
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:46
bool m_Calorimetry
Definition: FamosManager.h:71
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition: FamosManager.h:56
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:53
FSimEvent * simEvent() const
The simulated event.
Definition: FamosManager.h:45
void setupGeometryAndField(edm::Run const &run, const edm::EventSetup &es)
Get information from the Event Setup.
Definition: FamosManager.cc:85
Definition: Run.h:43