test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
GctUnpackCollections.h File Reference
#include "FWCore/Framework/interface/Event.h"
#include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
#include "DataFormats/L1Trigger/interface/L1TriggerError.h"

Go to the source code of this file.

Classes

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

Functions

std::ostream & operator<< (std::ostream &os, const GctUnpackCollections &rhs)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const GctUnpackCollections rhs 
)

Definition at line 67 of file GctUnpackCollections.cc.

References GctUnpackCollections::gctCenJets(), GctUnpackCollections::gctEtHad(), GctUnpackCollections::gctEtMiss(), GctUnpackCollections::gctEtTot(), GctUnpackCollections::gctFibres(), GctUnpackCollections::gctForJets(), GctUnpackCollections::gctHfBitCounts(), GctUnpackCollections::gctHfRingEtSums(), GctUnpackCollections::gctHtMiss(), GctUnpackCollections::gctInternEm(), GctUnpackCollections::gctInternEtSums(), GctUnpackCollections::gctInternHFData(), GctUnpackCollections::gctInternHtMiss(), GctUnpackCollections::gctInternJets(), GctUnpackCollections::gctIsoEm(), GctUnpackCollections::gctNonIsoEm(), GctUnpackCollections::gctTauJets(), GctUnpackCollections::rctCalo(), and GctUnpackCollections::rctEm().

68 {
69  // GCT input collections
70  os << "Read " << rhs.gctFibres()->size() << " GCT raw fibre data\n"
71  << "Read " << rhs.rctEm()->size() << " RCT EM candidates\n"
72  << "Read " << rhs.rctCalo()->size() << " RCT Calo Regions\n"
73 
74  // GCT internal collections
75  << "Read " << rhs.gctInternEm()->size() << " GCT intermediate EM candidates\n"
76  << "Read " << rhs.gctInternJets()->size() << " GCT intermediate jet candidates\n"
77  << "Read " << rhs.gctInternEtSums()->size() << " GCT intermediate et sums\n"
78  << "Read " << rhs.gctInternHFData()->size() << " GCT intermediate HF data\n"
79  << "Read " << rhs.gctInternHtMiss()->size() << " GCT intermediate Missing Ht\n"
80 
81  // GCT output collections
82  << "Read " << rhs.gctIsoEm()->size() << " GCT iso EM candidates\n"
83  << "Read " << rhs.gctNonIsoEm()->size() << " GCT non-iso EM candidates\n"
84  << "Read " << rhs.gctCenJets()->size() << " GCT central jet candidates\n"
85  << "Read " << rhs.gctForJets()->size() << " GCT forward jet candidates\n"
86  << "Read " << rhs.gctTauJets()->size() << " GCT tau jet candidates\n"
87  << "Read " << rhs.gctHfBitCounts()->size() << " GCT HF ring bit counts\n"
88  << "Read " << rhs.gctHfRingEtSums()->size() << " GCT HF ring et sums\n"
89  << "Read " << rhs.gctEtTot()->size() << " GCT total et\n"
90  << "Read " << rhs.gctEtHad()->size() << " GCT ht\n"
91  << "Read " << rhs.gctEtMiss()->size() << " GCT met\n"
92  << "Read " << rhs.gctHtMiss()->size() << " GCT mht";
93 
94  // Any point in putting in an m_errors()->size()? Not sure.
95 
96  return os;
97 }
L1GctJetCandCollection *const gctTauJets() const
GCT output: Tau Jets collection.
L1GctHFBitCountsCollection *const gctHfBitCounts() const
GCT output: Hadronic-Forward bit-counts collection.
L1GctEmCandCollection *const gctNonIsoEm() const
GCT output: Non-isolated EM candidate collection.
L1CaloEmCollection *const rctEm() const
Input electrons from the RCT to the GCT.
L1GctHtMissCollection *const gctHtMiss() const
GCT output: Missing Ht collection.
L1GctInternHFDataCollection *const gctInternHFData() const
Internal Hadronic-Forward bit-counts/ring-sums data collection.
L1GctInternEtSumCollection *const gctInternEtSums() const
Internal Et Sum collection.
L1GctEtTotalCollection *const gctEtTot() const
GCT output: Total Et collection.
L1GctJetCandCollection *const gctCenJets() const
GCT output: Central Jets collection.
L1GctInternHtMissCollection *const gctInternHtMiss() const
Internal missing Ht collection.
L1GctEtMissCollection *const gctEtMiss() const
GCT output: Missing Et collection.
L1GctHFRingEtSumsCollection *const gctHfRingEtSums() const
GCT output: Hadronic-Forward ring-sums collection.
L1GctFibreCollection *const gctFibres() const
Raw fibre input to the GCT.
L1GctEmCandCollection *const gctIsoEm() const
GCT output: Isolated EM candidate collection.
L1GctInternJetDataCollection *const gctInternJets() const
Internal Jet candidate collection.
L1GctEtHadCollection *const gctEtHad() const
GCT output: Hadronic transverse-energy (Ht) collection.
L1GctInternEmCandCollection *const gctInternEm() const
Internal EM candidate collection.
L1CaloRegionCollection *const rctCalo() const
Input calo regions from the RCT to the GCT.
L1GctJetCandCollection *const gctForJets() const
GCT output: Forward Jets collection.