Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
L1TCalorimeter
interface
CaloRegion.h
Go to the documentation of this file.
1
#ifndef DataFormats_L1Trigger_CaloRegion_h
2
#define DataFormats_L1Trigger_CaloRegion_h
3
4
#include "
DataFormats/L1Trigger/interface/L1Candidate.h
"
5
#include "
DataFormats/L1Trigger/interface/BXVector.h
"
6
7
namespace
l1t {
8
9
class
CaloRegion
:
public
L1Candidate
{
10
public
:
11
CaloRegion
() :
etEm_
(0.),
etHad_
(0.),
hwEtEm_
(0),
hwEtHad_
(0) {}
12
CaloRegion
(
const
LorentzVector
&
p4
,
13
double
etEm
= 0.,
14
double
etHad
= 0.,
15
int
pt
= 0,
16
int
eta
= 0,
17
int
phi
= 0,
18
int
qual = 0,
19
int
hwEtEm
= 0,
20
int
hwEtHad
= 0);
21
22
~CaloRegion
()
override
;
23
24
void
setEtEm
(
double
et
);
25
void
setEtHad
(
double
et
);
26
void
setHwEtEm
(
int
et
);
27
void
setHwEtHad
(
int
et
);
28
29
double
etEm
()
const
;
30
double
etHad
()
const
;
31
int
hwEtEm
()
const
;
32
int
hwEtHad
()
const
;
33
34
private
:
35
// additional hardware quantities
36
double
etEm_
;
37
double
etHad_
;
38
39
int
hwEtEm_
;
40
int
hwEtHad_
;
41
};
42
43
typedef
BXVector<CaloRegion>
CaloRegionBxCollection
;
44
45
}
// namespace l1t
46
47
#endif
l1t::CaloRegion::setHwEtEm
void setHwEtEm(int et)
Definition:
CaloRegion.cc:14
l1t::CaloRegion::hwEtHad
int hwEtHad() const
Definition:
CaloRegion.cc:24
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:146
l1t::CaloRegionBxCollection
BXVector< CaloRegion > CaloRegionBxCollection
Definition:
CaloRegion.h:43
l1t::CaloRegion::hwEtEm_
int hwEtEm_
Definition:
CaloRegion.h:39
l1t::CaloRegion::CaloRegion
CaloRegion()
Definition:
CaloRegion.h:11
l1t::CaloRegion::etEm_
double etEm_
Definition:
CaloRegion.h:36
l1t::CaloRegion::setEtEm
void setEtEm(double et)
Definition:
CaloRegion.cc:10
BXVector.h
l1t::CaloRegion::etHad
double etHad() const
Definition:
CaloRegion.cc:20
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:114
l1t::CaloRegion::setHwEtHad
void setHwEtHad(int et)
Definition:
CaloRegion.cc:16
l1t::L1Candidate
Definition:
L1Candidate.h:15
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:49
l1t::CaloRegion::etHad_
double etHad_
Definition:
CaloRegion.h:37
l1t::CaloRegion::hwEtHad_
int hwEtHad_
Definition:
CaloRegion.h:40
l1t::CaloRegion
Definition:
CaloRegion.h:9
l1t::CaloRegion::setEtHad
void setEtHad(double et)
Definition:
CaloRegion.cc:12
L1Candidate.h
reco::LeafCandidate::et
double et() const final
transverse energy
Definition:
LeafCandidate.h:127
l1t::CaloRegion::hwEtEm
int hwEtEm() const
Definition:
CaloRegion.cc:22
BXVector
Definition:
BXVector.h:15
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:148
l1t::CaloRegion::~CaloRegion
~CaloRegion() override
Definition:
CaloRegion.cc:8
l1t::CaloRegion::etEm
double etEm() const
Definition:
CaloRegion.cc:18
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:152
Generated for CMSSW Reference Manual by
1.8.5