CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

GctUnpackCollections Class Reference

RAII and useful methods for the many dataformat collections required by the GCT unpacker. More...

#include <GctUnpackCollections.h>

List of all members.

Public Member Functions

L1TriggerErrorCollection *const errors () const
 Unpack error code collection.
L1GctJetCandCollection *const gctCenJets () const
 GCT output: Central Jets collection.
L1GctEtHadCollection *const gctEtHad () const
 GCT output: Hadronic transverse-energy (Ht) collection.
L1GctEtMissCollection *const gctEtMiss () const
 GCT output: Missing Et collection.
L1GctEtTotalCollection *const gctEtTot () const
 GCT output: Total Et collection.
L1GctFibreCollection *const gctFibres () const
 Raw fibre input to the GCT.
L1GctJetCandCollection *const gctForJets () const
 GCT output: Forward Jets collection.
L1GctHFBitCountsCollection *const gctHfBitCounts () const
 GCT output: Hadronic-Forward bit-counts collection.
L1GctHFRingEtSumsCollection *const gctHfRingEtSums () const
 GCT output: Hadronic-Forward ring-sums collection.
L1GctHtMissCollection *const gctHtMiss () const
 GCT output: Missing Ht collection.
L1GctInternEmCandCollection *const gctInternEm () const
 Internal EM candidate collection.
L1GctInternEtSumCollection *const gctInternEtSums () const
 Internal Et Sum collection.
L1GctInternHFDataCollection *const gctInternHFData () const
 Internal Hadronic-Forward bit-counts/ring-sums data collection.
L1GctInternHtMissCollection *const gctInternHtMiss () const
 Internal missing Ht collection.
L1GctInternJetDataCollection *const gctInternJets () const
 Internal Jet candidate collection.
L1GctEmCandCollection *const gctIsoEm () const
 GCT output: Isolated EM candidate collection.
L1GctJetCountsCollection *const gctJetCounts () const
 DEPRECATED. ONLY GT NEEDS THIS.
L1GctEmCandCollection *const gctNonIsoEm () const
 GCT output: Non-isolated EM candidate collection.
L1GctJetCandCollection *const gctTauJets () const
 GCT output: Tau Jets collection.
 GctUnpackCollections (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).
L1CaloRegionCollection *const rctCalo () const
 Input calo regions from the RCT to the GCT.
L1CaloEmCollection *const rctEm () const
 Input electrons from the RCT to the GCT.
 ~GctUnpackCollections ()
 Destructor - the last action of this object is to put the gct collections into the event provided on construction.

Private Member Functions

 GctUnpackCollections (const GctUnpackCollections &)
 Copy ctor - deliberately not implemented!
GctUnpackCollectionsoperator= (const GctUnpackCollections &)
 Assignment op - deliberately not implemented!

Private Attributes

std::auto_ptr
< L1TriggerErrorCollection
m_errors
edm::Eventm_event
 The event the collections will be put into on destruction of the GctUnpackCollections instance.
std::auto_ptr
< L1GctJetCandCollection
m_gctCenJets
std::auto_ptr
< L1GctEtHadCollection
m_gctEtHad
std::auto_ptr
< L1GctEtMissCollection
m_gctEtMiss
std::auto_ptr
< L1GctEtTotalCollection
m_gctEtTot
std::auto_ptr
< L1GctFibreCollection
m_gctFibres
 Raw fibre input to the GCT.
std::auto_ptr
< L1GctJetCandCollection
m_gctForJets
std::auto_ptr
< L1GctHFBitCountsCollection
m_gctHfBitCounts
std::auto_ptr
< L1GctHFRingEtSumsCollection
m_gctHfRingEtSums
std::auto_ptr
< L1GctHtMissCollection
m_gctHtMiss
std::auto_ptr
< L1GctInternEmCandCollection
m_gctInternEm
std::auto_ptr
< L1GctInternEtSumCollection
m_gctInternEtSums
std::auto_ptr
< L1GctInternHFDataCollection
m_gctInternHFData
std::auto_ptr
< L1GctInternHtMissCollection
m_gctInternHtMiss
std::auto_ptr
< L1GctInternJetDataCollection
m_gctInternJets
std::auto_ptr
< L1GctEmCandCollection
m_gctIsoEm
std::auto_ptr
< L1GctJetCountsCollection
m_gctJetCounts
std::auto_ptr
< L1GctEmCandCollection
m_gctNonIsoEm
std::auto_ptr
< L1GctJetCandCollection
m_gctTauJets
std::auto_ptr
< L1CaloRegionCollection
m_rctCalo
 Input calo regions.
std::auto_ptr< L1CaloEmCollectionm_rctEm
 Input electrons.

Detailed Description

RAII and useful methods for the many dataformat collections required by the GCT unpacker.

Deliberately made non-copyable with const members and private copy ctor, etc.

Author:
Robert Frazier
Revision:
1.1
Date:
2009/04/07 10:51:06

Definition at line 24 of file GctUnpackCollections.h.


Constructor & Destructor Documentation

GctUnpackCollections::GctUnpackCollections ( 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 GctUnpackCollections.cc.

References m_gctCenJets, m_gctForJets, m_gctIsoEm, and m_gctTauJets.

GctUnpackCollections::~GctUnpackCollections ( )
GctUnpackCollections::GctUnpackCollections ( const GctUnpackCollections ) [private]

Copy ctor - deliberately not implemented!


Member Function Documentation

L1TriggerErrorCollection* const GctUnpackCollections::errors ( void  ) const [inline]

Unpack error code collection.

Definition at line 60 of file GctUnpackCollections.h.

References m_errors.

L1GctJetCandCollection* const GctUnpackCollections::gctCenJets ( ) const [inline]

GCT output: Central Jets collection.

Definition at line 48 of file GctUnpackCollections.h.

References m_gctCenJets.

Referenced by GctFormatTranslateBase::gctJets(), and operator<<().

L1GctEtHadCollection* const GctUnpackCollections::gctEtHad ( ) const [inline]
L1GctEtMissCollection* const GctUnpackCollections::gctEtMiss ( ) const [inline]
L1GctEtTotalCollection* const GctUnpackCollections::gctEtTot ( ) const [inline]
L1GctFibreCollection* const GctUnpackCollections::gctFibres ( ) const [inline]
L1GctJetCandCollection* const GctUnpackCollections::gctForJets ( ) const [inline]

GCT output: Forward Jets collection.

Definition at line 49 of file GctUnpackCollections.h.

References m_gctForJets.

Referenced by GctFormatTranslateBase::gctJets(), and operator<<().

L1GctHFBitCountsCollection* const GctUnpackCollections::gctHfBitCounts ( ) const [inline]
L1GctHFRingEtSumsCollection* const GctUnpackCollections::gctHfRingEtSums ( ) const [inline]
L1GctHtMissCollection* const GctUnpackCollections::gctHtMiss ( ) const [inline]
L1GctInternEmCandCollection* const GctUnpackCollections::gctInternEm ( ) const [inline]

Internal EM candidate collection.

Definition at line 39 of file GctUnpackCollections.h.

References m_gctInternEm.

Referenced by GctFormatTranslateV35::blockToGctInternEmCand(), GctFormatTranslateV38::blockToGctInternEmCand(), and operator<<().

L1GctInternEtSumCollection* const GctUnpackCollections::gctInternEtSums ( ) const [inline]
L1GctInternHFDataCollection* const GctUnpackCollections::gctInternHFData ( ) const [inline]
L1GctInternHtMissCollection* const GctUnpackCollections::gctInternHtMiss ( ) const [inline]
L1GctInternJetDataCollection* const GctUnpackCollections::gctInternJets ( ) const [inline]
L1GctEmCandCollection* const GctUnpackCollections::gctIsoEm ( ) const [inline]
L1GctJetCountsCollection* const GctUnpackCollections::gctJetCounts ( ) const [inline]

DEPRECATED. ONLY GT NEEDS THIS.

Definition at line 57 of file GctUnpackCollections.h.

References m_gctJetCounts.

L1GctEmCandCollection* const GctUnpackCollections::gctNonIsoEm ( ) const [inline]
L1GctJetCandCollection* const GctUnpackCollections::gctTauJets ( ) const [inline]

GCT output: Tau Jets collection.

Definition at line 50 of file GctUnpackCollections.h.

References m_gctTauJets.

Referenced by GctFormatTranslateBase::gctJets(), and operator<<().

GctUnpackCollections& GctUnpackCollections::operator= ( const GctUnpackCollections ) [private]

Assignment op - deliberately not implemented!

L1CaloRegionCollection* const GctUnpackCollections::rctCalo ( ) const [inline]
L1CaloEmCollection* const GctUnpackCollections::rctEm ( ) const [inline]

Member Data Documentation

Definition at line 96 of file GctUnpackCollections.h.

Referenced by errors(), and ~GctUnpackCollections().

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

Definition at line 67 of file GctUnpackCollections.h.

Referenced by ~GctUnpackCollections().

Definition at line 84 of file GctUnpackCollections.h.

Referenced by gctCenJets(), GctUnpackCollections(), and ~GctUnpackCollections().

Definition at line 90 of file GctUnpackCollections.h.

Referenced by gctEtHad(), and ~GctUnpackCollections().

Definition at line 91 of file GctUnpackCollections.h.

Referenced by gctEtMiss(), and ~GctUnpackCollections().

Definition at line 89 of file GctUnpackCollections.h.

Referenced by gctEtTot(), and ~GctUnpackCollections().

Raw fibre input to the GCT.

Definition at line 70 of file GctUnpackCollections.h.

Referenced by gctFibres(), and ~GctUnpackCollections().

Definition at line 85 of file GctUnpackCollections.h.

Referenced by gctForJets(), GctUnpackCollections(), and ~GctUnpackCollections().

Definition at line 87 of file GctUnpackCollections.h.

Referenced by gctHfBitCounts(), and ~GctUnpackCollections().

Definition at line 88 of file GctUnpackCollections.h.

Referenced by gctHfRingEtSums(), and ~GctUnpackCollections().

Definition at line 92 of file GctUnpackCollections.h.

Referenced by gctHtMiss(), and ~GctUnpackCollections().

Definition at line 75 of file GctUnpackCollections.h.

Referenced by gctInternEm(), and ~GctUnpackCollections().

Definition at line 77 of file GctUnpackCollections.h.

Referenced by gctInternEtSums(), and ~GctUnpackCollections().

Definition at line 78 of file GctUnpackCollections.h.

Referenced by gctInternHFData(), and ~GctUnpackCollections().

Definition at line 79 of file GctUnpackCollections.h.

Referenced by gctInternHtMiss(), and ~GctUnpackCollections().

Definition at line 76 of file GctUnpackCollections.h.

Referenced by gctInternJets(), and ~GctUnpackCollections().

Definition at line 82 of file GctUnpackCollections.h.

Referenced by gctIsoEm(), GctUnpackCollections(), and ~GctUnpackCollections().

Definition at line 93 of file GctUnpackCollections.h.

Referenced by gctJetCounts(), and ~GctUnpackCollections().

Definition at line 83 of file GctUnpackCollections.h.

Referenced by gctNonIsoEm(), and ~GctUnpackCollections().

Definition at line 86 of file GctUnpackCollections.h.

Referenced by gctTauJets(), GctUnpackCollections(), and ~GctUnpackCollections().

Input calo regions.

Definition at line 72 of file GctUnpackCollections.h.

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

Input electrons.

Definition at line 71 of file GctUnpackCollections.h.

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