Main Page
Namespaces
Classes
Package Documentation
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
5
#include "
DataFormats/L1Trigger/interface/L1Candidate.h
"
6
#include "
DataFormats/L1Trigger/interface/BXVector.h
"
7
8
namespace
l1t
{
9
10
class
CaloRegion
:
public
L1Candidate
{
11
12
public
:
13
CaloRegion
():
etEm_
(0.),
etHad_
(0.),
hwEtEm_
(0),
hwEtHad_
(0){}
14
CaloRegion
(
const
LorentzVector
&
p4
,
15
double
etEm
=0.,
16
double
etHad
=0.,
17
int
pt
=0,
18
int
eta
=0,
19
int
phi
=0,
20
int
qual=0,
21
int
hwEtEm
=0,
22
int
hwEtHad
=0);
23
24
~CaloRegion
()
override
;
25
26
void
setEtEm
(
double
et
);
27
void
setEtHad
(
double
et );
28
void
setHwEtEm
(
int
et );
29
void
setHwEtHad
(
int
et );
30
31
double
etEm
()
const
;
32
double
etHad
()
const
;
33
int
hwEtEm
()
const
;
34
int
hwEtHad
()
const
;
35
36
private
:
37
38
// additional hardware quantities
39
double
etEm_
;
40
double
etHad_
;
41
42
int
hwEtEm_
;
43
int
hwEtHad_
;
44
45
};
46
47
typedef
BXVector<CaloRegion>
CaloRegionBxCollection
;
48
49
}
50
51
#endif
l1t::CaloRegion::setHwEtEm
void setHwEtEm(int et)
Definition:
CaloRegion.cc:37
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:137
l1t::CaloRegion::hwEtHad
int hwEtHad() const
Definition:
CaloRegion.cc:63
l1t::CaloRegionBxCollection
BXVector< CaloRegion > CaloRegionBxCollection
Definition:
CaloRegion.h:47
l1t::CaloRegion::hwEtEm_
int hwEtEm_
Definition:
CaloRegion.h:42
l1t::CaloRegion::CaloRegion
CaloRegion()
Definition:
CaloRegion.h:13
l1t::CaloRegion::etEm_
double etEm_
Definition:
CaloRegion.h:39
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::CaloRegion::setEtEm
void setEtEm(double et)
Definition:
CaloRegion.cc:27
BXVector.h
l1t::CaloRegion::etHad
double etHad() const
Definition:
CaloRegion.cc:53
l1t::CaloRegion::setHwEtHad
void setHwEtHad(int et)
Definition:
CaloRegion.cc:42
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::CaloRegion::etHad_
double etHad_
Definition:
CaloRegion.h:40
l1t::CaloRegion::hwEtHad_
int hwEtHad_
Definition:
CaloRegion.h:43
l1t::CaloRegion
Definition:
CaloRegion.h:10
l1t::CaloRegion::setEtHad
void setEtHad(double et)
Definition:
CaloRegion.cc:32
L1Candidate.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:37
l1t::CaloRegion::hwEtEm
int hwEtEm() const
Definition:
CaloRegion.cc:58
BXVector< CaloRegion >
l1t::CaloRegion::~CaloRegion
~CaloRegion() override
Definition:
CaloRegion.cc:22
l1t::CaloRegion::etEm
double etEm() const
Definition:
CaloRegion.cc:48
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:133
Generated for CMSSW Reference Manual by
1.8.11