CMS 3D CMS Logo

RctUnpackCollections.h
Go to the documentation of this file.
1 #ifndef RctUnpackCollections_h
2 #define RctUnpackCollections_h
3 
9 // CMSSW headers
11 
12 // DataFormat headers
16 #include "TList.h"
17 
19 {
20 public:
23 
26 
27  // Collections for storing RCT input data.
28  L1CaloEmCollection * const rctEm() const { return m_rctEm.get(); }
29  L1CaloRegionCollection * const rctCalo() const { return m_rctCalo.get(); }
30 
31 private:
32 
35 
37 
38  // Collections for storing RCT input data.
39  std::unique_ptr<L1CaloEmCollection> m_rctEm;
40  std::unique_ptr<L1CaloRegionCollection> m_rctCalo;
41 
42 };
43 
44 // Pretty print for the RctUnpackCollections sub-class
45 std::ostream& operator<<(std::ostream& os, const RctUnpackCollections& rhs);
46 
47 #endif /* RctUnpackCollections_h */
std::vector< L1CaloEmCand > L1CaloEmCollection
~RctUnpackCollections()
Destructor - the last action of this object is to put the rct collections into the event provided on ...
std::unique_ptr< L1CaloRegionCollection > m_rctCalo
Input calo regions.
RctUnpackCollections(edm::Event &event)
Construct with an event. The collections get put into the event when the object instance goes out of ...
std::ostream & operator<<(std::ostream &os, const RctUnpackCollections &rhs)
L1CaloRegionCollection *const rctCalo() const
Input calo regions from the RCT to the RCT.
L1CaloEmCollection *const rctEm() const
Input electrons from the RCT to the RCT.
RctUnpackCollections & operator=(const RctUnpackCollections &)=delete
Assignment op - deliberately not implemented!
std::vector< L1CaloRegion > L1CaloRegionCollection
std::unique_ptr< L1CaloEmCollection > m_rctEm
Input electrons.
Definition: event.py:1
edm::Event & m_event
The event the collections will be put into on destruction of the RctUnpackCollections instance...