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 public:
22 
25 
26  // Collections for storing RCT input data.
27  L1CaloEmCollection* const rctEm() const { return m_rctEm.get(); }
29  return m_rctCalo.get();
30  }
31 
32 private:
35  delete;
36 
37  edm::Event&
39 
40  // Collections for storing RCT input data.
41  std::unique_ptr<L1CaloEmCollection> m_rctEm;
42  std::unique_ptr<L1CaloRegionCollection> m_rctCalo;
43 };
44 
45 // Pretty print for the RctUnpackCollections sub-class
46 std::ostream& operator<<(std::ostream& os, const RctUnpackCollections& rhs);
47 
48 #endif /* RctUnpackCollections_h */
RctUnpackCollections::operator=
RctUnpackCollections & operator=(const RctUnpackCollections &)=delete
Assignment op - deliberately not implemented!
L1GctCollections.h
RctUnpackCollections::~RctUnpackCollections
~RctUnpackCollections()
Destructor - the last action of this object is to put the rct collections into the event provided on ...
Definition: RctUnpackCollections.cc:12
RctUnpackCollections::m_event
edm::Event & m_event
The event the collections will be put into on destruction of the RctUnpackCollections instance.
Definition: RctUnpackCollections.h:38
RctUnpackCollections::rctEm
L1CaloEmCollection *const rctEm() const
Input electrons from the RCT to the RCT.
Definition: RctUnpackCollections.h:27
L1TriggerError.h
RctUnpackCollections::rctCalo
L1CaloRegionCollection *const rctCalo() const
Input calo regions from the RCT to the RCT.
Definition: RctUnpackCollections.h:28
L1CaloEmCollection
std::vector< L1CaloEmCand > L1CaloEmCollection
Definition: L1CaloCollections.h:10
RctUnpackCollections::RctUnpackCollections
RctUnpackCollections(edm::Event &event)
Construct with an event. The collections get put into the event when the object instance goes out of ...
Definition: RctUnpackCollections.cc:3
operator<<
std::ostream & operator<<(std::ostream &os, const RctUnpackCollections &rhs)
Definition: RctUnpackCollections.cc:18
Event.h
L1CaloCollections.h
RctUnpackCollections::m_rctCalo
std::unique_ptr< L1CaloRegionCollection > m_rctCalo
Input calo regions.
Definition: RctUnpackCollections.h:42
L1CaloRegionCollection
std::vector< L1CaloRegion > L1CaloRegionCollection
Definition: L1CaloCollections.h:11
RctUnpackCollections
Definition: RctUnpackCollections.h:18
RctUnpackCollections::m_rctEm
std::unique_ptr< L1CaloEmCollection > m_rctEm
Input electrons.
Definition: RctUnpackCollections.h:41
event
Definition: event.py:1
edm::Event
Definition: Event.h:73