#include <L1GlobalTriggerFDL.h>
Public Member Functions | |
void | fillDaqFdlBlock (const int iBxInEvent, const boost::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 boost::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 41 of file L1GlobalTriggerFDL.h.
L1GlobalTriggerFDL::L1GlobalTriggerFDL | ( | ) |
constructor
Definition at line 44 of file L1GlobalTriggerFDL.cc.
References m_gtFdlWord.
|
virtual |
destructor
Definition at line 56 of file L1GlobalTriggerFDL.cc.
References m_gtFdlWord, and reset().
void L1GlobalTriggerFDL::fillDaqFdlBlock | ( | const int | iBxInEvent, |
const boost::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 423 of file L1GlobalTriggerFDL.cc.
References FDL, m_gtFdlWord, and L1GlobalTriggerReadoutRecord::setGtFdlWord().
Referenced by L1GlobalTrigger::produce().
void L1GlobalTriggerFDL::fillEvmFdlBlock | ( | const int | iBxInEvent, |
const boost::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 470 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 499 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 edm::EventBase::bunchCrossing(), TauDecayModes::dec, edm::EventID::event(), FDL, L1GlobalTriggerGTL::getAlgorithmOR(), L1GlobalTriggerPSB::getGtTechnicalTriggers(), edm::EventBase::id(), LogDebug, edm::EventBase::luminosityBlock(), m_firstEv, m_firstEvLumiSegment, m_gtFdlWord, m_prescaleCounterAlgoTrig, m_prescaleCounterTechTrig, m_verbosity, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, edm::EventBase::orbitNumber(), 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 92 of file L1GlobalTriggerFDL.h.
References m_verbosity, and HIPAlignmentAlgorithm_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 107 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
Definition at line 108 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
Definition at line 109 of file L1GlobalTriggerFDL.h.
|
private |
Definition at line 95 of file L1GlobalTriggerFDL.h.
Referenced by fillDaqFdlBlock(), fillEvmFdlBlock(), gtFdlWord(), L1GlobalTriggerFDL(), reset(), run(), and ~L1GlobalTriggerFDL().
|
private |
Definition at line 114 of file L1GlobalTriggerFDL.h.
|
private |
prescale counters: NumberPhysTriggers counters per bunch cross in event
Definition at line 98 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
prescale counters: technical trigger counters per bunch cross in event
Definition at line 101 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
verbosity level
Definition at line 113 of file L1GlobalTriggerFDL.h.
Referenced by run(), and setVerbosity().