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
EgammaAnalysis
ElectronTools
src
SimplePhoton.cc
Go to the documentation of this file.
1
#ifndef SimplePhoton_STANDALONE
2
#include "
EgammaAnalysis/ElectronTools/interface/SimplePhoton.h
"
3
4
SimplePhoton::SimplePhoton
(
const
reco::Photon
&
in
,
unsigned
int
runNumber
,
bool
isMC
)
5
: run_(
runNumber
),
6
eClass_(-1),
7
r9_(
in
.full5x5_r9()),
8
scEnergy_(
in
.superCluster()->rawEnergy() + (
in
.isEB() ? 0 :
in
.superCluster()->preshowerEnergy())),
9
scEnergyError_(-999.),
// FIXME???
10
regEnergy_(
in
.getCorrectedEnergy(
reco
::
Photon
::P4type::regression2)),
11
regEnergyError_(
in
.getCorrectedEnergyError(
reco
::
Photon
::P4type::regression2)),
12
eta_(
in
.superCluster()->
eta
()),
13
isEB_(
in
.isEB()),
14
isMC_(
isMC
),
15
newEnergy_(regEnergy_),
16
newEnergyError_(regEnergyError_),
17
scale_(1.0),
18
smearing_(0.0) {}
19
20
void
SimplePhoton::writeTo
(
reco::Photon
&
out
)
const
{
21
out
.setCorrectedEnergy(reco::Photon::P4type::regression2,
getNewEnergy
(),
getNewEnergyError
(),
true
);
22
}
23
#endif
SimplePhoton::writeTo
void writeTo(reco::Photon &out) const
Definition:
SimplePhoton.cc:20
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
SimplePhoton::getNewEnergyError
double getNewEnergyError() const
Definition:
SimplePhoton.h:44
convertSQLiteXML.runNumber
runNumber
Definition:
convertSQLiteXML.py:91
SimplePhoton.h
submitPVValidationJobs.isMC
list isMC
Definition:
submitPVValidationJobs.py:658
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
Photon
Definition:
Photon.py:1
reco::Photon
Definition:
Photon.h:21
SimplePhoton::getNewEnergy
double getNewEnergy() const
Definition:
SimplePhoton.h:43
SimplePhoton::SimplePhoton
SimplePhoton()
Definition:
SimplePhoton.h:10
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
Generated for CMSSW Reference Manual by
1.8.16