#include <L1GlobalTriggerPSB.h>
Public Member Functions | |
void | fillPsbBlock (edm::Event &iEvent, const uint16_t &activeBoardsGtDaq, const int recordLength0, const int recordLength1, const unsigned int altNrBxBoardDaq, const std::vector< L1GtBoard > &boardMaps, const int iBxInEvent, L1GlobalTriggerReadoutRecord *gtDaqReadoutRecord) |
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 HLT_2022v12_cff::InputTag, and 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 uint16_t & | activeBoardsGtDaq, | ||
const int | recordLength0, | ||
const int | recordLength1, | ||
const unsigned int | altNrBxBoardDaq, | ||
const std::vector< L1GtBoard > & | boardMaps, | ||
const int | iBxInEvent, | ||
L1GlobalTriggerReadoutRecord * | gtDaqReadoutRecord | ||
) |
fill the content of active PSB boards
Definition at line 573 of file L1GlobalTriggerPSB.cc.
References L1GctHFBitCounts::bitCount(), CenJetQ, L1GctJetCounts::count(), TauDecayModes::dec, ESumsQ, L1GctHFRingEtSums::etSum(), ForJetQ, HfQ, mps_fire::i, iEvent, 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, L1GctEtTotal::raw(), L1GctEtHad::raw(), L1GctEtMiss::raw(), L1GtPsbWord::setAData(), L1GtPsbWord::setBData(), L1GtPsbWord::setBoardId(), L1GtPsbWord::setBxInEvent(), L1GtPsbWord::setBxNr(), L1GtPsbWord::setEventNr(), L1GlobalTriggerReadoutRecord::setGtPsbWord(), L1GtPsbWord::setLocalBxNr(), TauJetQ, and TechTr.
Referenced by L1GlobalTrigger::produce().
|
inline |
pointer to CenJet data list
Definition at line 150 of file L1GlobalTriggerPSB.h.
References m_candL1CenJet.
Referenced by L1GtCaloCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to ETM data list
Definition at line 159 of file L1GlobalTriggerPSB.h.
References m_candETM.
Referenced by L1GtEnergySumCondition::evaluateCondition(), and L1GtCorrelationCondition::evaluateCondition().
|
inline |
pointer to ETT data list
Definition at line 162 of file L1GlobalTriggerPSB.h.
References m_candETT.
Referenced by L1GtEnergySumCondition::evaluateCondition().
|
inline |
pointer to ForJet data list
Definition at line 153 of file L1GlobalTriggerPSB.h.
References m_candL1ForJet.
Referenced by L1GtCaloCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to HfBitCounts data list
Definition at line 174 of file L1GlobalTriggerPSB.h.
References m_candHfBitCounts.
Referenced by L1GtHfBitCountsCondition::evaluateCondition().
|
inline |
pointer to HfRingEtSums data list
Definition at line 177 of file L1GlobalTriggerPSB.h.
References m_candHfRingEtSums.
Referenced by L1GtHfRingEtSumsCondition::evaluateCondition().
|
inline |
pointer to HTM data list
Definition at line 168 of file L1GlobalTriggerPSB.h.
References m_candHTM.
Referenced by L1GtEnergySumCondition::evaluateCondition(), and L1GtCorrelationCondition::evaluateCondition().
|
inline |
pointer to HTT data list
Definition at line 165 of file L1GlobalTriggerPSB.h.
References m_candHTT.
Referenced by L1GtEnergySumCondition::evaluateCondition().
|
inline |
pointer to IsoEG data list
Definition at line 147 of file L1GlobalTriggerPSB.h.
References m_candL1IsoEG.
Referenced by L1GtCaloCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to JetCounts data list
Definition at line 171 of file L1GlobalTriggerPSB.h.
References m_candJetCounts.
Referenced by L1GtJetCountsCondition::evaluateCondition().
|
inline |
pointer to NoIsoEG data list
Definition at line 144 of file L1GlobalTriggerPSB.h.
References m_candL1NoIsoEG.
Referenced by L1GtCaloCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to TauJet data list
Definition at line 156 of file L1GlobalTriggerPSB.h.
References m_candL1TauJet.
Referenced by L1GtCaloCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), and L1GtCaloCondition::getCandidate().
|
inline |
pointer to technical trigger bits
Definition at line 180 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 100 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 1235 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 118 of file L1GlobalTriggerPSB.cc.
References iEvent, 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 489 of file L1GlobalTriggerPSB.cc.
References L1GtTechnicalTrigger::bxInEvent(), L1GtTechnicalTriggerRecord::gtTechnicalTrigger(), L1GtTechnicalTrigger::gtTechnicalTriggerBitNumber(), L1GtTechnicalTrigger::gtTechnicalTriggerName(), L1GtTechnicalTrigger::gtTechnicalTriggerResult(), iEvent, 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 1214 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 183 of file L1GlobalTriggerPSB.h.
References m_verbosity, and ctppsCommonDQMSource_cfi::verbosity.
Referenced by L1GlobalTrigger::L1GlobalTrigger().
|
private |
Definition at line 192 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1ETM(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 193 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1ETT(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 199 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1HfBitCounts(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 200 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1HfRingEtSums(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 195 of file L1GlobalTriggerPSB.h.
Referenced by getCandL1HTM(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 194 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1HTT(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 197 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1JetCounts(), printGctObjectData(), receiveGctObjectData(), and reset().
|
private |
Definition at line 188 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1CenJet(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 189 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1ForJet(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 187 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1IsoEG(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 186 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1NoIsoEG(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
Definition at line 190 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getCandL1TauJet(), init(), printGctObjectData(), reset(), and ~L1GlobalTriggerPSB().
|
private |
technical trigger bits
Definition at line 203 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), getGtTechnicalTriggers(), init(), and receiveTechnicalTriggers().
|
private |
Definition at line 208 of file L1GlobalTriggerPSB.h.
Referenced by receiveGctObjectData(), and receiveTechnicalTriggers().
|
private |
verbosity level
Definition at line 207 of file L1GlobalTriggerPSB.h.
Referenced by fillPsbBlock(), receiveGctObjectData(), receiveTechnicalTriggers(), and setVerbosity().