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
PhysicsTools
Heppy
interface
FSRWeightAlgo.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_Heppy_FSRWeightAlgo_h
2
#define PhysicsTools_Heppy_FSRWeightAlgo_h
3
4
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
5
6
namespace
heppy
{
7
8
class
FSRWeightAlgo
{
9
public
:
10
FSRWeightAlgo
() {}
11
virtual
~FSRWeightAlgo
() {}
12
void
addGenParticle
(
const
reco::GenParticle
&
gen
) {
genParticles_
.push_back(
gen
); }
13
void
clear
() {
genParticles_
.clear(); }
14
double
weight
()
const
;
15
16
private
:
17
double
alphaRatio
(
double
)
const
;
18
19
std::vector<reco::GenParticle>
genParticles_
;
20
};
21
}
// namespace heppy
22
#endif
reco::GenParticle
Definition:
GenParticle.h:21
heppy::FSRWeightAlgo::FSRWeightAlgo
FSRWeightAlgo()
Definition:
FSRWeightAlgo.h:10
heppy::FSRWeightAlgo
Definition:
FSRWeightAlgo.h:8
heppy::FSRWeightAlgo::weight
double weight() const
Definition:
FSRWeightAlgo.cc:10
GenParticle.h
heppy::FSRWeightAlgo::genParticles_
std::vector< reco::GenParticle > genParticles_
Definition:
FSRWeightAlgo.h:19
heppy::FSRWeightAlgo::clear
void clear()
Definition:
FSRWeightAlgo.h:13
gen
Definition:
PythiaDecays.h:13
heppy
TAKEN FROM http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/ElectroWeakAnalysis/Utilities/src/PdfWeig...
Definition:
AlphaT.h:16
heppy::FSRWeightAlgo::~FSRWeightAlgo
virtual ~FSRWeightAlgo()
Definition:
FSRWeightAlgo.h:11
heppy::FSRWeightAlgo::alphaRatio
double alphaRatio(double) const
Definition:
FSRWeightAlgo.cc:78
heppy::FSRWeightAlgo::addGenParticle
void addGenParticle(const reco::GenParticle &gen)
Definition:
FSRWeightAlgo.h:12
Generated for CMSSW Reference Manual by
1.8.16