Main Page
Namespaces
Classes
Package Documentation
DataFormats
L1THGCal
interface
HGCalTower.h
Go to the documentation of this file.
1
#ifndef DataFormats_L1TCalorimeter_HGCalTower_h
2
#define DataFormats_L1TCalorimeter_HGCalTower_h
3
4
5
#include "
DataFormats/L1Trigger/interface/L1Candidate.h
"
6
#include "
DataFormats/L1Trigger/interface/BXVector.h
"
7
8
namespace
l1t
{
9
10
class
HGCalTower
;
11
typedef
BXVector<HGCalTower>
HGCalTowerBxCollection
;
12
13
class
HGCalTower
:
public
L1Candidate
{
14
15
public
:
16
17
HGCalTower
():
etEm_
(0.),
etHad_
(0.),
hwEtEm_
(0),
hwEtHad_
(0),
hwEtRatio_
(0) {}
18
19
HGCalTower
(
const
LorentzVector
&
p4
,
20
double
etEm
=0.,
21
double
etHad
=0.,
22
int
pt
=0,
23
int
eta
=0,
24
int
phi
=0,
25
int
qual=0,
26
int
hwEtEm
=0,
27
int
hwEtHad
=0,
28
int
hwEtRatio
=0);
29
30
~HGCalTower
()
override
;
31
32
void
setEtEm
(
double
et
);
33
void
setEtHad
(
double
et );
34
35
void
setHwEtEm
(
int
et );
36
void
setHwEtHad
(
int
et );
37
void
setHwEtRatio
(
int
ratio
);
38
39
double
etEm
()
const
;
40
double
etHad
()
const
;
41
42
int
hwEtEm
()
const
;
43
int
hwEtHad
()
const
;
44
int
hwEtRatio
()
const
;
45
46
HGCalTower
&
operator+=
(
const
HGCalTower
& tower);
47
48
private
:
49
50
// additional hardware quantities
51
double
etEm_
;
52
double
etHad_
;
53
54
int
hwEtEm_
;
55
int
hwEtHad_
;
56
int
hwEtRatio_
;
57
58
};
59
60
}
61
62
#endif
l1t::HGCalTower::HGCalTower
HGCalTower()
Definition:
HGCalTower.h:17
l1t::HGCalTower
Definition:
HGCalTower.h:13
particleFlowDisplacedVertex_cfi.ratio
ratio
Definition:
particleFlowDisplacedVertex_cfi.py:93
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:137
l1t::HGCalTower::setEtEm
void setEtEm(double et)
Definition:
HGCalTower.cc:31
l1t::HGCalTower::setHwEtHad
void setHwEtHad(int et)
Definition:
HGCalTower.cc:46
l1t::HGCalTower::etHad
double etHad() const
Definition:
HGCalTower.cc:61
l1t::HGCalTower::setHwEtEm
void setHwEtEm(int et)
Definition:
HGCalTower.cc:41
l1t::HGCalTower::hwEtRatio
int hwEtRatio() const
Definition:
HGCalTower.cc:76
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
l1t::HGCalTower::hwEtHad_
int hwEtHad_
Definition:
HGCalTower.h:55
l1t::HGCalTower::hwEtRatio_
int hwEtRatio_
Definition:
HGCalTower.h:56
l1t
delete x;
Definition:
CaloConfig.h:22
BXVector.h
l1t::HGCalTowerBxCollection
BXVector< HGCalTower > HGCalTowerBxCollection
Definition:
HGCalTower.h:10
reco::LeafCandidate::et
double et() const final
transverse energy
Definition:
LeafCandidate.h:112
l1t::L1Candidate
Definition:
L1Candidate.h:16
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:99
l1t::HGCalTower::hwEtEm
int hwEtEm() const
Definition:
HGCalTower.cc:66
l1t::HGCalTower::setHwEtRatio
void setHwEtRatio(int ratio)
Definition:
HGCalTower.cc:51
l1t::HGCalTower::~HGCalTower
~HGCalTower() override
Definition:
HGCalTower.cc:26
l1t::HGCalTower::hwEtHad
int hwEtHad() const
Definition:
HGCalTower.cc:71
L1Candidate.h
l1t::HGCalTower::etEm_
double etEm_
Definition:
HGCalTower.h:51
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:37
l1t::HGCalTower::etHad_
double etHad_
Definition:
HGCalTower.h:52
l1t::HGCalTower::operator+=
HGCalTower & operator+=(const HGCalTower &tower)
Definition:
HGCalTower.cc:84
l1t::HGCalTower::etEm
double etEm() const
Definition:
HGCalTower.cc:56
BXVector
Definition:
BXVector.h:15
l1t::HGCalTower::setEtHad
void setEtHad(double et)
Definition:
HGCalTower.cc:36
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:133
l1t::HGCalTower::hwEtEm_
int hwEtEm_
Definition:
HGCalTower.h:54
Generated for CMSSW Reference Manual by
1.8.11