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 HepMC::GenEvent* pu,
50  const TrackerTopology *tTopo,
52 
55 
58 
59 
60  private:
61 
62  int iEvent;
63  // const HepMC::GenEvent* myGenEvent;
68 
69  private:
70 
72  bool m_Tracking;
75  double weight_;
78 };
79 #endif
bool m_pUseMagneticField
Definition: FamosManager.h:71
double weight_
Definition: FamosManager.h:75
~FamosManager()
Destructor.
Definition: FamosManager.cc:82
FSimEvent * mySimEvent
Definition: FamosManager.h:64
bool m_Alignment
Definition: FamosManager.h:74
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:65
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:67
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:47
bool m_Calorimetry
Definition: FamosManager.h:73
void reconstruct(const HepMC::GenEvent *evt, const HepMC::GenEvent *pu, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
The real thing is done here.
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition: FamosManager.h:57
PileUpSimulator * myPileUpSimulator
Definition: FamosManager.h:66
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:54
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:91
Definition: Run.h:41