DataFormats
L1THGCal
interface
HGCalCluster.h
Go to the documentation of this file.
1
#ifndef DataFormats_L1Trigger_HGCalCluster_h
2
#define DataFormats_L1Trigger_HGCalCluster_h
3
4
#include "
DataFormats/Common/interface/Ptr.h
"
5
#include "
DataFormats/L1Trigger/interface/BXVector.h
"
6
#include "
DataFormats/L1THGCal/interface/HGCalTriggerCell.h
"
7
#include "
DataFormats/L1THGCal/interface/HGCalClusterT.h
"
8
9
namespace
l1t
{
10
11
class
HGCalCluster
:
public
HGCalClusterT
<l1t::HGCalTriggerCell> {
12
public
:
13
HGCalCluster
() {}
14
HGCalCluster
(
const
LorentzVector
p4
,
int
pt
= 0,
int
eta
= 0,
int
phi
= 0);
15
16
HGCalCluster
(
const
edm::Ptr<l1t::HGCalTriggerCell>
&tc);
17
18
~HGCalCluster
()
override
;
19
20
void
setModule
(uint32_t
module
) {
module_
=
module
; }
21
uint32_t
module
()
const
{
return
module_
; }
22
23
private
:
24
uint32_t
module_
;
25
};
26
27
typedef
BXVector<HGCalCluster>
HGCalClusterBxCollection
;
28
29
}
// namespace l1t
30
31
#endif
l1t::HGCalCluster
Definition:
HGCalCluster.h:11
BXVector.h
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:146
HGCalClusterT.h
BXVector
Definition:
BXVector.h:15
l1t::HGCalCluster::module
uint32_t module() const
Definition:
HGCalCluster.h:21
l1t::HGCalCluster::module_
uint32_t module_
Definition:
HGCalCluster.h:24
l1t::HGCalClusterBxCollection
BXVector< HGCalCluster > HGCalClusterBxCollection
Definition:
HGCalCluster.h:27
l1t::HGCalClusterT
Definition:
HGCalClusterT.h:22
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:152
l1t
delete x;
Definition:
CaloConfig.h:22
Ptr.h
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:114
l1t::HGCalCluster::HGCalCluster
HGCalCluster()
Definition:
HGCalCluster.h:13
module
Definition:
vlib.h:198
l1t::HGCalCluster::setModule
void setModule(uint32_t module)
Definition:
HGCalCluster.h:20
edm::Ptr
Definition:
AssociationVector.h:31
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:148
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:49
l1t::HGCalCluster::~HGCalCluster
~HGCalCluster() override
Definition:
HGCalCluster.cc:11
HGCalTriggerCell.h
Generated for CMSSW Reference Manual by
1.8.16