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
}
// namespace edm
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
public
:
32
FamosManager
(
edm::ParameterSet
const
&
p
);
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
47
TrajectoryManager
*
trackerManager
()
const
{
return
myTrajectoryManager
; }
48
50
CalorimetryManager
*
calorimetryManager
()
const
{
return
myCalorimetry
; }
51
52
private
:
53
int
iEvent
;
54
// const HepMC::GenEvent* myGenEvent;
55
FSimEvent
*
mySimEvent
;
56
TrajectoryManager
*
myTrajectoryManager
;
57
CalorimetryManager
*
myCalorimetry
;
58
59
private
:
60
bool
m_pUseMagneticField
;
61
bool
m_Tracking
;
62
bool
m_Calorimetry
;
63
bool
m_Alignment
;
64
double
weight_
;
65
int
m_pRunNumber
;
66
int
m_pVerbose
;
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
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
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
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
Generated for CMSSW Reference Manual by
1.8.16