CMS 3D CMS Logo

CaloCollections.h
Go to the documentation of this file.
1 #ifndef CaloCollections_h
2 #define CaloCollections_h
3 
9 
10 //#include "EventFilter/L1TRawToDigi/interface/UnpackerCollections.h"
11 #include "L1TObjectCollections.h"
12 
13 namespace l1t {
14  namespace stage2 {
16  public:
22  jets_(new JetBxCollection()),
23  taus_(new TauBxCollection()),
27  mp_taus_(new TauBxCollection()) {};
28 
29  ~CaloCollections() override;
30 
31  inline CaloTowerBxCollection* getTowers() { return towers_.get(); };
32  inline EGammaBxCollection* getEGammas(const unsigned int copy) override { return egammas_.get(); };
33  inline EtSumBxCollection* getEtSums( const unsigned int copy) override { return etsums_.get(); };
34  inline JetBxCollection* getJets( const unsigned int copy) override { return jets_.get(); };
35  inline TauBxCollection* getTaus( const unsigned int copy) override { return taus_.get(); };
36 
37  inline EtSumBxCollection* getMPEtSums() { return mp_etsums_.get(); };
38  inline JetBxCollection* getMPJets() { return mp_jets_.get(); };
39  inline EGammaBxCollection* getMPEGammas() { return mp_egammas_.get(); };
40  inline TauBxCollection* getMPTaus() { return mp_taus_.get(); };
41 
42  private:
43  std::unique_ptr<CaloTowerBxCollection> towers_;
44  std::unique_ptr<EGammaBxCollection> egammas_;
45  std::unique_ptr<EtSumBxCollection> etsums_;
46  std::unique_ptr<JetBxCollection> jets_;
47  std::unique_ptr<TauBxCollection> taus_;
48 
49  std::unique_ptr<EtSumBxCollection> mp_etsums_;
50  std::unique_ptr<JetBxCollection> mp_jets_;
51  std::unique_ptr<EGammaBxCollection> mp_egammas_;
52  std::unique_ptr<TauBxCollection> mp_taus_;
53  };
54  }
55 }
56 
57 #endif
std::unique_ptr< EtSumBxCollection > etsums_
EtSumBxCollection * getMPEtSums()
def copy(args, dbName)
TauBxCollection * getTaus(const unsigned int copy) override
std::unique_ptr< EGammaBxCollection > egammas_
EGammaBxCollection * getMPEGammas()
std::unique_ptr< CaloTowerBxCollection > towers_
std::unique_ptr< TauBxCollection > mp_taus_
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< EtSumBxCollection > mp_etsums_
EtSumBxCollection * getEtSums(const unsigned int copy) override
JetBxCollection * getMPJets()
std::unique_ptr< JetBxCollection > jets_
TauBxCollection * getMPTaus()
JetBxCollection * getJets(const unsigned int copy) override
CaloTowerBxCollection * getTowers()
std::unique_ptr< TauBxCollection > taus_
EGammaBxCollection * getEGammas(const unsigned int copy) override
std::unique_ptr< JetBxCollection > mp_jets_
std::unique_ptr< EGammaBxCollection > mp_egammas_