CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
RctUnpackCollections Class Reference

#include <RctUnpackCollections.h>

Public Member Functions

L1CaloRegionCollection *const rctCalo () const
 Input calo regions from the RCT to the RCT. More...
 
L1CaloEmCollection *const rctEm () const
 Input electrons from the RCT to the RCT. More...
 
 RctUnpackCollections (edm::Event &event)
 Construct with an event. The collections get put into the event when the object instance goes out of scope (i.e. in the destructor). More...
 
 ~RctUnpackCollections ()
 Destructor - the last action of this object is to put the rct collections into the event provided on construction. More...
 

Private Member Functions

RctUnpackCollectionsoperator= (const RctUnpackCollections &)
 Assignment op - deliberately not implemented! More...
 
 RctUnpackCollections (const RctUnpackCollections &)
 Copy ctor - deliberately not implemented! More...
 

Private Attributes

edm::Eventm_event
 The event the collections will be put into on destruction of the RctUnpackCollections instance. More...
 
std::auto_ptr
< L1CaloRegionCollection
m_rctCalo
 Input calo regions. More...
 
std::auto_ptr< L1CaloEmCollectionm_rctEm
 Input electrons. More...
 

Detailed Description

Definition at line 18 of file RctUnpackCollections.h.

Constructor & Destructor Documentation

RctUnpackCollections::RctUnpackCollections ( edm::Event event)

Construct with an event. The collections get put into the event when the object instance goes out of scope (i.e. in the destructor).

Definition at line 4 of file RctUnpackCollections.cc.

4  :
5  m_event(event),
8 {
9  //m_rctIsoEm->reserve(4);
10  //m_rctCenJets->reserve(4);
11  //m_rctForJets->reserve(4);
12  //m_rctTauJets->reserve(4);
13  // ** DON'T RESERVE SPACE IN VECTORS FOR DEBUG UNPACK ITEMS! **
14 }
std::vector< L1CaloEmCand > L1CaloEmCollection
std::auto_ptr< L1CaloRegionCollection > m_rctCalo
Input calo regions.
std::auto_ptr< L1CaloEmCollection > m_rctEm
Input electrons.
std::vector< L1CaloRegion > L1CaloRegionCollection
edm::Event & m_event
The event the collections will be put into on destruction of the RctUnpackCollections instance...
RctUnpackCollections::~RctUnpackCollections ( )

Destructor - the last action of this object is to put the rct collections into the event provided on construction.

Definition at line 16 of file RctUnpackCollections.cc.

References m_event, m_rctCalo, m_rctEm, and edm::Event::put().

17 {
18  // RCT input collections
21 
22 }
std::auto_ptr< L1CaloRegionCollection > m_rctCalo
Input calo regions.
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
std::auto_ptr< L1CaloEmCollection > m_rctEm
Input electrons.
edm::Event & m_event
The event the collections will be put into on destruction of the RctUnpackCollections instance...
RctUnpackCollections::RctUnpackCollections ( const RctUnpackCollections )
private

Copy ctor - deliberately not implemented!

Member Function Documentation

RctUnpackCollections& RctUnpackCollections::operator= ( const RctUnpackCollections )
private

Assignment op - deliberately not implemented!

L1CaloRegionCollection* const RctUnpackCollections::rctCalo ( ) const
inline

Input calo regions from the RCT to the RCT.

Definition at line 29 of file RctUnpackCollections.h.

References m_rctCalo.

Referenced by operator<<(), and RctRawToDigi::unpackCTP7().

L1CaloEmCollection* const RctUnpackCollections::rctEm ( ) const
inline

Input electrons from the RCT to the RCT.

Definition at line 28 of file RctUnpackCollections.h.

References m_rctEm.

Referenced by operator<<(), and RctRawToDigi::unpackCTP7().

Member Data Documentation

edm::Event& RctUnpackCollections::m_event
private

The event the collections will be put into on destruction of the RctUnpackCollections instance.

Definition at line 36 of file RctUnpackCollections.h.

Referenced by ~RctUnpackCollections().

std::auto_ptr<L1CaloRegionCollection> RctUnpackCollections::m_rctCalo
private

Input calo regions.

Definition at line 40 of file RctUnpackCollections.h.

Referenced by rctCalo(), and ~RctUnpackCollections().

std::auto_ptr<L1CaloEmCollection> RctUnpackCollections::m_rctEm
private

Input electrons.

Definition at line 39 of file RctUnpackCollections.h.

Referenced by rctEm(), and ~RctUnpackCollections().