Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:53

0001 #ifndef DataFormats_L1Trigger_HGCalCluster_h
0002 #define DataFormats_L1Trigger_HGCalCluster_h
0003 
0004 #include "DataFormats/Common/interface/Ptr.h"
0005 #include "DataFormats/L1Trigger/interface/BXVector.h"
0006 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0007 #include "DataFormats/L1THGCal/interface/HGCalClusterT.h"
0008 
0009 namespace l1t {
0010 
0011   class HGCalCluster : public HGCalClusterT<l1t::HGCalTriggerCell> {
0012   public:
0013     HGCalCluster() {}
0014     HGCalCluster(const LorentzVector p4, int pt = 0, int eta = 0, int phi = 0);
0015 
0016     HGCalCluster(const edm::Ptr<l1t::HGCalTriggerCell> &tc);
0017 
0018     ~HGCalCluster() override;
0019 
0020     void setModule(uint32_t module) { module_ = module; }
0021     uint32_t module() const { return module_; }
0022 
0023   private:
0024     uint32_t module_;
0025   };
0026 
0027   typedef BXVector<HGCalCluster> HGCalClusterBxCollection;
0028 
0029 }  // namespace l1t
0030 
0031 #endif