CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1RetrieveL1Extra Class Reference

#include <L1RetrieveL1Extra.h>

List of all members.

Public Member Functions

const edm::InputTag inputTagL1ExtraColl (const L1GtObject &) const
 input tag for a given collection
const
l1extra::L1JetParticleCollection
l1ExtraCenJet () const
const
l1extra::L1EtMissParticleCollection
l1ExtraETM () const
const
l1extra::L1EtMissParticleCollection
l1ExtraETT () const
const
l1extra::L1JetParticleCollection
l1ExtraForJet () const
const
l1extra::L1HFRingsCollection
l1ExtraHfBitCounts () const
const
l1extra::L1HFRingsCollection
l1ExtraHfRingEtSums () const
const
l1extra::L1EtMissParticleCollection
l1ExtraHTM () const
const
l1extra::L1EtMissParticleCollection
l1ExtraHTT () const
const
l1extra::L1EmParticleCollection
l1ExtraIsoEG () const
const
l1extra::L1MuonParticleCollection
l1ExtraMuon () const
 return retrieved L1Extra collections
const
l1extra::L1EmParticleCollection
l1ExtraNoIsoEG () const
const
l1extra::L1JetParticleCollection
l1ExtraTauJet () const
 L1RetrieveL1Extra (const edm::ParameterSet &)
void printL1Extra (std::ostream &, const L1GtObject &) const
 print all L1GtObject objects from all bxInEvent
void printL1Extra (std::ostream &, const int bxInEvent) const
 print all L1Extra collections from a given BxInEvent
void printL1Extra (std::ostream &) const
 print all L1Extra collections from all BxInEvent
void printL1Extra (std::ostream &, const L1GtObject &, const int bxInEvent) const
 print all L1GtObject objects from bxInEvent
void printL1Extra (std::ostream &oStr, const L1GtObject &gtObject, const bool checkBxInEvent, const int bxInEvent, const bool checkObjIndexInColl, const int objIndexInColl) const
void retrieveL1ExtraObjects (const edm::Event &, const edm::EventSetup &)
const bool validL1ExtraCenJet () const
const bool validL1ExtraColl (const L1GtObject &) const
const bool validL1ExtraETM () const
const bool validL1ExtraETT () const
const bool validL1ExtraForJet () const
const bool validL1ExtraHfBitCounts () const
const bool validL1ExtraHfRingEtSums () const
const bool validL1ExtraHTM () const
const bool validL1ExtraHTT () const
const bool validL1ExtraIsoEG () const
const bool validL1ExtraMuon () const
 validity for retrieval of L1Extra products (false: product not found)
const bool validL1ExtraNoIsoEG () const
const bool validL1ExtraTauJet () const
virtual ~L1RetrieveL1Extra ()

Private Attributes

const
l1extra::L1JetParticleCollection
m_l1ExtraCenJet
const
l1extra::L1EtMissParticleCollection
m_l1ExtraETM
const
l1extra::L1EtMissParticleCollection
m_l1ExtraETT
const
l1extra::L1JetParticleCollection
m_l1ExtraForJet
const
l1extra::L1HFRingsCollection
m_l1ExtraHfBitCounts
const
l1extra::L1HFRingsCollection
m_l1ExtraHfRingEtSums
const
l1extra::L1EtMissParticleCollection
m_l1ExtraHTM
const
l1extra::L1EtMissParticleCollection
m_l1ExtraHTT
const
l1extra::L1EmParticleCollection
m_l1ExtraIsoEG
const
l1extra::L1MuonParticleCollection
m_l1ExtraMuon
 retrieved L1Extra collections
const
l1extra::L1EmParticleCollection
m_l1ExtraNoIsoEG
const
l1extra::L1JetParticleCollection
m_l1ExtraTauJet
int m_nrBxInEventGct
int m_nrBxInEventGmt
edm::InputTag m_tagL1ExtraCenJet
edm::InputTag m_tagL1ExtraEtMissHTM
edm::InputTag m_tagL1ExtraEtMissMET
edm::InputTag m_tagL1ExtraForJet
edm::InputTag m_tagL1ExtraHFRings
edm::InputTag m_tagL1ExtraIsoEG
edm::InputTag m_tagL1ExtraMuon
 input parameters
edm::InputTag m_tagL1ExtraNoIsoEG
edm::InputTag m_tagL1ExtraTauJet
bool m_validL1ExtraCenJet
bool m_validL1ExtraETM
bool m_validL1ExtraETT
bool m_validL1ExtraForJet
bool m_validL1ExtraHfBitCounts
bool m_validL1ExtraHfRingEtSums
bool m_validL1ExtraHTM
bool m_validL1ExtraHTT
bool m_validL1ExtraIsoEG
bool m_validL1ExtraMuon
 validity for retrieval of L1Extra products (false: product not found)
bool m_validL1ExtraNoIsoEG
bool m_validL1ExtraTauJet

Detailed Description

Description: retrieve L1Extra collection, return validity flag and pointer to collection.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 58 of file L1RetrieveL1Extra.h.


Constructor & Destructor Documentation

L1RetrieveL1Extra::L1RetrieveL1Extra ( const edm::ParameterSet paramSet) [explicit]
L1RetrieveL1Extra::~L1RetrieveL1Extra ( ) [virtual]

Definition at line 81 of file L1RetrieveL1Extra.cc.

                                      {

    // empty

}

Member Function Documentation

const edm::InputTag L1RetrieveL1Extra::inputTagL1ExtraColl ( const L1GtObject gtObject) const

input tag for a given collection

Definition at line 274 of file L1RetrieveL1Extra.cc.

References BPTX, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, JetCounts, m_tagL1ExtraCenJet, m_tagL1ExtraEtMissHTM, m_tagL1ExtraEtMissMET, m_tagL1ExtraForJet, m_tagL1ExtraHFRings, m_tagL1ExtraIsoEG, m_tagL1ExtraMuon, m_tagL1ExtraNoIsoEG, m_tagL1ExtraTauJet, Mu, NoIsoEG, ObjNull, TauJet, and TechTrig.

Referenced by printL1Extra().

                                                                                         {

    edm::InputTag emptyInputTag;

    switch (gtObject) {

        case Mu: {
            return m_tagL1ExtraMuon;
        }
            break;

        case NoIsoEG: {
            return m_tagL1ExtraNoIsoEG;
        }
            break;

        case IsoEG: {
            return m_tagL1ExtraIsoEG;
        }
            break;

        case CenJet: {
            return m_tagL1ExtraCenJet;
        }
            break;

        case ForJet: {
            return m_tagL1ExtraForJet;
        }
            break;

        case TauJet: {
            return m_tagL1ExtraTauJet;
        }
            break;

        case ETM:
        case ETT: {
            return m_tagL1ExtraEtMissMET;
        }
            break;

        case HTT:
        case HTM: {
            return m_tagL1ExtraEtMissHTM;
        }
            break;

        case JetCounts: {
            // TODO update when JetCounts will be available
            return emptyInputTag;
        }
            break;

        case HfBitCounts:
        case HfRingEtSums: {
            return m_tagL1ExtraHFRings;
        }
            break;

        case TechTrig: {
            return emptyInputTag;
        }
            break;

        case Castor: {
            return emptyInputTag;
        }
            break;

        case BPTX: {
            return emptyInputTag;
        }
            break;

        case GtExternal: {
            return emptyInputTag;
        }
            break;

        case ObjNull: {
            return emptyInputTag;
        }
            break;

        default: {
            edm::LogInfo("L1GtObject") << "\n  '" << gtObject
                    << "' is not a recognized L1GtObject. ";

            return emptyInputTag;

        }
            break;
    }

    return emptyInputTag;
}
const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::l1ExtraCenJet ( ) const [inline]

Definition at line 142 of file L1RetrieveL1Extra.h.

References m_l1ExtraCenJet.

Referenced by L1ExtraDQM::analyzeL1ExtraCenJet().

                                                                       {
        return m_l1ExtraCenJet;
    }
const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraETM ( ) const [inline]

Definition at line 155 of file L1RetrieveL1Extra.h.

References m_l1ExtraETM.

Referenced by L1ExtraDQM::analyzeL1ExtraETM().

                                                                       {
        return m_l1ExtraETM;
    }
const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraETT ( ) const [inline]

Definition at line 152 of file L1RetrieveL1Extra.h.

References m_l1ExtraETT.

Referenced by L1ExtraDQM::analyzeL1ExtraETT().

                                                                       {
        return m_l1ExtraETT;
    }
const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::l1ExtraForJet ( ) const [inline]

Definition at line 145 of file L1RetrieveL1Extra.h.

References m_l1ExtraForJet.

Referenced by L1ExtraDQM::analyzeL1ExtraForJet().

                                                                       {
        return m_l1ExtraForJet;
    }
const l1extra::L1HFRingsCollection* L1RetrieveL1Extra::l1ExtraHfBitCounts ( ) const [inline]

Definition at line 165 of file L1RetrieveL1Extra.h.

References m_l1ExtraHfBitCounts.

Referenced by L1ExtraDQM::analyzeL1ExtraHfBitCounts().

                                                                        {
        return m_l1ExtraHfBitCounts;
    }
const l1extra::L1HFRingsCollection* L1RetrieveL1Extra::l1ExtraHfRingEtSums ( ) const [inline]

Definition at line 168 of file L1RetrieveL1Extra.h.

References m_l1ExtraHfRingEtSums.

Referenced by L1ExtraDQM::analyzeL1ExtraHfRingEtSums().

                                                                         {
        return m_l1ExtraHfRingEtSums;
    }
const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraHTM ( ) const [inline]

Definition at line 161 of file L1RetrieveL1Extra.h.

References m_l1ExtraHTM.

Referenced by L1ExtraDQM::analyzeL1ExtraHTM().

                                                                       {
        return m_l1ExtraHTM;
    }
const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraHTT ( ) const [inline]

Definition at line 158 of file L1RetrieveL1Extra.h.

References m_l1ExtraHTT.

Referenced by L1ExtraDQM::analyzeL1ExtraHTT().

                                                                       {
        return m_l1ExtraHTT;
    }
const l1extra::L1EmParticleCollection* L1RetrieveL1Extra::l1ExtraIsoEG ( ) const [inline]

Definition at line 135 of file L1RetrieveL1Extra.h.

References m_l1ExtraIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraIsoEG().

                                                                     {
        return m_l1ExtraIsoEG;
    }
const l1extra::L1MuonParticleCollection* L1RetrieveL1Extra::l1ExtraMuon ( ) const [inline]

return retrieved L1Extra collections

Definition at line 131 of file L1RetrieveL1Extra.h.

References m_l1ExtraMuon.

Referenced by L1ExtraDQM::analyzeL1ExtraMuon().

                                                                      {
        return m_l1ExtraMuon;
    }
const l1extra::L1EmParticleCollection* L1RetrieveL1Extra::l1ExtraNoIsoEG ( ) const [inline]

Definition at line 138 of file L1RetrieveL1Extra.h.

References m_l1ExtraNoIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraNoIsoEG().

                                                                       {
        return m_l1ExtraNoIsoEG;
    }
const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::l1ExtraTauJet ( ) const [inline]

Definition at line 148 of file L1RetrieveL1Extra.h.

References m_l1ExtraTauJet.

Referenced by L1ExtraDQM::analyzeL1ExtraTauJet().

                                                                       {
        return m_l1ExtraTauJet;
    }
void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr) const

print all L1Extra collections from all BxInEvent

Definition at line 1121 of file L1RetrieveL1Extra.cc.

References CenJet, ETM, ETT, ForJet, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, Mu, NoIsoEG, printL1Extra(), and TauJet.

                                                           {

    printL1Extra(oStr, Mu);
    printL1Extra(oStr, NoIsoEG);
    printL1Extra(oStr, IsoEG);
    printL1Extra(oStr, CenJet);
    printL1Extra(oStr, ForJet);
    printL1Extra(oStr, TauJet);
    printL1Extra(oStr, ETM);
    printL1Extra(oStr, ETT);
    printL1Extra(oStr, HTT);
    printL1Extra(oStr, HTM);
    // printL1Extra(oStr, JetCounts);
    printL1Extra(oStr, HfBitCounts);
    printL1Extra(oStr, HfRingEtSums);

}
void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const int  bxInEvent 
) const

print all L1Extra collections from a given BxInEvent

Definition at line 1104 of file L1RetrieveL1Extra.cc.

References CenJet, ETM, ETT, ForJet, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, Mu, NoIsoEG, printL1Extra(), and TauJet.

                                                                                 {

    printL1Extra(oStr, Mu, iBxInEvent);
    printL1Extra(oStr, NoIsoEG, iBxInEvent);
    printL1Extra(oStr, IsoEG, iBxInEvent);
    printL1Extra(oStr, CenJet, iBxInEvent);
    printL1Extra(oStr, ForJet, iBxInEvent);
    printL1Extra(oStr, TauJet, iBxInEvent);
    printL1Extra(oStr, ETM, iBxInEvent);
    printL1Extra(oStr, ETT, iBxInEvent);
    printL1Extra(oStr, HTT, iBxInEvent);
    printL1Extra(oStr, HTM, iBxInEvent);
    // printL1Extra(oStr, JetCounts, iBxInEvent);
    printL1Extra(oStr, HfBitCounts, iBxInEvent);
    printL1Extra(oStr, HfRingEtSums, iBxInEvent);
}
void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const L1GtObject gtObject,
const bool  checkBxInEvent,
const int  bxInEvent,
const bool  checkObjIndexInColl,
const int  objIndexInColl 
) const

user-friendly print of L1Extra TODO should have been defined in DataFormats for L1Extra collections... print L1GtObject object from bxInEvent, if checkBxInEvent is true, having the objIndexInColl order index in collection, if checkObjIndexInColl is true if checkBxInEvent and /or checkObjIndexInColl are false, print the objects without the bxInEvent and / or objIndexInColl check the combination checkBxInEvent = false, checkObjIndexInColl = true not supported

Definition at line 480 of file L1RetrieveL1Extra.cc.

References BPTX, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, inputTagL1ExtraColl(), IsoEG, JetCounts, l1extra::L1HFRings::kNumRings, l1GtObjectEnumToString(), m_l1ExtraCenJet, m_l1ExtraETM, m_l1ExtraETT, m_l1ExtraForJet, m_l1ExtraHfBitCounts, m_l1ExtraHfRingEtSums, m_l1ExtraHTM, m_l1ExtraHTT, m_l1ExtraIsoEG, m_l1ExtraMuon, m_l1ExtraNoIsoEG, m_l1ExtraTauJet, Mu, NoIsoEG, ObjNull, TauJet, TechTrig, and validL1ExtraColl().

Referenced by L1GtAnalyzer::analyzeTrigger(), and printL1Extra().

                                        {

    if (!validL1ExtraColl(gtObject)) {
        oStr << "\n L1Extra collection for L1 GT object "
                << l1GtObjectEnumToString(gtObject)
                << " with collection input tag " << inputTagL1ExtraColl(
                gtObject) << " not valid." << std::endl;
    }

    switch (gtObject) {

        case Mu: {
            oStr << "\n Mu collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1MuonParticleCollection::const_iterator iterColl =
                    m_l1ExtraMuon->begin(); iterColl
                    != m_l1ExtraMuon->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " PT = " << std::right << std::setw(6) << (iterColl->pt()) << " GeV"
                                    << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " PT = " << std::right << std::setw(6) << (iterColl->pt()) << " GeV"
                                        << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " PT = "
                            << std::right << std::setw(6) << (iterColl->pt()) << " GeV" << " eta = "
                            << std::right << std::setw(8) << (iterColl->eta()) << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }

        }
            break;

        case NoIsoEG: {
            oStr << "\n NoIsoEG collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1EmParticleCollection::const_iterator iterColl =
                    m_l1ExtraNoIsoEG->begin(); iterColl
                    != m_l1ExtraNoIsoEG->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " eta = "
                            << std::right << std::setw(8) << (iterColl->eta()) << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case IsoEG: {
            oStr << "\n IsoEG collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1EmParticleCollection::const_iterator iterColl =
                    m_l1ExtraIsoEG->begin(); iterColl != m_l1ExtraIsoEG->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " eta = "
                            << std::right << std::setw(8) << (iterColl->eta()) << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case CenJet: {
            oStr << "\n CenJet collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1JetParticleCollection::const_iterator iterColl =
                    m_l1ExtraCenJet->begin(); iterColl
                    != m_l1ExtraCenJet->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " eta = "
                            << std::right << std::setw(8) << (iterColl->eta()) << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case ForJet: {
            oStr << "\n ForJet collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1JetParticleCollection::const_iterator iterColl =
                    m_l1ExtraForJet->begin(); iterColl
                    != m_l1ExtraForJet->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " eta = "
                            << std::right << std::setw(8) << (iterColl->eta()) << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case TauJet: {
            oStr << "\n TauJet collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1JetParticleCollection::const_iterator iterColl =
                    m_l1ExtraTauJet->begin(); iterColl
                    != m_l1ExtraTauJet->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " eta = " << std::right << std::setw(8) << (iterColl->eta())
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " eta = "
                            << std::right << std::setw(8) << (iterColl->eta()) << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case ETM: {
            oStr << "\n ETM collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1EtMissParticleCollection::const_iterator iterColl =
                    m_l1ExtraETM->begin(); iterColl != m_l1ExtraETM->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case ETT: {
            oStr << "\n ETT collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1EtMissParticleCollection::const_iterator iterColl =
                    m_l1ExtraETT->begin(); iterColl != m_l1ExtraETT->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) <<(iterColl->etTotal()) << " GeV" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) <<(iterColl->etTotal()) << " GeV" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) <<(iterColl->etTotal()) << " GeV" << std::endl;

                }

            }
        }
            break;

        case HTT: {
            oStr << "\n HTT collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1EtMissParticleCollection::const_iterator iterColl =
                    m_l1ExtraHTT->begin(); iterColl != m_l1ExtraHTT->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) <<(iterColl->etTotal()) << " GeV" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) <<(iterColl->etTotal()) << " GeV" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) <<(iterColl->etTotal()) << " GeV" << std::endl;

                }

            }
        }
            break;

        case HTM: {
            oStr << "\n HTM collection\n" << std::endl;

            int indexInColl = -1;

            for (l1extra::L1EtMissParticleCollection::const_iterator iterColl =
                    m_l1ExtraHTM->begin(); iterColl != m_l1ExtraHTM->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        indexInColl++;

                        if (!checkObjIndexInColl) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                    << " indexInColl = " << indexInColl
                                    << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                    << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                        } else {
                            if (objIndexInColl == indexInColl) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " indexInColl = " << indexInColl
                                        << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
                                        << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
                            }
                        }
                    }
                } else {
                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx()) << " ET = "
                            << std::right << std::setw(6) << (iterColl->et()) << " GeV" << " phi = "
                            << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;

                }

            }
        }
            break;

        case JetCounts: {
            // TODO print if and when JetCounts will be available
        }
            break;

        case HfBitCounts: {
            oStr << "\n HfBitCounts collection\n" << std::endl;

            for (l1extra::L1HFRingsCollection::const_iterator iterColl =
                    m_l1ExtraHfBitCounts->begin(); iterColl
                    != m_l1ExtraHfBitCounts->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        if (!checkObjIndexInColl) {

                            for (int iCount = 0; iCount
                                    < l1extra::L1HFRings::kNumRings; ++iCount) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " count = " << iCount << " HF counts = "
                                        << (iterColl->hfBitCount(
                                                (l1extra::L1HFRings::HFRingLabels) iCount)) << std::endl;
                            }

                        } else {
                            for (int iCount = 0; iCount
                                    < l1extra::L1HFRings::kNumRings; ++iCount) {
                                if (objIndexInColl == iCount) {
                                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                            << " count = " << iCount
                                            << " HF counts = "
                                            << (iterColl->hfBitCount(
                                                    (l1extra::L1HFRings::HFRingLabels) iCount)) << std::endl;
                                }
                            }
                        }
                    }
                } else {
                    for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
                        if (objIndexInColl == iCount) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx())
                                    << " count = " << iCount << " HF counts = "
                                    << (iterColl->hfBitCount(
                                            (l1extra::L1HFRings::HFRingLabels) iCount)) << std::endl;
                        }
                    }

                }

            }
        }
            break;

        case HfRingEtSums: {
            oStr << "\n HfRingEtSums collection\n" << std::endl;

            for (l1extra::L1HFRingsCollection::const_iterator iterColl =
                    m_l1ExtraHfRingEtSums->begin(); iterColl
                    != m_l1ExtraHfRingEtSums->end(); ++iterColl) {

                if (checkBxInEvent) {
                    if (iterColl->bx() != bxInEvent) {
                        continue;
                        oStr << "\n   BxInEvent " << bxInEvent
                                << ": collection not in the event" << std::endl;
                    } else {

                        if (!checkObjIndexInColl) {

                            for (int iCount = 0; iCount
                                    < l1extra::L1HFRings::kNumRings; ++iCount) {
                                oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                        << " count = " << iCount
                                        << " HF ET sum = "
                                        << (iterColl->hfEtSum(
                                                (l1extra::L1HFRings::HFRingLabels) iCount)) << " GeV" << std::endl;
                            }

                        } else {
                            for (int iCount = 0; iCount
                                    < l1extra::L1HFRings::kNumRings; ++iCount) {
                                if (objIndexInColl == iCount) {
                                    oStr << "     bxInEvent = "  << std::right << std::setw(2) << bxInEvent
                                            << " count = " << iCount
                                            << " HF ET sum = "
                                            << (iterColl->hfEtSum(
                                                    (l1extra::L1HFRings::HFRingLabels) iCount)) << " GeV" << std::endl;
                                }
                            }
                        }
                    }
                } else {
                    for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
                        if (objIndexInColl == iCount) {
                            oStr << "     bxInEvent = "  << std::right << std::setw(2) << (iterColl->bx())
                                    << " count = " << iCount << " HF ET sum = "
                                    << (iterColl->hfEtSum(
                                            (l1extra::L1HFRings::HFRingLabels) iCount)) << " GeV" << std::endl;
                        }
                    }

                }

            }
        }
            break;

        case TechTrig: {
            // do nothing, not in L1Extra
        }
            break;

        case Castor: {
            // do nothing, not in L1Extra
        }
            break;

        case BPTX: {
            // do nothing, not in L1Extra
        }
            break;

        case GtExternal: {
            // do nothing, not in L1Extra
        }
            break;

        case ObjNull: {
            // do nothing, not in L1Extra
        }
            break;

        default: {
            edm::LogInfo("L1GtObject") << "\n  '" << gtObject
                    << "' is not a recognized L1GtObject. ";

            // do nothing

        }
            break;
    }

}
void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const L1GtObject gtObject,
const int  bxInEvent 
) const

print all L1GtObject objects from bxInEvent

Definition at line 1081 of file L1RetrieveL1Extra.cc.

References printL1Extra().

                                                               {

    bool checkBxInEvent = true;
    bool checkObjIndexInColl = false;
    int objIndexInColl = -1;

    printL1Extra(oStr, gtObject, checkBxInEvent, bxInEvent,
            checkObjIndexInColl, objIndexInColl);
}
void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const L1GtObject gtObject 
) const

print all L1GtObject objects from all bxInEvent

Definition at line 1092 of file L1RetrieveL1Extra.cc.

References printL1Extra().

                                          {

    bool checkBxInEvent = false;
    bool checkObjIndexInColl = false;
    int bxInEvent = 999;
    int objIndexInColl = -1;

    printL1Extra(oStr, gtObject, checkBxInEvent, bxInEvent,
            checkObjIndexInColl, objIndexInColl);
}
void L1RetrieveL1Extra::retrieveL1ExtraObjects ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)

retrieve L1Extra objects if a collection is not found, the corresponding m_valid(Object) is set to "false"

Definition at line 89 of file L1RetrieveL1Extra.cc.

References edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, m_l1ExtraCenJet, m_l1ExtraETM, m_l1ExtraETT, m_l1ExtraForJet, m_l1ExtraHfBitCounts, m_l1ExtraHfRingEtSums, m_l1ExtraHTM, m_l1ExtraHTT, m_l1ExtraIsoEG, m_l1ExtraMuon, m_l1ExtraNoIsoEG, m_l1ExtraTauJet, m_tagL1ExtraCenJet, m_tagL1ExtraEtMissHTM, m_tagL1ExtraEtMissMET, m_tagL1ExtraForJet, m_tagL1ExtraHFRings, m_tagL1ExtraIsoEG, m_tagL1ExtraMuon, m_tagL1ExtraNoIsoEG, m_tagL1ExtraTauJet, m_validL1ExtraCenJet, m_validL1ExtraETM, m_validL1ExtraETT, m_validL1ExtraForJet, m_validL1ExtraHfBitCounts, m_validL1ExtraHfRingEtSums, m_validL1ExtraHTM, m_validL1ExtraHTT, m_validL1ExtraIsoEG, m_validL1ExtraMuon, m_validL1ExtraNoIsoEG, m_validL1ExtraTauJet, and edm::Handle< T >::product().

Referenced by L1ExtraDQM::analyze(), L1ExtraRecoDQM::analyze(), and L1GtAnalyzer::analyzeTrigger().

                                      {

    //
    edm::Handle<l1extra::L1MuonParticleCollection> collL1ExtraMuon;
    iEvent.getByLabel(m_tagL1ExtraMuon, collL1ExtraMuon);

    if (collL1ExtraMuon.isValid()) {
        m_validL1ExtraMuon = true;
        m_l1ExtraMuon = collL1ExtraMuon.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1MuonParticleCollection with input tag \n  "
                << m_tagL1ExtraMuon << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraMuon = false;
        m_l1ExtraMuon = 0;

    }

    //
    edm::Handle<l1extra::L1EmParticleCollection> collL1ExtraIsoEG;
    iEvent.getByLabel(m_tagL1ExtraIsoEG, collL1ExtraIsoEG);

    if (collL1ExtraIsoEG.isValid()) {
        m_validL1ExtraIsoEG = true;
        m_l1ExtraIsoEG = collL1ExtraIsoEG.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1EmParticleCollection with input tag \n  "
                << m_tagL1ExtraIsoEG << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraIsoEG = false;
        m_l1ExtraIsoEG = 0;

    }

    edm::Handle<l1extra::L1EmParticleCollection> collL1ExtraNoIsoEG;
    iEvent.getByLabel(m_tagL1ExtraNoIsoEG, collL1ExtraNoIsoEG);

    if (collL1ExtraNoIsoEG.isValid()) {
        m_validL1ExtraNoIsoEG = true;
        m_l1ExtraNoIsoEG = collL1ExtraNoIsoEG.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1EmParticleCollection with input tag \n  "
                << m_tagL1ExtraNoIsoEG << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraNoIsoEG = false;
        m_l1ExtraNoIsoEG = 0;

    }

    //
    edm::Handle<l1extra::L1JetParticleCollection> collL1ExtraCenJet;
    iEvent.getByLabel(m_tagL1ExtraCenJet, collL1ExtraCenJet);

    if (collL1ExtraCenJet.isValid()) {
        m_validL1ExtraCenJet = true;
        m_l1ExtraCenJet = collL1ExtraCenJet.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1JetParticleCollection with input tag \n  "
                << m_tagL1ExtraCenJet << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraCenJet = false;
        m_l1ExtraCenJet = 0;

    }

    edm::Handle<l1extra::L1JetParticleCollection> collL1ExtraForJet;
    iEvent.getByLabel(m_tagL1ExtraForJet, collL1ExtraForJet);

    if (collL1ExtraForJet.isValid()) {
        m_validL1ExtraForJet = true;
        m_l1ExtraForJet = collL1ExtraForJet.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1JetParticleCollection with input tag \n  "
                << m_tagL1ExtraForJet << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraForJet = false;
        m_l1ExtraForJet = 0;

    }

    edm::Handle<l1extra::L1JetParticleCollection> collL1ExtraTauJet;
    iEvent.getByLabel(m_tagL1ExtraTauJet, collL1ExtraTauJet);

    if (collL1ExtraTauJet.isValid()) {
        m_validL1ExtraTauJet = true;
        m_l1ExtraTauJet = collL1ExtraTauJet.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1JetParticleCollection with input tag \n  "
                << m_tagL1ExtraTauJet << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraTauJet = false;
        m_l1ExtraTauJet = 0;

    }

    //
    edm::Handle<l1extra::L1EtMissParticleCollection> collL1ExtraEtMissMET;
    iEvent.getByLabel(m_tagL1ExtraEtMissMET, collL1ExtraEtMissMET);

    if (collL1ExtraEtMissMET.isValid()) {
        m_validL1ExtraETT = true;
        m_validL1ExtraETM = true;
        m_l1ExtraETT = collL1ExtraEtMissMET.product();
        m_l1ExtraETM = collL1ExtraEtMissMET.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1EtMissParticleCollection with input tag \n  "
                << m_tagL1ExtraEtMissMET << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraETT = false;
        m_validL1ExtraETM = false;
        m_l1ExtraETT = 0;
        m_l1ExtraETM = 0;

    }

    edm::Handle<l1extra::L1EtMissParticleCollection> collL1ExtraEtMissHTM;
    iEvent.getByLabel(m_tagL1ExtraEtMissHTM, collL1ExtraEtMissHTM);

    if (collL1ExtraEtMissHTM.isValid()) {
        m_validL1ExtraHTT = true;
        m_validL1ExtraHTM = true;
        m_l1ExtraHTT = collL1ExtraEtMissHTM.product();
        m_l1ExtraHTM = collL1ExtraEtMissHTM.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1EtMissParticleCollection with input tag \n  "
                << m_tagL1ExtraEtMissHTM << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraHTT = false;
        m_validL1ExtraHTM = false;
        m_l1ExtraHTT = 0;
        m_l1ExtraHTM = 0;

    }

    //
    edm::Handle<l1extra::L1HFRingsCollection> collL1ExtraHFRings;
    iEvent.getByLabel(m_tagL1ExtraHFRings, collL1ExtraHFRings);

    if (collL1ExtraHFRings.isValid()) {
        m_validL1ExtraHfBitCounts = true;
        m_validL1ExtraHfRingEtSums = true;
        m_l1ExtraHfBitCounts = collL1ExtraHFRings.product();
        m_l1ExtraHfRingEtSums = collL1ExtraHFRings.product();
    } else {
        LogDebug("L1RetrieveL1Extra")
                << "\n l1extra::L1HFRingsCollection with input tag \n  "
                << m_tagL1ExtraHFRings << "\n not found in the event.\n"
                << "\n Return pointer 0 and false validity tag."
                << std::endl;

        m_validL1ExtraHfBitCounts = false;
        m_validL1ExtraHfRingEtSums = false;
        m_l1ExtraHfBitCounts = 0;
        m_l1ExtraHfRingEtSums = 0;

    }

}
const bool L1RetrieveL1Extra::validL1ExtraCenJet ( ) const [inline]

Definition at line 86 of file L1RetrieveL1Extra.h.

References m_validL1ExtraCenJet.

Referenced by L1ExtraDQM::analyzeL1ExtraCenJet().

                                                 {
        return m_validL1ExtraCenJet;
    }
const bool L1RetrieveL1Extra::validL1ExtraColl ( const L1GtObject gtObject) const

Definition at line 372 of file L1RetrieveL1Extra.cc.

References BPTX, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, JetCounts, m_validL1ExtraCenJet, m_validL1ExtraETM, m_validL1ExtraETT, m_validL1ExtraForJet, m_validL1ExtraHfBitCounts, m_validL1ExtraHfRingEtSums, m_validL1ExtraHTM, m_validL1ExtraHTT, m_validL1ExtraIsoEG, m_validL1ExtraMuon, m_validL1ExtraNoIsoEG, m_validL1ExtraTauJet, Mu, NoIsoEG, ObjNull, TauJet, and TechTrig.

Referenced by printL1Extra().

                                                                               {

    switch (gtObject) {

        case Mu: {
            return m_validL1ExtraMuon;
        }
            break;

        case NoIsoEG: {
            return m_validL1ExtraNoIsoEG;
        }
            break;

        case IsoEG: {
            return m_validL1ExtraIsoEG;
        }
            break;

        case CenJet: {
            return m_validL1ExtraCenJet;
        }
            break;

        case ForJet: {
            return m_validL1ExtraForJet;
        }
            break;

        case TauJet: {
            return m_validL1ExtraTauJet;
        }
            break;

        case ETM: {
            return m_validL1ExtraETM;
        }
            break;

        case ETT: {
            return m_validL1ExtraETT;
        }
            break;

        case HTT: {
            return m_validL1ExtraHTT;
        }
            break;

        case HTM: {
            return m_validL1ExtraHTM;
        }
            break;

        case JetCounts: {
            // TODO update when JetCounts will be available
            return false;
        }
            break;

        case HfBitCounts: {
            return m_validL1ExtraHfBitCounts;
        }
            break;

        case HfRingEtSums: {
            return m_validL1ExtraHfRingEtSums;
        }
            break;

        case TechTrig: {
            return false;
        }
            break;

        case Castor: {
            return false;
        }
            break;

        case BPTX: {
            return false;
        }
            break;

        case GtExternal: {
            return false;
        }
            break;

        case ObjNull: {
            return false;
        }
            break;

        default: {
            edm::LogInfo("L1GtObject") << "\n  '" << gtObject
                    << "' is not a recognized L1GtObject. ";

            return false;

        }
            break;
    }

    return false;
}
const bool L1RetrieveL1Extra::validL1ExtraETM ( ) const [inline]

Definition at line 103 of file L1RetrieveL1Extra.h.

References m_validL1ExtraETM.

Referenced by L1ExtraDQM::analyzeL1ExtraETM().

                                              {
        return m_validL1ExtraETM;
    }
const bool L1RetrieveL1Extra::validL1ExtraETT ( ) const [inline]

Definition at line 99 of file L1RetrieveL1Extra.h.

References m_validL1ExtraETT.

Referenced by L1ExtraDQM::analyzeL1ExtraETT().

                                              {
        return m_validL1ExtraETT;
    }
const bool L1RetrieveL1Extra::validL1ExtraForJet ( ) const [inline]

Definition at line 90 of file L1RetrieveL1Extra.h.

References m_validL1ExtraForJet.

Referenced by L1ExtraDQM::analyzeL1ExtraForJet().

                                                 {
        return m_validL1ExtraForJet;
    }
const bool L1RetrieveL1Extra::validL1ExtraHfBitCounts ( ) const [inline]
const bool L1RetrieveL1Extra::validL1ExtraHfRingEtSums ( ) const [inline]
const bool L1RetrieveL1Extra::validL1ExtraHTM ( ) const [inline]

Definition at line 111 of file L1RetrieveL1Extra.h.

References m_validL1ExtraHTM.

Referenced by L1ExtraDQM::analyzeL1ExtraHTM().

                                              {
        return m_validL1ExtraHTM;
    }
const bool L1RetrieveL1Extra::validL1ExtraHTT ( ) const [inline]

Definition at line 107 of file L1RetrieveL1Extra.h.

References m_validL1ExtraHTT.

Referenced by L1ExtraDQM::analyzeL1ExtraHTT().

                                              {
        return m_validL1ExtraHTT;
    }
const bool L1RetrieveL1Extra::validL1ExtraIsoEG ( ) const [inline]

Definition at line 77 of file L1RetrieveL1Extra.h.

References m_validL1ExtraIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraIsoEG().

                                                {
        return m_validL1ExtraIsoEG;
    }
const bool L1RetrieveL1Extra::validL1ExtraMuon ( ) const [inline]

validity for retrieval of L1Extra products (false: product not found)

Definition at line 72 of file L1RetrieveL1Extra.h.

References m_validL1ExtraMuon.

Referenced by L1ExtraDQM::analyzeL1ExtraMuon().

                                               {
        return m_validL1ExtraMuon;
    }
const bool L1RetrieveL1Extra::validL1ExtraNoIsoEG ( ) const [inline]

Definition at line 81 of file L1RetrieveL1Extra.h.

References m_validL1ExtraNoIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraNoIsoEG().

                                                  {
        return m_validL1ExtraNoIsoEG;
    }
const bool L1RetrieveL1Extra::validL1ExtraTauJet ( ) const [inline]

Definition at line 94 of file L1RetrieveL1Extra.h.

References m_validL1ExtraTauJet.

Referenced by L1ExtraDQM::analyzeL1ExtraTauJet().

                                                 {
        return m_validL1ExtraTauJet;
    }

Member Data Documentation

Definition at line 249 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraCenJet(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 254 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraETM(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 253 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraETT(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 250 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraForJet(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 258 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHfBitCounts(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 259 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHfRingEtSums(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 256 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHTM(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 255 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHTT(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 246 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraIsoEG(), printL1Extra(), and retrieveL1ExtraObjects().

retrieved L1Extra collections

Definition at line 244 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraMuon(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 247 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraNoIsoEG(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 251 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraTauJet(), printL1Extra(), and retrieveL1ExtraObjects().

Definition at line 221 of file L1RetrieveL1Extra.h.

Definition at line 220 of file L1RetrieveL1Extra.h.

Definition at line 211 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 216 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 215 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 212 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 218 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 208 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

input parameters

input tags for L1Extra objects

Definition at line 206 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 209 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 213 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), and retrieveL1ExtraObjects().

Definition at line 235 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraETM().

Definition at line 234 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraETT().

Definition at line 237 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraHTM().

Definition at line 236 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraHTT().

validity for retrieval of L1Extra products (false: product not found)

Definition at line 225 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraMuon().