#include <L1GlobalTriggerPSB.h>
Public Member Functions | |
void | fillPsbBlock (edm::Event &iEvent, const boost::uint16_t &activeBoardsGtDaq, const int recordLength0, const int recordLength1, const unsigned int altNrBxBoardDaq, const std::vector< L1GtBoard > &boardMaps, const int iBxInEvent, std::auto_ptr< L1GlobalTriggerReadoutRecord > >DaqReadoutRecord) |
fill the content of active PSB boards More... | |
const std::vector< const L1GctCand * > * | getCandL1CenJet () const |
pointer to CenJet data list More... | |
const L1GctEtMiss * | getCandL1ETM () const |
pointer to ETM data list More... | |
const L1GctEtTotal * | getCandL1ETT () const |
pointer to ETT data list More... | |
const std::vector< const L1GctCand * > * | getCandL1ForJet () const |
pointer to ForJet data list More... | |
const L1GctHFBitCounts * | getCandL1HfBitCounts () const |
pointer to HfBitCounts data list More... | |
const L1GctHFRingEtSums * | getCandL1HfRingEtSums () const |
pointer to HfRingEtSums data list More... | |
const L1GctHtMiss * | getCandL1HTM () const |
pointer to HTM data list More... | |
const L1GctEtHad * | getCandL1HTT () const |
pointer to HTT data list More... | |
const std::vector< const L1GctCand * > * | getCandL1IsoEG () const |
pointer to IsoEG data list More... | |
const L1GctJetCounts * | getCandL1JetCounts () const |
pointer to JetCounts data list More... | |
const std::vector< const L1GctCand * > * | getCandL1NoIsoEG () const |
pointer to NoIsoEG data list More... | |
const std::vector< const L1GctCand * > * | getCandL1TauJet () const |
pointer to TauJet data list More... | |
const std::vector< bool > * | getGtTechnicalTriggers () const |
pointer to technical trigger bits More... | |
void | init (const int nrL1NoIsoEG, const int nrL1IsoEG, const int nrL1CenJet, const int nrL1ForJet, const int nrL1TauJet, const int numberTechnicalTriggers) |
initialize the class (mainly reserve) More... | |
L1GlobalTriggerPSB (const edm::InputTag &caloTag, const std::vector< edm::InputTag > &vecTag, edm::ConsumesCollector &&iC) | |
void | printGctObjectData (const int iBxInEvent) const |
print Global Calorimeter Trigger data More... | |
void | receiveBptxData (edm::Event &iEvent, const edm::InputTag &bptxInputTag, const int iBxInEvent, const bool receiveBptx, const bool readFromPsb) |
receive BPTX objects More... | |
void | receiveCastorData (edm::Event &iEvent, const edm::InputTag &castorInputTag, const int iBxInEvent, const bool receiveCastor, const bool readFromPsb) |
receive CASTOR objects More... | |
void | receiveExternalData (edm::Event &iEvent, const std::vector< edm::InputTag > &externalInputTags, const int iBxInEvent, const bool receiveExternal, const bool readFromPsb) |
receive External objects More... | |
void | receiveGctObjectData (edm::Event &iEvent, const edm::InputTag &caloGctInputTag, const int iBxInEvent, const bool receiveNoIsoEG, const int nrL1NoIsoEG, const bool receiveIsoEG, const int nrL1IsoEG, const bool receiveCenJet, const int nrL1CenJet, const bool receiveForJet, const int nrL1ForJet, const bool receiveTauJet, const int nrL1TauJet, const bool receiveETM, const bool receiveETT, const bool receiveHTT, const bool receiveHTM, const bool receiveJetCounts, const bool receiveHfBitCounts, const bool receiveHfRingEtSums) |
receive Global Calorimeter Trigger objects More... | |
void | receiveTechnicalTriggers (edm::Event &iEvent, const std::vector< edm::InputTag > &technicalTriggersInputTags, const int iBxInEvent, const bool receiveTechTr, const int nrL1TechTr) |
receive technical trigger More... | |
void | reset () |
clear PSB More... | |
void | setVerbosity (const int verbosity) |
virtual | ~L1GlobalTriggerPSB () |
Private Attributes | |
const L1GctEtMiss * | m_candETM |
const L1GctEtTotal * | m_candETT |
const L1GctHFBitCounts * | m_candHfBitCounts |
const L1GctHFRingEtSums * | m_candHfRingEtSums |
const L1GctHtMiss * | m_candHTM |
const L1GctEtHad * | m_candHTT |
const L1GctJetCounts * | m_candJetCounts |
std::vector< const L1GctCand * > * | m_candL1CenJet |
std::vector< const L1GctCand * > * | m_candL1ForJet |
std::vector< const L1GctCand * > * | m_candL1IsoEG |
std::vector< const L1GctCand * > * | m_candL1NoIsoEG |
std::vector< const L1GctCand * > * | m_candL1TauJet |
std::vector< bool > | m_gtTechnicalTriggers |
technical trigger bits More... | |
bool | m_isDebugEnabled |
int | m_verbosity |
verbosity level More... | |
Description: Pipelined Synchronising Buffer.
Implementation: GT PSB receives data from
Description: Pipelined Synchronising Buffer, see header file for details.
Implementation: <TODO: enter implementation details>
Definition at line 58 of file L1GlobalTriggerPSB.h.
L1GlobalTriggerPSB::L1GlobalTriggerPSB | ( | const edm::InputTag & | caloTag, |
const std::vector< edm::InputTag > & | vecTag, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 49 of file L1GlobalTriggerPSB.cc.
References edm::InputTag::label().
|
virtual |
Definition at line 89 of file L1GlobalTriggerPSB.cc.
References m_candL1CenJet, m_candL1ForJet, m_candL1IsoEG, m_candL1NoIsoEG, m_candL1TauJet, and reset().
void L1GlobalTriggerPSB::fillPsbBlock | ( | edm::Event & | iEvent, |
const boost::uint16_t & | activeBoardsGtDaq, | ||
const int | recordLength0, | ||
const int | recordLength1, | ||
const unsigned int | altNrBxBoardDaq, | ||
const std::vector< L1GtBoard > & | boardMaps, | ||
const int | iBxInEvent, | ||
std::auto_ptr< L1GlobalTriggerReadoutRecord > & | gtDaqReadoutRecord | ||
) |
fill the content of active PSB boards
Definition at line 700 of file L1GlobalTriggerPSB.cc.
References L1GctHFBitCounts::bitCount(), edm::EventBase::bunchCrossing(), CenJetQ, L1GctJetCounts::count(), TauDecayModes::dec, ESumsQ, L1GctHFRingEtSums::etSum(), edm::EventID::event(), ForJetQ, HfQ, i, edm::EventBase::id(), IsoEGQ, JetCountsQ, LogDebug, LogTrace, m_candETM, m_candETT, m_candHfBitCounts, m_candHfRingEtSums, m_candHTT, m_candJetCounts, m_candL1CenJet, m_candL1ForJet, m_candL1IsoEG, m_candL1NoIsoEG, m_candL1TauJet, m_gtTechnicalTriggers, m_verbosity, L1GctHFBitCounts::nCounts(), NoIsoEGQ, L1GctHFRingEtSums::nSums(), PSB, L1GctEtHad::raw(), L1GctEtTotal::raw(), L1GctEtMiss::raw(), L1GtPsbWord::setAData(), L1GtPsbWord::setBData(), L1GtPsbWord::setBoardId(), L1GtPsbWord::setBxInEvent(), L1GtPsbWord::setBxNr(), L1GtPsbWord::setEventNr(), L1GtPsbWord::setLocalBxNr(), TauJetQ, and TechTr.
Referenced by L1GlobalTrigger::produce().
|
inline |
pointer to CenJet data list
Definition at line 142 of file L1GlobalTriggerPSB.h.
References m_candL1CenJet.
Referenced by L1GtCorrelationCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to ETM data list
Definition at line 160 of file L1GlobalTriggerPSB.h.
References m_candETM.
Referenced by L1GtEnergySumCondition::evaluateCondition(), and L1GtCorrelationCondition::evaluateCondition().
|
inline |
pointer to ETT data list
Definition at line 166 of file L1GlobalTriggerPSB.h.
References m_candETT.
Referenced by L1GtEnergySumCondition::evaluateCondition().
|
inline |
pointer to ForJet data list
Definition at line 148 of file L1GlobalTriggerPSB.h.
References m_candL1ForJet.
Referenced by L1GtCorrelationCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to HfBitCounts data list
Definition at line 190 of file L1GlobalTriggerPSB.h.
References m_candHfBitCounts.
Referenced by L1GtHfBitCountsCondition::evaluateCondition().
|
inline |
pointer to HfRingEtSums data list
Definition at line 196 of file L1GlobalTriggerPSB.h.
References m_candHfRingEtSums.
Referenced by L1GtHfRingEtSumsCondition::evaluateCondition().
|
inline |
pointer to HTM data list
Definition at line 178 of file L1GlobalTriggerPSB.h.
References m_candHTM.
Referenced by L1GtEnergySumCondition::evaluateCondition(), and L1GtCorrelationCondition::evaluateCondition().
|
inline |
pointer to HTT data list
Definition at line 172 of file L1GlobalTriggerPSB.h.
References m_candHTT.
Referenced by L1GtEnergySumCondition::evaluateCondition().
|
inline |
pointer to IsoEG data list
Definition at line 136 of file L1GlobalTriggerPSB.h.
References m_candL1IsoEG.
Referenced by L1GtCorrelationCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to JetCounts data list
Definition at line 184 of file L1GlobalTriggerPSB.h.
References m_candJetCounts.
Referenced by L1GtJetCountsCondition::evaluateCondition().
|
inline |
pointer to NoIsoEG data list
Definition at line 130 of file L1GlobalTriggerPSB.h.
References m_candL1NoIsoEG.
Referenced by L1GtCorrelationCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to TauJet data list
Definition at line 154 of file L1GlobalTriggerPSB.h.
References m_candL1TauJet.
Referenced by L1GtCorrelationCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to technical trigger bits
Definition at line 202 of file L1GlobalTriggerPSB.h.
References m_gtTechnicalTriggers.
Referenced by L1GlobalTriggerFDL::run().
void L1GlobalTriggerPSB::init | ( | const int | nrL1NoIsoEG, |
const int | nrL1IsoEG, | ||
const int | nrL1CenJet, | ||
const int | nrL1ForJet, | ||
const int | nrL1TauJet, | ||
const int | numberTechnicalTriggers | ||
) |
initialize the class (mainly reserve)
Definition at line 103 of file L1GlobalTriggerPSB.cc.
References m_candL1CenJet, m_candL1ForJet, m_candL1IsoEG, m_candL1NoIsoEG, m_candL1TauJet, and m_gtTechnicalTriggers.
Referenced by L1GlobalTrigger::produce().
void L1GlobalTriggerPSB::printGctObjectData | ( | const int | iBxInEvent | ) | const |
print Global Calorimeter Trigger data
Definition at line 1451 of file L1GlobalTriggerPSB.cc.
References TauDecayModes::dec, L1GctEtTotal::et(), L1GctEtHad::et(), L1GctEtMiss::et(), L1GctHtMiss::et(), LogTrace, m_candETM, m_candETT, m_candHfBitCounts, m_candHfRingEtSums, m_candHTM, m_candHTT, m_candJetCounts, m_candL1CenJet, m_candL1ForJet, m_candL1IsoEG, m_candL1NoIsoEG, m_candL1TauJet, L1GctEtMiss::phi(), and L1GctHtMiss::phi().
Referenced by receiveGctObjectData().
void L1GlobalTriggerPSB::receiveBptxData | ( | edm::Event & | iEvent, |
const edm::InputTag & | bptxInputTag, | ||
const int | iBxInEvent, | ||
const bool | receiveBptx, | ||
const bool | readFromPsb | ||
) |
void L1GlobalTriggerPSB::receiveCastorData | ( | edm::Event & | iEvent, |
const edm::InputTag & | castorInputTag, | ||
const int | iBxInEvent, | ||
const bool | receiveCastor, | ||
const bool | readFromPsb | ||
) |
void L1GlobalTriggerPSB::receiveExternalData | ( | edm::Event & | iEvent, |
const std::vector< edm::InputTag > & | externalInputTags, | ||
const int | iBxInEvent, | ||
const bool | receiveExternal, | ||
const bool | readFromPsb | ||
) |
void L1GlobalTriggerPSB::receiveGctObjectData | ( | edm::Event & | iEvent, |
const edm::InputTag & | caloGctInputTag, | ||
const int | iBxInEvent, | ||
const bool | receiveNoIsoEG, | ||
const int | nrL1NoIsoEG, | ||
const bool | receiveIsoEG, | ||
const int | nrL1IsoEG, | ||
const bool | receiveCenJet, | ||
const int | nrL1CenJet, | ||
const bool | receiveForJet, | ||
const int | nrL1ForJet, | ||
const bool | receiveTauJet, | ||
const int | nrL1TauJet, | ||
const bool | receiveETM, | ||
const bool | receiveETT, | ||
const bool | receiveHTT, | ||
const bool | receiveHTM, | ||
const bool | receiveJetCounts, | ||
const bool | receiveHfBitCounts, | ||
const bool | receiveHfRingEtSums | ||
) |
receive Global Calorimeter Trigger objects
Definition at line 121 of file L1GlobalTriggerPSB.cc.
References edm::Event::getByLabel(), edm::HandleBase::isValid(), edm::isWarningEnabled(), edm::InputTag::label(), LogDebug, m_candETM, m_candETT, m_candHfBitCounts, m_candHfRingEtSums, m_candHTM, m_candHTT, m_candJetCounts, m_isDebugEnabled, m_verbosity, printGctObjectData(), and reset().
Referenced by L1GlobalTrigger::produce().
void L1GlobalTriggerPSB::receiveTechnicalTriggers | ( | edm::Event & | iEvent, |
const std::vector< edm::InputTag > & | technicalTriggersInputTags, | ||
const int | iBxInEvent, | ||
const bool | receiveTechTr, | ||
const int | nrL1TechTr | ||
) |
receive technical trigger
Definition at line 602 of file L1GlobalTriggerPSB.cc.
References L1GtTechnicalTrigger::bxInEvent(), edm::Event::getByLabel(), L1GtTechnicalTrigger::gtTechnicalTriggerBitNumber(), L1GtTechnicalTrigger::gtTechnicalTriggerName(), L1GtTechnicalTrigger::gtTechnicalTriggerResult(), edm::HandleBase::isValid(), edm::isWarningEnabled(), LogDebug, LogTrace, m_gtTechnicalTriggers, m_isDebugEnabled, and m_verbosity.
Referenced by L1GlobalTrigger::produce().
void L1GlobalTriggerPSB::reset | ( | void | ) |
clear PSB
Definition at line 1428 of file L1GlobalTriggerPSB.cc.
References m_candETM, m_candETT, m_candHfBitCounts, m_candHfRingEtSums, m_candHTM, m_candHTT, m_candJetCounts, m_candL1CenJet, m_candL1ForJet, m_candL1IsoEG, m_candL1NoIsoEG, and m_candL1TauJet.
Referenced by L1GlobalTrigger::produce(), receiveGctObjectData(), and ~L1GlobalTriggerPSB().
|
inline |
Definition at line 209 of file L1GlobalTriggerPSB.h.
References m_verbosity, and mvaPFMET_cff::verbosity.
Referenced by L1GlobalTrigger::L1GlobalTrigger().
|
private |
Definition at line 221 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1ETM(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 222 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1ETT(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 228 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1HfBitCounts(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 229 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1HfRingEtSums(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 224 of file L1GlobalTriggerPSB.h.
Referenced by getCandL1HTM(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 223 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1HTT(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 226 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1JetCounts(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 217 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1CenJet(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 218 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1ForJet(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 216 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1IsoEG(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 215 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1NoIsoEG(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 219 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1TauJet(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
technical trigger bits
Definition at line 232 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getGtTechnicalTriggers(), init(), and receiveTechnicalTriggers().
|
private |
Definition at line 238 of file L1GlobalTriggerPSB.h.
Referenced by receiveGctObjectData(), and receiveTechnicalTriggers().
|
private |
verbosity level
Definition at line 237 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), receiveGctObjectData(), receiveTechnicalTriggers(), and setVerbosity().