Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
10
public
:
11
FSRWeightAlgo
() {}
12
virtual
~FSRWeightAlgo
() {}
13
void
addGenParticle
(
const
reco::GenParticle
&
gen
) {
genParticles_
.push_back(gen);}
14
void
clear
() {
genParticles_
.clear();}
15
double
weight
()
const
;
16
17
private
:
18
double
alphaRatio
(
double
)
const
;
19
20
std::vector< reco::GenParticle >
genParticles_
;
21
};
22
}
23
#endif
heppy::FSRWeightAlgo::FSRWeightAlgo
FSRWeightAlgo()
Definition:
FSRWeightAlgo.h:11
heppy::FSRWeightAlgo::addGenParticle
void addGenParticle(const reco::GenParticle &gen)
Definition:
FSRWeightAlgo.h:13
heppy::FSRWeightAlgo::weight
double weight() const
Definition:
FSRWeightAlgo.cc:11
GenParticle.h
heppy::FSRWeightAlgo
Definition:
FSRWeightAlgo.h:8
relval_steps.gen
def gen
Definition:
relval_steps.py:243
heppy::FSRWeightAlgo::clear
void clear()
Definition:
FSRWeightAlgo.h:14
heppy::FSRWeightAlgo::genParticles_
std::vector< reco::GenParticle > genParticles_
Definition:
FSRWeightAlgo.h:20
heppy::FSRWeightAlgo::alphaRatio
double alphaRatio(double) const
Definition:
FSRWeightAlgo.cc:76
reco::GenParticle
Definition:
GenParticle.h:20
heppy::FSRWeightAlgo::~FSRWeightAlgo
virtual ~FSRWeightAlgo()
Definition:
FSRWeightAlgo.h:12
Generated for CMSSW Reference Manual by
1.8.5