Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FastSimulation
EventProducer
interface
FamosManager.h
Go to the documentation of this file.
1
#ifndef FastSimulation_EventProducer_FamosManager_H
2
#define FastSimulation_EventProducer_FamosManager_H
3
4
#include "
DataFormats/HepMCCandidate/interface/GenParticleFwd.h
"
5
#include "
SimDataFormats/CrossingFrame/interface/CrossingFrame.h
"
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
RandomEngineAndDistribution
;
25
class
TrackerTopology
;
26
27
// using trailing _ for private data members, m_p prefix for PSet variables (MSt)
28
29
class
FamosManager
30
{
31
public
:
32
33
35
FamosManager
(
edm::ParameterSet
const
&
p
);
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
RandomEngineAndDistribution
const
*);
56
57
void
reconstruct
(
const
reco::GenParticleCollection
* particles,
58
const
TrackerTopology
*tTopo,
59
RandomEngineAndDistribution
const
*);
60
62
TrajectoryManager
*
trackerManager
()
const
{
return
myTrajectoryManager
;}
63
65
CalorimetryManager
*
calorimetryManager
()
const
{
return
myCalorimetry
;}
66
67
68
private
:
69
70
int
iEvent
;
71
// const HepMC::GenEvent* myGenEvent;
72
FSimEvent
*
mySimEvent
;
73
TrajectoryManager
*
myTrajectoryManager
;
74
PileUpSimulator
*
myPileUpSimulator
;
75
CalorimetryManager
*
myCalorimetry
;
76
77
private
:
78
79
bool
m_pUseMagneticField
;
80
bool
m_Tracking
;
81
bool
m_Calorimetry
;
82
bool
m_Alignment
;
83
double
weight_
;
84
int
m_pRunNumber
;
85
int
m_pVerbose
;
86
};
87
#endif
reco::GenParticleCollection
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Definition:
GenParticleFwd.h:10
FamosManager::m_pUseMagneticField
bool m_pUseMagneticField
Definition:
FamosManager.h:79
FamosManager::weight_
double weight_
Definition:
FamosManager.h:83
FamosManager::~FamosManager
~FamosManager()
Destructor.
Definition:
FamosManager.cc:82
FamosManager::mySimEvent
FSimEvent * mySimEvent
Definition:
FamosManager.h:72
FamosManager::m_Alignment
bool m_Alignment
Definition:
FamosManager.h:82
ParameterSet
Definition:
Functions.h:16
CrossingFrame.h
TrackerTopology
Definition:
TrackerTopology.h:18
MagneticField
Definition:
MagneticField.h:17
FamosManager::myTrajectoryManager
TrajectoryManager * myTrajectoryManager
Definition:
FamosManager.h:73
TrajectoryManager
Definition:
TrajectoryManager.h:60
CalorimetryManager
Definition:
CalorimetryManager.h:44
FamosManager::m_pRunNumber
int m_pRunNumber
Definition:
FamosManager.h:84
EventSetup
FamosManager::m_Tracking
bool m_Tracking
Definition:
FamosManager.h:80
FamosManager::iEvent
int iEvent
Definition:
FamosManager.h:70
FamosManager::myCalorimetry
CalorimetryManager * myCalorimetry
Definition:
FamosManager.h:75
FamosManager::FamosManager
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition:
FamosManager.cc:46
HepMCProduct
FamosManager::m_pVerbose
int m_pVerbose
Definition:
FamosManager.h:85
FamosManager::m_Calorimetry
bool m_Calorimetry
Definition:
FamosManager.h:81
GenParticleFwd.h
edm::EventSetup
Definition:
EventSetup.h:44
DTTTrigCorrFirst.run
run
Definition:
DTTTrigCorrFirst.py:63
FamosManager::reconstruct
void reconstruct(const HepMC::GenEvent *evt, const reco::GenParticleCollection *particles, const HepMC::GenEvent *pu, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
The real thing is done here.
Definition:
FamosManager.cc:154
FamosManager::calorimetryManager
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition:
FamosManager.h:65
FamosManager
Definition:
FamosManager.h:29
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:35
FamosManager::myPileUpSimulator
PileUpSimulator * myPileUpSimulator
Definition:
FamosManager.h:74
PileUpSimulator
Definition:
PileUpSimulator.h:33
FamosManager::trackerManager
TrajectoryManager * trackerManager() const
The tracker.
Definition:
FamosManager.h:62
FSimEvent
Definition:
FSimEvent.h:31
FamosManager::simEvent
FSimEvent * simEvent() const
The generated event.
Definition:
FamosManager.h:48
FamosManager::setupGeometryAndField
void setupGeometryAndField(edm::Run const &run, const edm::EventSetup &es)
Get information from the Event Setup.
Definition:
FamosManager.cc:91
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
Run
edm::Run
Definition:
Run.h:41
Generated for CMSSW Reference Manual by
1.8.5