Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:49

0001 #ifndef CaloLayer1Tokens_h
0002 #define CaloLayer1Tokens_h
0003 
0004 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
0005 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
0006 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0007 #include "FWCore/Utilities/interface/EDGetToken.h"
0008 #include "EventFilter/L1TRawToDigi/interface/PackerTokens.h"
0009 
0010 namespace l1t {
0011   namespace stage2 {
0012     class CaloLayer1Tokens : public PackerTokens {
0013     public:
0014       CaloLayer1Tokens(const edm::ParameterSet&, edm::ConsumesCollector&);
0015 
0016       inline const edm::EDGetTokenT<EcalTrigPrimDigiCollection>& getEcalDigiToken() const { return ecalDigiToken_; };
0017       inline const edm::EDGetTokenT<HcalTrigPrimDigiCollection>& getHcalDigiToken() const { return hcalDigiToken_; };
0018       inline const edm::EDGetTokenT<L1CaloRegionCollection>& getCaloRegionToken() const { return caloRegionToken_; };
0019 
0020     private:
0021       edm::EDGetTokenT<EcalTrigPrimDigiCollection> ecalDigiToken_;
0022       edm::EDGetTokenT<HcalTrigPrimDigiCollection> hcalDigiToken_;
0023       edm::EDGetTokenT<L1CaloRegionCollection> caloRegionToken_;
0024     };
0025   }  // namespace stage2
0026 }  // namespace l1t
0027 
0028 #endif