DataFormats
L1THGCal
interface
HGCalTriggerSums.h
Go to the documentation of this file.
1
#ifndef DataFormats_L1TCalorimeter_HGCalTriggerSums_h
2
#define DataFormats_L1TCalorimeter_HGCalTriggerSums_h
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include "
DataFormats/L1Trigger/interface/L1Candidate.h
"
6
#include "
DataFormats/L1Trigger/interface/BXVector.h
"
7
#include "
DataFormats/DetId/interface/DetId.h
"
8
9
namespace
l1t
{
10
11
class
HGCalTriggerSums
;
12
typedef
BXVector<HGCalTriggerSums>
HGCalTriggerSumsBxCollection
;
13
14
class
HGCalTriggerSums
:
public
L1Candidate
{
15
public
:
16
HGCalTriggerSums
() {}
17
18
HGCalTriggerSums
(
const
LorentzVector
&
p4
,
int
pt
= 0,
int
eta
= 0,
int
phi
= 0,
int
qual = 0, uint32_t detid = 0);
19
20
~HGCalTriggerSums
()
override
;
21
22
void
setDetId
(uint32_t detid) {
detid_
=
DetId
(detid); }
23
void
setPosition
(
const
GlobalPoint
&
position
) {
position_
=
position
; }
24
25
uint32_t
detId
()
const
{
return
detid_
.
rawId
(); }
26
const
GlobalPoint
&
position
()
const
{
return
position_
; }
27
28
void
setMipPt
(
double
value
) {
mipPt_
=
value
; }
29
double
mipPt
()
const
{
return
mipPt_
; }
30
31
private
:
32
DetId
detid_
;
33
GlobalPoint
position_
;
34
35
double
mipPt_
;
36
};
37
38
}
// namespace l1t
39
40
#endif
BXVector.h
l1t::HGCalTriggerSums::HGCalTriggerSums
HGCalTriggerSums()
Definition:
HGCalTriggerSums.h:16
l1t::HGCalTriggerSums::position_
GlobalPoint position_
Definition:
HGCalTriggerSums.h:33
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:146
l1t::HGCalTriggerSums::~HGCalTriggerSums
~HGCalTriggerSums() override
Definition:
HGCalTriggerSums.cc:8
BXVector
Definition:
BXVector.h:15
DetId
Definition:
DetId.h:17
l1t::HGCalTriggerSums::setMipPt
void setMipPt(double value)
Definition:
HGCalTriggerSums.h:28
l1t::L1Candidate
Definition:
L1Candidate.h:15
Point3DBase< float, GlobalTag >
l1t::HGCalTriggerSums::setDetId
void setDetId(uint32_t detid)
Definition:
HGCalTriggerSums.h:22
l1t::HGCalTriggerSums::detId
uint32_t detId() const
Definition:
HGCalTriggerSums.h:25
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:152
l1t::HGCalTriggerSums::setPosition
void setPosition(const GlobalPoint &position)
Definition:
HGCalTriggerSums.h:23
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::HGCalTriggerSums::detid_
DetId detid_
Definition:
HGCalTriggerSums.h:32
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:114
value
Definition:
value.py:1
l1t::HGCalTriggerSums::mipPt
double mipPt() const
Definition:
HGCalTriggerSums.h:29
L1Candidate.h
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition:
DetId.h:57
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:148
DetId.h
l1t::HGCalTriggerSums::position
const GlobalPoint & position() const
Definition:
HGCalTriggerSums.h:26
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:49
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
l1t::HGCalTriggerSums
Definition:
HGCalTriggerSums.h:14
GlobalPoint.h
l1t::HGCalTriggerSumsBxCollection
BXVector< HGCalTriggerSums > HGCalTriggerSumsBxCollection
Definition:
HGCalTriggerSums.h:11
l1t::HGCalTriggerSums::mipPt_
double mipPt_
Definition:
HGCalTriggerSums.h:35
Generated for CMSSW Reference Manual by
1.8.16