#include <L1GlobalTriggerFDL.h>
Public Member Functions | |
void | fillDaqFdlBlock (const int iBxInEvent, const uint16_t &activeBoardsGtDaq, const int recordLength0, const int recordLength1, const unsigned int altNrBxBoardDaq, const std::vector< L1GtBoard > &boardMaps, L1GlobalTriggerReadoutRecord *gtDaqReadoutRecord) |
fill the FDL block in the L1 GT DAQ record for iBxInEvent More... | |
void | fillEvmFdlBlock (const int iBxInEvent, const uint16_t &activeBoardsGtEvm, const int recordLength0, const int recordLength1, const unsigned int altNrBxBoardEvm, const std::vector< L1GtBoard > &boardMaps, L1GlobalTriggerEvmReadoutRecord *gtEvmReadoutRecord) |
fill the FDL block in the L1 GT EVM record for iBxInEvent More... | |
L1GtFdlWord * | gtFdlWord () const |
return the GtFdlWord More... | |
L1GlobalTriggerFDL () | |
constructor More... | |
void | reset () |
clear FDL More... | |
void | run (edm::Event &iEvent, const std::vector< int > &prescaleFactorsAlgoTrig, const std::vector< int > &prescaleFactorsTechTrig, const std::vector< unsigned int > &triggerMaskAlgoTrig, const std::vector< unsigned int > &triggerMaskTechTrig, const std::vector< unsigned int > &triggerMaskVetoAlgoTrig, const std::vector< unsigned int > &triggerMaskVetoTechTrig, const std::vector< L1GtBoard > &boardMaps, const int totalBxInEvent, const int iBxInEvent, const unsigned int numberPhysTriggers, const unsigned int numberTechnicalTriggers, const unsigned int numberDaqPartitions, const L1GlobalTriggerGTL *ptrGTL, const L1GlobalTriggerPSB *ptrPSB, const int pfAlgoSetIndex, const int pfTechSetIndex, const bool algorithmTriggersUnprescaled, const bool algorithmTriggersUnmasked, const bool technicalTriggersUnprescaled, const bool technicalTriggersUnmasked, const bool technicalTriggersVetoUnmasked) |
run the FDL More... | |
void | setVerbosity (const int verbosity) |
virtual | ~L1GlobalTriggerFDL () |
destructor More... | |
Private Attributes | |
bool | m_firstEv |
bool | m_firstEvLumiSegment |
bool | m_firstEvRun |
L1GtFdlWord * | m_gtFdlWord |
bool | m_isDebugEnabled |
std::vector< std::vector< int > > | m_prescaleCounterAlgoTrig |
prescale counters: NumberPhysTriggers counters per bunch cross in event More... | |
std::vector< std::vector< int > > | m_prescaleCounterTechTrig |
prescale counters: technical trigger counters per bunch cross in event More... | |
int | m_verbosity |
verbosity level More... | |
Description: Final Decision Logic board.
Implementation: <TODO: enter implementation details>
Definition at line 40 of file L1GlobalTriggerFDL.h.
L1GlobalTriggerFDL::L1GlobalTriggerFDL | ( | ) |
|
virtual |
destructor
Definition at line 57 of file L1GlobalTriggerFDL.cc.
References m_gtFdlWord, and reset().
void L1GlobalTriggerFDL::fillDaqFdlBlock | ( | const int | iBxInEvent, |
const uint16_t & | activeBoardsGtDaq, | ||
const int | recordLength0, | ||
const int | recordLength1, | ||
const unsigned int | altNrBxBoardDaq, | ||
const std::vector< L1GtBoard > & | boardMaps, | ||
L1GlobalTriggerReadoutRecord * | gtDaqReadoutRecord | ||
) |
fill the FDL block in the L1 GT DAQ record for iBxInEvent
Definition at line 387 of file L1GlobalTriggerFDL.cc.
References FDL, m_gtFdlWord, and L1GlobalTriggerReadoutRecord::setGtFdlWord().
Referenced by L1GlobalTrigger::produce().
void L1GlobalTriggerFDL::fillEvmFdlBlock | ( | const int | iBxInEvent, |
const uint16_t & | activeBoardsGtEvm, | ||
const int | recordLength0, | ||
const int | recordLength1, | ||
const unsigned int | altNrBxBoardEvm, | ||
const std::vector< L1GtBoard > & | boardMaps, | ||
L1GlobalTriggerEvmReadoutRecord * | gtEvmReadoutRecord | ||
) |
fill the FDL block in the L1 GT EVM record for iBxInEvent
Definition at line 431 of file L1GlobalTriggerFDL.cc.
References FDL, m_gtFdlWord, and L1GlobalTriggerEvmReadoutRecord::setGtFdlWord().
Referenced by L1GlobalTrigger::produce().
|
inline |
void L1GlobalTriggerFDL::reset | ( | void | ) |
clear FDL
Definition at line 457 of file L1GlobalTriggerFDL.cc.
References m_gtFdlWord, and L1GtFdlWord::reset().
Referenced by L1GlobalTrigger::produce(), and ~L1GlobalTriggerFDL().
void L1GlobalTriggerFDL::run | ( | edm::Event & | iEvent, |
const std::vector< int > & | prescaleFactorsAlgoTrig, | ||
const std::vector< int > & | prescaleFactorsTechTrig, | ||
const std::vector< unsigned int > & | triggerMaskAlgoTrig, | ||
const std::vector< unsigned int > & | triggerMaskTechTrig, | ||
const std::vector< unsigned int > & | triggerMaskVetoAlgoTrig, | ||
const std::vector< unsigned int > & | triggerMaskVetoTechTrig, | ||
const std::vector< L1GtBoard > & | boardMaps, | ||
const int | totalBxInEvent, | ||
const int | iBxInEvent, | ||
const unsigned int | numberPhysTriggers, | ||
const unsigned int | numberTechnicalTriggers, | ||
const unsigned int | numberDaqPartitions, | ||
const L1GlobalTriggerGTL * | ptrGTL, | ||
const L1GlobalTriggerPSB * | ptrPSB, | ||
const int | pfAlgoSetIndex, | ||
const int | pfTechSetIndex, | ||
const bool | algorithmTriggersUnprescaled, | ||
const bool | algorithmTriggersUnmasked, | ||
const bool | technicalTriggersUnprescaled, | ||
const bool | technicalTriggersUnmasked, | ||
const bool | technicalTriggersVetoUnmasked | ||
) |
run the FDL
Definition at line 65 of file L1GlobalTriggerFDL.cc.
References TauDecayModes::dec, FDL, L1GlobalTriggerGTL::getAlgorithmOR(), L1GlobalTriggerPSB::getGtTechnicalTriggers(), iEvent, LogDebug, m_firstEv, m_firstEvLumiSegment, m_gtFdlWord, m_prescaleCounterAlgoTrig, m_prescaleCounterTechTrig, m_verbosity, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GtFdlWord::setBoardId(), L1GtFdlWord::setBxInEvent(), L1GtFdlWord::setBxNr(), L1GtFdlWord::setEventNr(), L1GtFdlWord::setFinalOR(), L1GtFdlWord::setGtDecisionWord(), L1GtFdlWord::setGtPrescaleFactorIndexAlgo(), L1GtFdlWord::setGtPrescaleFactorIndexTech(), L1GtFdlWord::setGtTechnicalTriggerWord(), L1GtFdlWord::setLocalBxNr(), L1GtFdlWord::setLumiSegmentNr(), and L1GtFdlWord::setOrbitNr().
Referenced by L1GlobalTrigger::produce().
|
inline |
Definition at line 97 of file L1GlobalTriggerFDL.h.
References m_verbosity, and ctppsCommonDQMSource_cfi::verbosity.
Referenced by L1GlobalTrigger::L1GlobalTrigger().
|
private |
logical switches for the first event the first event in the luminosity segment and the first event in the run
Definition at line 112 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
Definition at line 113 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
Definition at line 114 of file L1GlobalTriggerFDL.h.
|
private |
Definition at line 100 of file L1GlobalTriggerFDL.h.
Referenced by fillDaqFdlBlock(), fillEvmFdlBlock(), gtFdlWord(), L1GlobalTriggerFDL(), reset(), run(), and ~L1GlobalTriggerFDL().
|
private |
Definition at line 119 of file L1GlobalTriggerFDL.h.
|
private |
prescale counters: NumberPhysTriggers counters per bunch cross in event
Definition at line 103 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
prescale counters: technical trigger counters per bunch cross in event
Definition at line 106 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
verbosity level
Definition at line 118 of file L1GlobalTriggerFDL.h.
Referenced by run(), and setVerbosity().