CMS 3D CMS Logo

GTCollections.h
Go to the documentation of this file.
1 #ifndef GTCollections_h
2 #define GTCollections_h
3 
9 
12 
13 //#include "EventFilter/L1TRawToDigi/interface/UnpackerCollections.h"
14 #include "L1TObjectCollections.h"
15 
16 namespace l1t {
17  namespace stage2 {
19  public:
22  muons_(new MuonBxCollection()),
25  jets_(new JetBxCollection()),
26  taus_(new TauBxCollection()),
29 
30  virtual ~GTCollections();
31 
32  inline MuonBxCollection* getMuons() override { return muons_.get(); };
33  inline EGammaBxCollection* getEGammas() override { return egammas_.get(); };
34  inline EtSumBxCollection* getEtSums() override { return etsums_.get(); };
35  inline JetBxCollection* getJets() override { return jets_.get(); };
36  inline TauBxCollection* getTaus() override { return taus_.get(); };
37 
38  inline GlobalAlgBlkBxCollection* getAlgs() { return algBlk_.get(); };
39  inline GlobalExtBlkBxCollection* getExts() { return extBlk_.get(); };
40 
41 
42  private:
43 
44  std::unique_ptr<MuonBxCollection> muons_;
45  std::unique_ptr<EGammaBxCollection> egammas_;
46  std::unique_ptr<EtSumBxCollection> etsums_;
47  std::unique_ptr<JetBxCollection> jets_;
48  std::unique_ptr<TauBxCollection> taus_;
49 
50  std::unique_ptr<GlobalAlgBlkBxCollection> algBlk_;
51  std::unique_ptr<GlobalExtBlkBxCollection> extBlk_;
52 
53 
54  };
55  }
56 }
57 
58 #endif
TauBxCollection * getTaus() override
Definition: GTCollections.h:36
EGammaBxCollection * getEGammas() override
Definition: GTCollections.h:33
MuonBxCollection * getMuons() override
Definition: GTCollections.h:32
std::unique_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:51
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< TauBxCollection > taus_
Definition: GTCollections.h:48
std::unique_ptr< MuonBxCollection > muons_
Definition: GTCollections.h:39
std::unique_ptr< JetBxCollection > jets_
Definition: GTCollections.h:47
GTCollections(edm::Event &e)
Definition: GTCollections.h:20
EtSumBxCollection * getEtSums() override
Definition: GTCollections.h:34
GlobalAlgBlkBxCollection * getAlgs()
Definition: GTCollections.h:38
GlobalExtBlkBxCollection * getExts()
Definition: GTCollections.h:39
JetBxCollection * getJets() override
Definition: GTCollections.h:35
std::unique_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:50
std::unique_ptr< EGammaBxCollection > egammas_
Definition: GTCollections.h:45
std::unique_ptr< EtSumBxCollection > etsums_
Definition: GTCollections.h:46