#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, std::auto_ptr< L1GlobalTriggerReadoutRecord > >DaqReadoutRecord) |
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, std::auto_ptr< L1GlobalTriggerEvmReadoutRecord > >EvmReadoutRecord) |
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 46 of file L1GlobalTriggerFDL.cc.
References m_gtFdlWord.
|
virtual |
destructor
Definition at line 63 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, | ||
std::auto_ptr< L1GlobalTriggerReadoutRecord > & | gtDaqReadoutRecord | ||
) |
fill the FDL block in the L1 GT DAQ record for iBxInEvent
Definition at line 449 of file L1GlobalTriggerFDL.cc.
References FDL, and m_gtFdlWord.
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, | ||
std::auto_ptr< L1GlobalTriggerEvmReadoutRecord > & | gtEvmReadoutRecord | ||
) |
fill the FDL block in the L1 GT EVM record for iBxInEvent
Definition at line 505 of file L1GlobalTriggerFDL.cc.
References FDL, and m_gtFdlWord.
Referenced by L1GlobalTrigger::produce().
|
inline |
void L1GlobalTriggerFDL::reset | ( | void | ) |
clear FDL
Definition at line 542 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 74 of file L1GlobalTriggerFDL.cc.
References edm::EventBase::bunchCrossing(), 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 102 of file L1GlobalTriggerFDL.h.
References m_verbosity, and PFRecoTauDiscriminationAgainstMuon2_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 120 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
Definition at line 121 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
Definition at line 122 of file L1GlobalTriggerFDL.h.
|
private |
Definition at line 108 of file L1GlobalTriggerFDL.h.
Referenced by fillDaqFdlBlock(), fillEvmFdlBlock(), gtFdlWord(), L1GlobalTriggerFDL(), reset(), run(), and ~L1GlobalTriggerFDL().
|
private |
Definition at line 128 of file L1GlobalTriggerFDL.h.
|
private |
prescale counters: NumberPhysTriggers counters per bunch cross in event
Definition at line 111 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
prescale counters: technical trigger counters per bunch cross in event
Definition at line 114 of file L1GlobalTriggerFDL.h.
Referenced by run().
|
private |
verbosity level
Definition at line 127 of file L1GlobalTriggerFDL.h.
Referenced by run(), and setVerbosity().