1 #ifndef GlobalTrigger_L1GlobalTriggerFDL_h
2 #define GlobalTrigger_L1GlobalTriggerFDL_h
23 #include <boost/cstdint.hpp>
57 const std::vector<int>& prescaleFactorsAlgoTrig,
58 const std::vector<int>& prescaleFactorsTechTrig,
59 const std::vector<unsigned int>& triggerMaskAlgoTrig,
60 const std::vector<unsigned int>& triggerMaskTechTrig,
61 const std::vector<unsigned int>& triggerMaskVetoAlgoTrig,
62 const std::vector<unsigned int>& triggerMaskVetoTechTrig,
63 const std::vector<L1GtBoard>& boardMaps,
64 const int totalBxInEvent,
66 const unsigned int numberPhysTriggers,
const unsigned int numberTechnicalTriggers,
67 const unsigned int numberDaqPartitions,
70 const int pfAlgoSetIndex,
71 const int pfTechSetIndex,
72 const bool algorithmTriggersUnprescaled,
73 const bool algorithmTriggersUnmasked,
74 const bool technicalTriggersUnprescaled,
75 const bool technicalTriggersUnmasked,
76 const bool technicalTriggersVetoUnmasked
81 const boost::uint16_t& activeBoardsGtDaq,
const int recordLength0,
82 const int recordLength1,
const unsigned int altNrBxBoardDaq,
83 const std::vector<L1GtBoard>& boardMaps,
84 std::auto_ptr<L1GlobalTriggerReadoutRecord>& gtDaqReadoutRecord);
88 const boost::uint16_t& activeBoardsGtEvm,
const int recordLength0,
89 const int recordLength1,
const unsigned int altNrBxBoardEvm,
90 const std::vector<L1GtBoard>& boardMaps,
91 std::auto_ptr<L1GlobalTriggerEvmReadoutRecord>& gtEvmReadoutRecord);
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, std::auto_ptr< L1GlobalTriggerEvmReadoutRecord > >EvmReadoutRecord)
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, std::auto_ptr< L1GlobalTriggerReadoutRecord > >DaqReadoutRecord)
fill the FDL block in the L1 GT DAQ record for iBxInEvent