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
private
:
47
48
// additional hardware quantities
49
double
etEm_
;
50
double
etHad_
;
51
52
int
hwEtEm_
;
53
int
hwEtHad_
;
54
int
hwEtRatio_
;
55
56
};
57
58
}
59
60
#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:30
l1t::HGCalTower::setHwEtHad
void setHwEtHad(int et)
Definition:
HGCalTower.cc:45
l1t::HGCalTower::etHad
double etHad() const
Definition:
HGCalTower.cc:60
l1t::HGCalTower::setHwEtEm
void setHwEtEm(int et)
Definition:
HGCalTower.cc:40
l1t::HGCalTower::hwEtRatio
int hwEtRatio() const
Definition:
HGCalTower.cc:75
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
l1t::HGCalTower::hwEtHad_
int hwEtHad_
Definition:
HGCalTower.h:53
l1t::HGCalTower::hwEtRatio_
int hwEtRatio_
Definition:
HGCalTower.h:54
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:65
l1t::HGCalTower::setHwEtRatio
void setHwEtRatio(int ratio)
Definition:
HGCalTower.cc:50
l1t::HGCalTower::~HGCalTower
~HGCalTower() override
Definition:
HGCalTower.cc:25
l1t::HGCalTower::hwEtHad
int hwEtHad() const
Definition:
HGCalTower.cc:70
L1Candidate.h
l1t::HGCalTower::etEm_
double etEm_
Definition:
HGCalTower.h:49
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:37
l1t::HGCalTower::etHad_
double etHad_
Definition:
HGCalTower.h:50
l1t::HGCalTower::etEm
double etEm() const
Definition:
HGCalTower.cc:55
BXVector
Definition:
BXVector.h:15
l1t::HGCalTower::setEtHad
void setEtHad(double et)
Definition:
HGCalTower.cc:35
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:133
l1t::HGCalTower::hwEtEm_
int hwEtEm_
Definition:
HGCalTower.h:52
Generated for CMSSW Reference Manual by
1.8.11