Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#include "
FastSimulation/Particle/interface/ParticleTable.h
"
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
;
25
class
RandomEngineAndDistribution
;
26
class
TrackerTopology
;
27
28
// using trailing _ for private data members, m_p prefix for PSet variables (MSt)
29
30
class
FamosManager
31
{
32
public
:
33
34
36
FamosManager
(
edm::ParameterSet
const
&
p
);
37
39
~FamosManager
();
40
42
void
setupGeometryAndField
(
edm::Run
const
&
run
,
const
edm::EventSetup
& es);
43
45
// const HepMC::GenEvent* genEvent() const { return myGenEvent; };
46
// const reco::CandidateCollection*
47
49
FSimEvent
*
simEvent
()
const
{
return
mySimEvent
; }
50
52
void
reconstruct
(
const
HepMC::GenEvent* evt,
53
const
reco::GenParticleCollection
* particles,
54
const
HepMC::GenEvent* pu,
55
const
TrackerTopology
*tTopo,
56
RandomEngineAndDistribution
const
*);
57
58
void
reconstruct
(
const
reco::GenParticleCollection
* particles,
59
const
TrackerTopology
*tTopo,
60
RandomEngineAndDistribution
const
*);
61
63
TrajectoryManager
*
trackerManager
()
const
{
return
myTrajectoryManager
;}
64
66
CalorimetryManager
*
calorimetryManager
()
const
{
return
myCalorimetry
;}
67
68
69
private
:
70
71
int
iEvent
;
72
// const HepMC::GenEvent* myGenEvent;
73
FSimEvent
*
mySimEvent
;
74
TrajectoryManager
*
myTrajectoryManager
;
75
PileUpSimulator
*
myPileUpSimulator
;
76
CalorimetryManager
*
myCalorimetry
;
77
78
private
:
79
80
bool
m_pUseMagneticField
;
81
bool
m_Tracking
;
82
bool
m_Calorimetry
;
83
bool
m_Alignment
;
84
double
weight_
;
85
int
m_pRunNumber
;
86
int
m_pVerbose
;
87
};
88
#endif
reco::GenParticleCollection
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Definition:
GenParticleFwd.h:10
FamosManager::m_pUseMagneticField
bool m_pUseMagneticField
Definition:
FamosManager.h:80
FamosManager::weight_
double weight_
Definition:
FamosManager.h:84
FamosManager::~FamosManager
~FamosManager()
Destructor.
Definition:
FamosManager.cc:82
FamosManager::mySimEvent
FSimEvent * mySimEvent
Definition:
FamosManager.h:73
FamosManager::m_Alignment
bool m_Alignment
Definition:
FamosManager.h:83
ParameterSet
Definition:
Functions.h:16
CrossingFrame.h
TrackerTopology
Definition:
TrackerTopology.h:18
MagneticField
Definition:
MagneticField.h:17
FamosManager::myTrajectoryManager
TrajectoryManager * myTrajectoryManager
Definition:
FamosManager.h:74
TrajectoryManager
Definition:
TrajectoryManager.h:59
CalorimetryManager
Definition:
CalorimetryManager.h:44
FamosManager::m_pRunNumber
int m_pRunNumber
Definition:
FamosManager.h:85
EventSetup
FamosManager::m_Tracking
bool m_Tracking
Definition:
FamosManager.h:81
FamosManager::iEvent
int iEvent
Definition:
FamosManager.h:71
FamosManager::myCalorimetry
CalorimetryManager * myCalorimetry
Definition:
FamosManager.h:76
FamosManager::FamosManager
FamosManager(edm::ParameterSet const &p)
Constructor.
Definition:
FamosManager.cc:47
HepMCProduct
FamosManager::m_pVerbose
int m_pVerbose
Definition:
FamosManager.h:86
FamosManager::m_Calorimetry
bool m_Calorimetry
Definition:
FamosManager.h:82
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:155
FamosManager::calorimetryManager
CalorimetryManager * calorimetryManager() const
The calorimeter.
Definition:
FamosManager.h:66
FamosManager
Definition:
FamosManager.h:30
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:35
FamosManager::myPileUpSimulator
PileUpSimulator * myPileUpSimulator
Definition:
FamosManager.h:75
PileUpSimulator
Definition:
PileUpSimulator.h:33
FamosManager::trackerManager
TrajectoryManager * trackerManager() const
The tracker.
Definition:
FamosManager.h:63
FSimEvent
Definition:
FSimEvent.h:29
FamosManager::simEvent
FSimEvent * simEvent() const
The generated event.
Definition:
FamosManager.h:49
ParticleTable.h
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