CMS 3D CMS Logo

HGCalCluster.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_HGCalCluster_h
2 #define DataFormats_L1Trigger_HGCalCluster_h
3 
8 
9 namespace l1t {
10 
11  class HGCalCluster : public HGCalClusterT<l1t::HGCalTriggerCell> {
12  public:
14  HGCalCluster(const LorentzVector p4, int pt = 0, int eta = 0, int phi = 0);
15 
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 
28 
29 } // namespace l1t
30 
31 #endif
double eta() const final
momentum pseudorapidity
~HGCalCluster() override
Definition: HGCalCluster.cc:11
double pt() const final
transverse momentum
delete x;
Definition: CaloConfig.h:22
void setModule(uint32_t module)
Definition: HGCalCluster.h:20
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
uint32_t module() const
Definition: HGCalCluster.h:21
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
BXVector< HGCalCluster > HGCalClusterBxCollection
Definition: HGCalCluster.h:27
double phi() const final
momentum azimuthal angle
Definition: vlib.h:208