1 #ifndef GlobalTrigger_L1GlobalTriggerFDL_h 2 #define GlobalTrigger_L1GlobalTriggerFDL_h 21 #include <boost/cstdint.hpp> 52 const std::vector<int> &prescaleFactorsTechTrig,
53 const std::vector<unsigned int> &triggerMaskAlgoTrig,
54 const std::vector<unsigned int> &triggerMaskTechTrig,
55 const std::vector<unsigned int> &triggerMaskVetoAlgoTrig,
56 const std::vector<unsigned int> &triggerMaskVetoTechTrig,
57 const std::vector<L1GtBoard> &boardMaps,
const int totalBxInEvent,
58 const int iBxInEvent,
const unsigned int numberPhysTriggers,
59 const unsigned int numberTechnicalTriggers,
60 const unsigned int numberDaqPartitions,
62 const int pfAlgoSetIndex,
const int pfTechSetIndex,
63 const bool algorithmTriggersUnprescaled,
64 const bool algorithmTriggersUnmasked,
65 const bool technicalTriggersUnprescaled,
66 const bool technicalTriggersUnmasked,
67 const bool technicalTriggersVetoUnmasked);
71 const boost::uint16_t &activeBoardsGtDaq,
72 const int recordLength0,
const int recordLength1,
73 const unsigned int altNrBxBoardDaq,
74 const std::vector<L1GtBoard> &boardMaps,
79 const boost::uint16_t &activeBoardsGtEvm,
80 const int recordLength0,
const int recordLength1,
81 const unsigned int altNrBxBoardEvm,
82 const std::vector<L1GtBoard> &boardMaps,
L1GtFdlWord * m_gtFdlWord
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
void setVerbosity(const int verbosity)
std::vector< std::vector< int > > m_prescaleCounterAlgoTrig
prescale counters: NumberPhysTriggers counters per bunch cross in event
int m_verbosity
verbosity level
L1GlobalTriggerFDL()
constructor
L1GtFdlWord * gtFdlWord() const
return the GtFdlWord
virtual ~L1GlobalTriggerFDL()
destructor
bool m_firstEvLumiSegment
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
std::vector< std::vector< int > > m_prescaleCounterTechTrig
prescale counters: technical trigger counters per bunch cross in event
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