CMS 3D CMS Logo

CaloLayer1Collections.h
Go to the documentation of this file.
1 #ifndef CaloLayer1Collections_h
2 #define CaloLayer1Collections_h
3 
8 
9 namespace l1t {
10  namespace stage2 {
12  public:
14  ~CaloLayer1Collections() override;
15 
16  inline EcalTrigPrimDigiCollection* getEcalDigis() { return ecalDigis_.get(); };
17  inline HcalTrigPrimDigiCollection* getHcalDigis() { return hcalDigis_.get(); };
18  inline L1CaloRegionCollection* getRegions() { return caloRegions_.get(); };
19 
20  private:
21  std::unique_ptr<EcalTrigPrimDigiCollection> ecalDigis_;
22  std::unique_ptr<HcalTrigPrimDigiCollection> hcalDigis_;
23  std::unique_ptr<L1CaloRegionCollection> caloRegions_;
24  };
25  } // namespace stage2
26 } // namespace l1t
27 
28 #endif
std::unique_ptr< L1CaloRegionCollection > caloRegions_
std::unique_ptr< HcalTrigPrimDigiCollection > hcalDigis_
delete x;
Definition: CaloConfig.h:22
HcalTrigPrimDigiCollection * getHcalDigis()
EcalTrigPrimDigiCollection * getEcalDigis()
L1CaloRegionCollection * getRegions()
std::unique_ptr< EcalTrigPrimDigiCollection > ecalDigis_
std::vector< L1CaloRegion > L1CaloRegionCollection