Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
L1Trigger
src
L1Candidate.cc
Go to the documentation of this file.
1
2
#include "
DataFormats/L1Trigger/interface/L1Candidate.h
"
3
4
l1t::L1Candidate::L1Candidate
():hwPt_(0),hwEta_(0),hwPhi_(0),hwQual_(0),hwIso_(0){}
5
6
7
l1t::L1Candidate::L1Candidate
(
const
LorentzVector
&
p4
,
8
int
pt
,
9
int
eta
,
10
int
phi
,
11
int
qual,
12
int
iso )
13
: LeafCandidate( (
char
) 0, p4 ),
14
hwPt_(pt),
15
hwEta_(eta),
16
hwPhi_(phi),
17
hwQual_(qual),
18
hwIso_(iso)
19
{
20
21
}
22
23
l1t::L1Candidate::L1Candidate
(
const
PolarLorentzVector
&
p4
,
24
int
pt
,
25
int
eta
,
26
int
phi
,
27
int
qual,
28
int
iso )
29
: LeafCandidate( (
char
) 0, p4 ),
30
hwPt_(pt),
31
hwEta_(eta),
32
hwPhi_(phi),
33
hwQual_(qual),
34
hwIso_(iso)
35
{
36
37
}
38
39
l1t::L1Candidate::~L1Candidate
()
40
{
41
42
}
43
44
void
l1t::L1Candidate::setHwPt
(
int
pt
)
45
{
46
hwPt_ =
pt
;
47
}
48
49
void
l1t::L1Candidate::setHwEta
(
int
eta
)
50
{
51
hwEta_ =
eta
;
52
}
53
54
void
l1t::L1Candidate::setHwPhi
(
int
phi
)
55
{
56
hwPhi_ =
phi
;
57
}
58
59
void
l1t::L1Candidate::setHwIso
(
int
iso)
60
{
61
hwIso_ = iso;
62
}
63
64
void
l1t::L1Candidate::setHwQual
(
int
qual)
65
{
66
hwQual_ = qual;
67
}
68
69
int
l1t::L1Candidate::hwPt
()
const
70
{
71
return
hwPt_;
72
}
73
74
int
l1t::L1Candidate::hwEta
()
const
75
{
76
return
hwEta_;
77
}
78
79
int
l1t::L1Candidate::hwPhi
()
const
80
{
81
return
hwPhi_;
82
}
83
84
int
l1t::L1Candidate::hwIso
()
const
85
{
86
return
hwIso_;
87
}
88
89
int
l1t::L1Candidate::hwQual
()
const
90
{
91
return
hwQual_;
92
}
93
94
95
hitfit::char
char
Definition:
Lepjets_Event_Jet.cc:254
l1t::L1Candidate::setHwQual
void setHwQual(int qual)
Definition:
L1Candidate.cc:64
l1t::L1Candidate::hwPhi
int hwPhi() const
Definition:
L1Candidate.cc:79
eta
T eta() const
Definition:
Basic3DVectorLD.h:177
l1t::L1Candidate::hwIso
int hwIso() const
Definition:
L1Candidate.cc:84
p4
double p4[4]
Definition:
TauolaWrapper.h:92
l1t::L1Candidate::hwEta
int hwEta() const
Definition:
L1Candidate.cc:74
l1t::L1Candidate::hwQual
int hwQual() const
Definition:
L1Candidate.cc:89
EnergyCorrector.pt
int pt
Definition:
EnergyCorrector.py:45
l1t::L1Candidate::setHwPhi
void setHwPhi(int phi)
Definition:
L1Candidate.cc:54
l1t::L1Candidate::setHwIso
void setHwIso(int iso)
Definition:
L1Candidate.cc:59
l1t::L1Candidate::hwPt
int hwPt() const
Definition:
L1Candidate.cc:69
L1Candidate.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:41
l1t::L1Candidate::L1Candidate
L1Candidate()
Definition:
L1Candidate.cc:4
l1t::L1Candidate::setHwPt
void setHwPt(int pt)
Definition:
L1Candidate.cc:44
l1t::L1Candidate::~L1Candidate
~L1Candidate()
Definition:
L1Candidate.cc:39
l1t::L1Candidate::setHwEta
void setHwEta(int eta)
Definition:
L1Candidate.cc:49
phi
Definition:
DDAxes.h:10
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:43
Generated for CMSSW Reference Manual by
1.8.5