RAII and useful methods for the many dataformat collections required by the GCT unpacker. More...
#include <GctUnpackCollections.h>
Public Member Functions | |
L1TriggerErrorCollection *const | errors () const |
Unpack error code collection. More... | |
L1GctJetCandCollection *const | gctCenJets () const |
GCT output: Central Jets collection. More... | |
L1GctEtHadCollection *const | gctEtHad () const |
GCT output: Hadronic transverse-energy (Ht) collection. More... | |
L1GctEtMissCollection *const | gctEtMiss () const |
GCT output: Missing Et collection. More... | |
L1GctEtTotalCollection *const | gctEtTot () const |
GCT output: Total Et collection. More... | |
L1GctFibreCollection *const | gctFibres () const |
Raw fibre input to the GCT. More... | |
L1GctJetCandCollection *const | gctForJets () const |
GCT output: Forward Jets collection. More... | |
L1GctHFBitCountsCollection *const | gctHfBitCounts () const |
GCT output: Hadronic-Forward bit-counts collection. More... | |
L1GctHFRingEtSumsCollection *const | gctHfRingEtSums () const |
GCT output: Hadronic-Forward ring-sums collection. More... | |
L1GctHtMissCollection *const | gctHtMiss () const |
GCT output: Missing Ht collection. More... | |
L1GctInternEmCandCollection *const | gctInternEm () const |
Internal EM candidate collection. More... | |
L1GctInternEtSumCollection *const | gctInternEtSums () const |
Internal Et Sum collection. More... | |
L1GctInternHFDataCollection *const | gctInternHFData () const |
Internal Hadronic-Forward bit-counts/ring-sums data collection. More... | |
L1GctInternHtMissCollection *const | gctInternHtMiss () const |
Internal missing Ht collection. More... | |
L1GctInternJetDataCollection *const | gctInternJets () const |
Internal Jet candidate collection. More... | |
L1GctEmCandCollection *const | gctIsoEm () const |
GCT output: Isolated EM candidate collection. More... | |
L1GctJetCountsCollection *const | gctJetCounts () const |
DEPRECATED. ONLY GT NEEDS THIS. More... | |
L1GctEmCandCollection *const | gctNonIsoEm () const |
GCT output: Non-isolated EM candidate collection. More... | |
L1GctJetCandCollection *const | gctTauJets () const |
GCT output: Tau Jets collection. More... | |
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). More... | |
L1CaloRegionCollection *const | rctCalo () const |
Input calo regions from the RCT to the GCT. More... | |
L1CaloEmCollection *const | rctEm () const |
Input electrons from the RCT to the GCT. More... | |
~GctUnpackCollections () | |
Destructor - the last action of this object is to put the gct collections into the event provided on construction. More... | |
Private Member Functions | |
GctUnpackCollections (const GctUnpackCollections &) | |
Copy ctor - deliberately not implemented! More... | |
GctUnpackCollections & | operator= (const GctUnpackCollections &) |
Assignment op - deliberately not implemented! More... | |
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.
Definition at line 22 of file GctUnpackCollections.h.
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.
Referenced by errors().
GctUnpackCollections::~GctUnpackCollections | ( | ) |
Destructor - the last action of this object is to put the gct collections into the event provided on construction.
Definition at line 35 of file GctUnpackCollections.cc.
References m_errors, m_event, m_gctCenJets, m_gctEtHad, m_gctEtMiss, m_gctEtTot, m_gctFibres, m_gctForJets, m_gctHfBitCounts, m_gctHfRingEtSums, m_gctHtMiss, m_gctInternEm, m_gctInternEtSums, m_gctInternHFData, m_gctInternHtMiss, m_gctInternJets, m_gctIsoEm, m_gctJetCounts, m_gctNonIsoEm, m_gctTauJets, m_rctCalo, m_rctEm, eostools::move(), and edm::Event::put().
|
private |
Copy ctor - deliberately not implemented!
|
inline |
Unpack error code collection.
Definition at line 58 of file GctUnpackCollections.h.
References GctUnpackCollections(), m_errors, and operator=().
|
inline |
GCT output: Central Jets collection.
Definition at line 46 of file GctUnpackCollections.h.
References m_gctCenJets.
Referenced by GctFormatTranslateBase::gctJets(), and operator<<().
|
inline |
GCT output: Hadronic transverse-energy (Ht) collection.
Definition at line 52 of file GctUnpackCollections.h.
References m_gctEtHad.
Referenced by GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), and operator<<().
|
inline |
GCT output: Missing Et collection.
Definition at line 53 of file GctUnpackCollections.h.
References m_gctEtMiss.
Referenced by GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), and operator<<().
|
inline |
GCT output: Total Et collection.
Definition at line 51 of file GctUnpackCollections.h.
References m_gctEtTot.
Referenced by GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), and operator<<().
|
inline |
Raw fibre input to the GCT.
Definition at line 32 of file GctUnpackCollections.h.
References m_gctFibres.
Referenced by GctFormatTranslateV35::blockToFibres(), GctFormatTranslateV38::blockToFibres(), GctFormatTranslateMCLegacy::blockToFibres(), and operator<<().
|
inline |
GCT output: Forward Jets collection.
Definition at line 47 of file GctUnpackCollections.h.
References m_gctForJets.
Referenced by GctFormatTranslateBase::gctJets(), and operator<<().
|
inline |
GCT output: Hadronic-Forward bit-counts collection.
Definition at line 49 of file GctUnpackCollections.h.
References m_gctHfBitCounts.
Referenced by GctFormatTranslateV35::blockToGctJetCandsAndCounts(), GctFormatTranslateV38::blockToGctJetCandsAndCounts(), GctFormatTranslateMCLegacy::blockToGctJetCandsAndCounts(), and operator<<().
|
inline |
GCT output: Hadronic-Forward ring-sums collection.
Definition at line 50 of file GctUnpackCollections.h.
References m_gctHfRingEtSums.
Referenced by GctFormatTranslateV35::blockToGctJetCandsAndCounts(), GctFormatTranslateV38::blockToGctJetCandsAndCounts(), GctFormatTranslateMCLegacy::blockToGctJetCandsAndCounts(), and operator<<().
|
inline |
GCT output: Missing Ht collection.
Definition at line 54 of file GctUnpackCollections.h.
References m_gctHtMiss.
Referenced by GctFormatTranslateV38::blockToGctJetCandsAndCounts(), GctFormatTranslateMCLegacy::blockToGctJetCandsAndCounts(), and operator<<().
|
inline |
Internal EM candidate collection.
Definition at line 37 of file GctUnpackCollections.h.
References m_gctInternEm.
Referenced by GctFormatTranslateV35::blockToGctInternEmCand(), GctFormatTranslateV38::blockToGctInternEmCand(), and operator<<().
|
inline |
Internal Et Sum collection.
Definition at line 39 of file GctUnpackCollections.h.
References m_gctInternEtSums.
Referenced by GctFormatTranslateV35::blockToGctInternEtSums(), GctFormatTranslateV38::blockToGctInternEtSums(), GctFormatTranslateV35::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV38::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV35::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV35::blockToGctWheelOutputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelOutputInternEtAndRingSums(), and operator<<().
|
inline |
Internal Hadronic-Forward bit-counts/ring-sums data collection.
Definition at line 40 of file GctUnpackCollections.h.
References m_gctInternHFData.
Referenced by GctFormatTranslateV35::blockToGctInternRingSums(), GctFormatTranslateV38::blockToGctInternRingSums(), GctFormatTranslateV35::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV35::blockToGctWheelOutputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelOutputInternEtAndRingSums(), and operator<<().
|
inline |
Internal missing Ht collection.
Definition at line 41 of file GctUnpackCollections.h.
References m_gctInternHtMiss.
Referenced by GctFormatTranslateV38::blockToGctInternHtMissPostWheel(), GctFormatTranslateV38::blockToGctInternHtMissPreWheel(), and operator<<().
|
inline |
Internal Jet candidate collection.
Definition at line 38 of file GctUnpackCollections.h.
References m_gctInternJets.
Referenced by GctFormatTranslateV35::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV38::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV35::blockToGctJetClusterMinimal(), GctFormatTranslateV38::blockToGctJetClusterMinimal(), GctFormatTranslateV35::blockToGctJetPreCluster(), GctFormatTranslateV38::blockToGctJetPreCluster(), GctFormatTranslateV35::blockToGctTrigObjects(), GctFormatTranslateV38::blockToGctTrigObjects(), and operator<<().
|
inline |
GCT output: Isolated EM candidate collection.
Definition at line 44 of file GctUnpackCollections.h.
References m_gctIsoEm.
Referenced by GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), and operator<<().
|
inline |
DEPRECATED. ONLY GT NEEDS THIS.
Definition at line 55 of file GctUnpackCollections.h.
References m_gctJetCounts.
|
inline |
GCT output: Non-isolated EM candidate collection.
Definition at line 45 of file GctUnpackCollections.h.
References m_gctNonIsoEm.
Referenced by GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), and operator<<().
|
inline |
GCT output: Tau Jets collection.
Definition at line 48 of file GctUnpackCollections.h.
References m_gctTauJets.
Referenced by GctFormatTranslateBase::gctJets(), and operator<<().
|
private |
Assignment op - deliberately not implemented!
Referenced by errors().
|
inline |
Input calo regions from the RCT to the GCT.
Definition at line 34 of file GctUnpackCollections.h.
References m_rctCalo.
Referenced by GctFormatTranslateMCLegacy::blockToAllRctCaloRegions(), GctFormatTranslateV35::blockToRctCaloRegions(), GctFormatTranslateV38::blockToRctCaloRegions(), and operator<<().
|
inline |
Input electrons from the RCT to the GCT.
Definition at line 33 of file GctUnpackCollections.h.
References m_rctEm.
Referenced by GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), GctFormatTranslateMCLegacy::blockToRctEmCand(), and operator<<().
|
private |
Definition at line 94 of file GctUnpackCollections.h.
Referenced by errors(), and ~GctUnpackCollections().
|
private |
The event the collections will be put into on destruction of the GctUnpackCollections instance.
Definition at line 65 of file GctUnpackCollections.h.
Referenced by ~GctUnpackCollections().
|
private |
Definition at line 82 of file GctUnpackCollections.h.
Referenced by gctCenJets(), GctUnpackCollections(), and ~GctUnpackCollections().
|
private |
Definition at line 88 of file GctUnpackCollections.h.
Referenced by gctEtHad(), and ~GctUnpackCollections().
|
private |
Definition at line 89 of file GctUnpackCollections.h.
Referenced by gctEtMiss(), and ~GctUnpackCollections().
|
private |
Definition at line 87 of file GctUnpackCollections.h.
Referenced by gctEtTot(), and ~GctUnpackCollections().
|
private |
Raw fibre input to the GCT.
Definition at line 68 of file GctUnpackCollections.h.
Referenced by gctFibres(), and ~GctUnpackCollections().
|
private |
Definition at line 83 of file GctUnpackCollections.h.
Referenced by gctForJets(), GctUnpackCollections(), and ~GctUnpackCollections().
|
private |
Definition at line 85 of file GctUnpackCollections.h.
Referenced by gctHfBitCounts(), and ~GctUnpackCollections().
|
private |
Definition at line 86 of file GctUnpackCollections.h.
Referenced by gctHfRingEtSums(), and ~GctUnpackCollections().
|
private |
Definition at line 90 of file GctUnpackCollections.h.
Referenced by gctHtMiss(), and ~GctUnpackCollections().
|
private |
Definition at line 73 of file GctUnpackCollections.h.
Referenced by gctInternEm(), and ~GctUnpackCollections().
|
private |
Definition at line 75 of file GctUnpackCollections.h.
Referenced by gctInternEtSums(), and ~GctUnpackCollections().
|
private |
Definition at line 76 of file GctUnpackCollections.h.
Referenced by gctInternHFData(), and ~GctUnpackCollections().
|
private |
Definition at line 77 of file GctUnpackCollections.h.
Referenced by gctInternHtMiss(), and ~GctUnpackCollections().
|
private |
Definition at line 74 of file GctUnpackCollections.h.
Referenced by gctInternJets(), and ~GctUnpackCollections().
|
private |
Definition at line 80 of file GctUnpackCollections.h.
Referenced by gctIsoEm(), GctUnpackCollections(), and ~GctUnpackCollections().
|
private |
Definition at line 91 of file GctUnpackCollections.h.
Referenced by gctJetCounts(), and ~GctUnpackCollections().
|
private |
Definition at line 81 of file GctUnpackCollections.h.
Referenced by gctNonIsoEm(), and ~GctUnpackCollections().
|
private |
Definition at line 84 of file GctUnpackCollections.h.
Referenced by gctTauJets(), GctUnpackCollections(), and ~GctUnpackCollections().
|
private |
Input calo regions.
Definition at line 70 of file GctUnpackCollections.h.
Referenced by rctCalo(), and ~GctUnpackCollections().
|
private |
Input electrons.
Definition at line 69 of file GctUnpackCollections.h.
Referenced by rctEm(), and ~GctUnpackCollections().