File indexing completed on 2024-04-06 12:10:57
0001 #ifndef RctUnpackCollections_h
0002 #define RctUnpackCollections_h
0003
0004
0005
0006
0007
0008
0009
0010 #include "FWCore/Framework/interface/Event.h"
0011
0012
0013 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0014 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0015 #include "DataFormats/L1Trigger/interface/L1TriggerError.h"
0016 #include "TList.h"
0017
0018 class RctUnpackCollections {
0019 public:
0020
0021 RctUnpackCollections(edm::Event& event);
0022
0023
0024 RctUnpackCollections(const RctUnpackCollections&) = delete;
0025 RctUnpackCollections& operator=(const RctUnpackCollections&) = delete;
0026
0027
0028 ~RctUnpackCollections();
0029
0030
0031 L1CaloEmCollection* const rctEm() const { return m_rctEm.get(); }
0032 L1CaloRegionCollection* const rctCalo() const {
0033 return m_rctCalo.get();
0034 }
0035
0036 private:
0037 edm::Event&
0038 m_event;
0039
0040
0041 std::unique_ptr<L1CaloEmCollection> m_rctEm;
0042 std::unique_ptr<L1CaloRegionCollection> m_rctCalo;
0043 };
0044
0045
0046 std::ostream& operator<<(std::ostream& os, const RctUnpackCollections& rhs);
0047
0048 #endif