CMS 3D CMS Logo

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 } // namespace edm
18 
19 class FSimEvent;
20 class TrajectoryManager;
21 class PileUpSimulator;
22 class MagneticField;
23 class CalorimetryManager;
25 class TrackerTopology;
26 
27 // using trailing _ for private data members, m_p prefix for PSet variables (MSt)
28 
29 class FamosManager {
30 public:
33 
35  ~FamosManager();
36 
38  void setupGeometryAndField(edm::Run const& run, const edm::EventSetup& es);
39 
41  FSimEvent* simEvent() const { return mySimEvent; }
42 
44  void reconstruct(const HepMC::GenEvent* evt, const TrackerTopology* tTopo, RandomEngineAndDistribution const*);
45 
48 
51 
52 private:
53  int iEvent;
54  // const HepMC::GenEvent* myGenEvent;
58 
59 private:
61  bool m_Tracking;
64  double weight_;
67 };
68 #endif
FSimEvent
Definition: FSimEvent.h:29
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackerTopology
Definition: TrackerTopology.h:16
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CrossingFrame.h
FamosManager::m_Alignment
bool m_Alignment
Definition: FamosManager.h:63
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
FamosManager::FamosManager
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition: FamosManager.cc:45
FamosManager::m_Tracking
bool m_Tracking
Definition: FamosManager.h:61
FamosManager::trackerManager
TrajectoryManager * trackerManager() const
The tracker.
Definition: FamosManager.h:47
FamosManager::mySimEvent
FSimEvent * mySimEvent
Definition: FamosManager.h:55
FamosManager::simEvent
FSimEvent * simEvent() const
The simulated event.
Definition: FamosManager.h:41
GenParticleFwd.h
FamosManager::calorimetryManager
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition: FamosManager.h:50
FamosManager::myTrajectoryManager
TrajectoryManager * myTrajectoryManager
Definition: FamosManager.h:56
FamosManager::m_pRunNumber
int m_pRunNumber
Definition: FamosManager.h:65
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
CalorimetryManager
Definition: CalorimetryManager.h:44
FamosManager::m_pVerbose
int m_pVerbose
Definition: FamosManager.h:66
FamosManager::m_Calorimetry
bool m_Calorimetry
Definition: FamosManager.h:62
FamosManager
Definition: FamosManager.h:29
edm::EventSetup
Definition: EventSetup.h:58
FamosManager::iEvent
int iEvent
Definition: FamosManager.h:53
FamosManager::myCalorimetry
CalorimetryManager * myCalorimetry
Definition: FamosManager.h:57
FamosManager::setupGeometryAndField
void setupGeometryAndField(edm::Run const &run, const edm::EventSetup &es)
Get information from the Event Setup.
Definition: FamosManager.cc:81
writedatasetfile.run
run
Definition: writedatasetfile.py:27
FamosManager::m_pUseMagneticField
bool m_pUseMagneticField
Definition: FamosManager.h:60
HepMC
Definition: GenParticle.h:15
HepMCProduct
EventSetup
TrajectoryManager
Definition: TrajectoryManager.h:59
FamosManager::~FamosManager
~FamosManager()
Destructor.
Definition: FamosManager.cc:72
MagneticField
Definition: MagneticField.h:19
FamosManager::reconstruct
void reconstruct(const HepMC::GenEvent *evt, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
The real thing is done here.
Definition: FamosManager.cc:139
FamosManager::weight_
double weight_
Definition: FamosManager.h:64
RandomEngineAndDistribution
Definition: RandomEngineAndDistribution.h:18
Run