Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
MuonAnalysis
MomentumScaleCalibration
plugins
MuScleFitPlotter.h
Go to the documentation of this file.
1
#ifndef MuScleFitPlotter_H
2
#define MuScleFitPlotter_H
3
11
// #include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h"
12
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
13
#include "
DataFormats/HepMCCandidate/interface/GenParticleFwd.h
"
14
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
15
#include "
Histograms.h
"
16
#include "
MuonAnalysis/MomentumScaleCalibration/interface/Muon.h
"
17
18
namespace
edm
{
19
class
ParameterSet
;
20
class
Event
;
21
class
EventSetup
;
22
}
// namespace edm
23
24
class
TFile;
25
class
LeafCandidate;
26
27
class
MuScleFitPlotter
{
28
public
:
29
// Constructor
30
// -----------
31
MuScleFitPlotter
(
std::string
);
32
33
// Destructor
34
// ----------
35
virtual
~MuScleFitPlotter
();
36
37
// Operations
38
// ----------
39
void
fillGen
(
const
reco::GenParticleCollection
&
genParticles
,
bool
=
false
);
40
void
fillGen
(
const
edm::HepMCProduct
& evtMC,
bool
sherpaFlag_);
41
void
fillSim
(
edm::Handle<edm::SimTrackContainer>
simTracks
);
42
void
fillGenSim
(
edm::Handle<edm::HepMCProduct>
evtMC,
edm::Handle<edm::SimTrackContainer>
simTracks
);
43
//void fillRec(std::vector<reco::LeafCandidate>& muons);
44
void
fillRec
(std::vector<MuScleFitMuon>&
muons
);
45
46
// Root tree specific
47
void
fillTreeRec
(
48
const
std::vector<std::pair<reco::Particle::LorentzVector, reco::Particle::LorentzVector> >& savedPairs);
49
void
fillTreeGen
(
50
const
std::vector<std::pair<reco::Particle::LorentzVector, reco::Particle::LorentzVector> >& genPairs);
51
52
void
fillHistoMap
();
53
void
writeHistoMap
();
54
55
bool
debug
;
56
57
protected
:
58
private
:
59
// The map of histograms
60
// ---------------------
61
std::map<std::string, Histograms*>
mapHisto
;
62
TFile*
outputFile
;
63
};
64
#endif
PDWG_BPHSkim_cff.muons
muons
Definition:
PDWG_BPHSkim_cff.py:47
genParticles2HepMC_cfi.genParticles
genParticles
Definition:
genParticles2HepMC_cfi.py:4
MuScleFitPlotter::fillHistoMap
void fillHistoMap()
Definition:
MuScleFitPlotter.cc:378
edm
HLT enums.
Definition:
AlignableModifier.h:19
MuScleFitPlotter::fillTreeRec
void fillTreeRec(const std::vector< std::pair< reco::Particle::LorentzVector, reco::Particle::LorentzVector > > &savedPairs)
Used when running on the root tree containing preselected muon pairs.
Definition:
MuScleFitPlotter.cc:334
reco::GenParticleCollection
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Definition:
GenParticleFwd.h:13
TrackCandidateProducer_cfi.simTracks
simTracks
Definition:
TrackCandidateProducer_cfi.py:15
MuScleFitPlotter::fillGenSim
void fillGenSim(edm::Handle< edm::HepMCProduct > evtMC, edm::Handle< edm::SimTrackContainer > simTracks)
Definition:
MuScleFitPlotter.cc:290
edm::Handle< edm::SimTrackContainer >
GenParticleFwd.h
MuScleFitPlotter::mapHisto
std::map< std::string, Histograms * > mapHisto
Definition:
MuScleFitPlotter.h:61
MuScleFitPlotter::fillTreeGen
void fillTreeGen(const std::vector< std::pair< reco::Particle::LorentzVector, reco::Particle::LorentzVector > > &genPairs)
Definition:
MuScleFitPlotter.cc:354
MuScleFitPlotter::fillGen
void fillGen(const reco::GenParticleCollection &genParticles, bool=false)
Definition:
MuScleFitPlotter.cc:48
Event
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Histograms.h
ParameterSet
Definition:
Functions.h:16
MuScleFitPlotter::fillSim
void fillSim(edm::Handle< edm::SimTrackContainer > simTracks)
Definition:
MuScleFitPlotter.cc:245
MuScleFitPlotter::fillRec
void fillRec(std::vector< MuScleFitMuon > &muons)
Used when running on the root tree containing preselected muon pairs.
Definition:
MuScleFitPlotter.cc:319
MuScleFitPlotter::debug
bool debug
Definition:
MuScleFitPlotter.h:55
MuScleFitPlotter
Definition:
MuScleFitPlotter.h:27
MuScleFitPlotter::outputFile
TFile * outputFile
Definition:
MuScleFitPlotter.h:62
EventSetup
edm::HepMCProduct
Definition:
HepMCProduct.h:18
HepMCProduct.h
SimTrackContainer.h
MuScleFitPlotter::~MuScleFitPlotter
virtual ~MuScleFitPlotter()
Definition:
MuScleFitPlotter.cc:40
MuScleFitPlotter::MuScleFitPlotter
MuScleFitPlotter(std::string)
Definition:
MuScleFitPlotter.cc:35
MuScleFitPlotter::writeHistoMap
void writeHistoMap()
Definition:
MuScleFitPlotter.cc:417
Muon.h
Generated for CMSSW Reference Manual by
1.8.16