#include <GlobalBoard.h>
Classes | |
struct | PrescaleCounter |
Public Member Functions | |
void | enableAXOScoreSaving (bool savescore) |
void | fillAlgRecord (int iBxInEvent, std::unique_ptr< GlobalAlgBlkBxCollection > &uGtAlgRecord, int prescaleSet, int menuUUID, int firmwareUUID) |
Fill the Daq Records. More... | |
void | fillAXOScore (int iBxInEvent, std::unique_ptr< AXOL1TLScoreBxCollection > &AxoScoreRecord) |
const std::bitset< GlobalAlgBlk::maxPhysicsTriggers > & | getAlgorithmOR () const |
return algorithm OR decision More... | |
const BXVector< const l1t::L1Candidate * > * | getCandL1EG () const |
pointer to EG data list More... | |
const BXVector< const l1t::EtSum * > * | getCandL1EtSum () const |
pointer to EtSum data list More... | |
const BXVector< const l1t::EtSum * > * | getCandL1EtSumZdc () const |
pointer to ZDC EtSum data list More... | |
const BXVector< const GlobalExtBlk * > * | getCandL1External () const |
pointer to External data list More... | |
const BXVector< const l1t::L1Candidate * > * | getCandL1Jet () const |
pointer to Jet data list More... | |
const BXVector< const l1t::Muon * > * | getCandL1Mu () const |
return global muon trigger candidate More... | |
const BXVector< std::shared_ptr< l1t::MuonShower > > * | getCandL1MuShower () const |
return global muon trigger candidate More... | |
const BXVector< const l1t::L1Candidate * > * | getCandL1Tau () const |
pointer to Tau data list More... | |
const float | getCICADAScore () const |
const std::bitset< GlobalAlgBlk::maxPhysicsTriggers > & | getDecisionWord () const |
return decision More... | |
GlobalBoard () | |
void | init (const int numberPhysTriggers, const int nrL1Mu, const int nrL1MuShower, const int nrL1EG, const int nrL1Tau, const int nrL1Jet, int bxFirst, int bxLast) |
initialize the class (mainly reserve) More... | |
void | printGmtData (const int iBxInEvent) const |
print received Muon dataWord More... | |
void | receiveCaloObjectData (const edm::Event &, const edm::EDGetTokenT< BXVector< l1t::EGamma >> &, const edm::EDGetTokenT< BXVector< l1t::Tau >> &, const edm::EDGetTokenT< BXVector< l1t::Jet >> &, const edm::EDGetTokenT< BXVector< l1t::EtSum >> &, const edm::EDGetTokenT< BXVector< l1t::EtSum >> &, const edm::EDGetTokenT< BXVector< float >> &, const bool receiveEG, const int nrL1EG, const bool receiveTau, const int nrL1Tau, const bool receiveJet, const int nrL1Jet, const bool receiveEtSums, const bool receiveEtSumsZdc, const bool receiveCICADA) |
receive data from Global Muon Trigger More... | |
void | receiveExternalData (const edm::Event &, const edm::EDGetTokenT< BXVector< GlobalExtBlk >> &, const bool receiveExt) |
void | receiveMuonObjectData (const edm::Event &, const edm::EDGetTokenT< BXVector< l1t::Muon >> &, const bool receiveMu, const int nrL1Mu) |
void | receiveMuonShowerObjectData (const edm::Event &, const edm::EDGetTokenT< BXVector< l1t::MuonShower >> &, const bool receiveMuShower, const int nrL1MuShower) |
void | reset () |
clear uGT More... | |
void | resetCalo () |
void | resetExternal () |
void | resetMu () |
void | resetMuonShower () |
void | runFDL (const edm::Event &iEvent, const int iBxInEvent, const int totalBxInEvent, const unsigned int numberPhysTriggers, const std::vector< double > &prescaleFactorsAlgoTrig, const std::vector< unsigned int > &triggerMaskAlgoTrig, const std::vector< int > &triggerMaskVetoAlgoTrig, const bool algorithmTriggersUnprescaled, const bool algorithmTriggersUnmasked) |
run the uGT FDL (Apply Prescales and Veto) More... | |
void | runGTL (const edm::Event &iEvent, const edm::EventSetup &evSetup, const TriggerMenu *m_l1GtMenu, const bool produceL1GtObjectMapRecord, const int iBxInEvent, std::unique_ptr< GlobalObjectMapRecord > >ObjectMapRecord, const unsigned int numberPhysTriggers, const int nrL1Mu, const int nrL1MuShower, const int nrL1EG, const int nrL1Tau, const int nrL1Jet) |
run the uGT GTL (Conditions and Algorithms) More... | |
void | setBxFirst (int bx) |
void | setBxLast (int bx) |
void | setCICADAScore (float val) |
void | setResetPSCountersEachLumiSec (bool val) |
void | setSemiRandomInitialPSCounters (bool val) |
void | setVerbosity (const int verbosity) |
virtual | ~GlobalBoard () |
Static Private Member Functions | |
static std::vector< PrescaleCounter > | prescaleCounters (std::vector< double > const &prescaleFactorsAlgoTrig) |
static std::vector< PrescaleCounter > | prescaleCountersWithSemirandomInitialCounter (std::vector< double > const &prescaleFactorsAlgoTrig, edm::Event const &iEvent) |
Static Private Attributes | |
static constexpr size_t | m_singlestep = 100 |
Definition at line 57 of file GlobalBoard.h.
GlobalBoard::GlobalBoard | ( | ) |
Definition at line 69 of file GlobalBoard.cc.
References m_boardEventCount, m_gtlAlgorithmOR, m_gtlDecisionWord, m_l1CaloGeometryCacheID, m_l1GtMenuCacheID, m_l1MuTriggerScalesCacheID, m_prescaleCounterAlgoTrig, m_uGtAlgBlk, m_uGtAXOScore, m_uGtBoardNumber, m_uGtFinalBoard, AXOL1TLScore::reset(), and GlobalAlgBlk::reset().
|
virtual |
Definition at line 102 of file GlobalBoard.cc.
|
inline |
void GlobalBoard::fillAlgRecord | ( | int | iBxInEvent, |
std::unique_ptr< GlobalAlgBlkBxCollection > & | uGtAlgRecord, | ||
int | prescaleSet, | ||
int | menuUUID, | ||
int | firmwareUUID | ||
) |
Fill the Daq Records.
Definition at line 1191 of file GlobalBoard.cc.
References LogDebug.
void GlobalBoard::fillAXOScore | ( | int | iBxInEvent, |
std::unique_ptr< AXOL1TLScoreBxCollection > & | AxoScoreRecord | ||
) |
Definition at line 524 of file GlobalBoard.cc.
|
inline |
return algorithm OR decision
Definition at line 154 of file GlobalBoard.h.
References m_gtlAlgorithmOR.
|
inline |
pointer to EG data list
Definition at line 163 of file GlobalBoard.h.
References m_candL1EG.
|
inline |
pointer to EtSum data list
Definition at line 172 of file GlobalBoard.h.
References m_candL1EtSum.
|
inline |
pointer to ZDC EtSum data list
Definition at line 175 of file GlobalBoard.h.
References m_candL1EtSumZdc.
|
inline |
pointer to External data list
Definition at line 178 of file GlobalBoard.h.
References m_candL1External.
|
inline |
pointer to Jet data list
Definition at line 166 of file GlobalBoard.h.
References m_candL1Jet.
return global muon trigger candidate
Definition at line 157 of file GlobalBoard.h.
References m_candL1Mu.
|
inline |
return global muon trigger candidate
Definition at line 160 of file GlobalBoard.h.
References m_candL1MuShower.
|
inline |
pointer to Tau data list
Definition at line 169 of file GlobalBoard.h.
References m_candL1Tau.
|
inline |
|
inline |
return decision
Definition at line 151 of file GlobalBoard.h.
References m_gtlDecisionWord.
void GlobalBoard::init | ( | const int | numberPhysTriggers, |
const int | nrL1Mu, | ||
const int | nrL1MuShower, | ||
const int | nrL1EG, | ||
const int | nrL1Tau, | ||
const int | nrL1Jet, | ||
int | bxFirst, | ||
int | bxLast | ||
) |
initialize the class (mainly reserve)
Definition at line 118 of file GlobalBoard.cc.
References simCaloStage2Layer1Digis_cfi::bxFirst, simCaloStage2Layer1Digis_cfi::bxLast, and LogDebug.
|
staticprivate |
|
staticprivate |
Definition at line 1283 of file GlobalBoard.cc.
References iEvent, and MillePedeFileConverter_cfg::out.
void GlobalBoard::printGmtData | ( | const int | iBxInEvent | ) | const |
print received Muon dataWord
Definition at line 1264 of file GlobalBoard.cc.
References LogTrace.
void GlobalBoard::receiveCaloObjectData | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< BXVector< l1t::EGamma >> & | egInputToken, | ||
const edm::EDGetTokenT< BXVector< l1t::Tau >> & | tauInputToken, | ||
const edm::EDGetTokenT< BXVector< l1t::Jet >> & | jetInputToken, | ||
const edm::EDGetTokenT< BXVector< l1t::EtSum >> & | sumInputToken, | ||
const edm::EDGetTokenT< BXVector< l1t::EtSum >> & | sumZdcInputToken, | ||
const edm::EDGetTokenT< BXVector< float >> & | CICADAInputToken, | ||
const bool | receiveEG, | ||
const int | nrL1EG, | ||
const bool | receiveTau, | ||
const int | nrL1Tau, | ||
const bool | receiveJet, | ||
const int | nrL1Jet, | ||
const bool | receiveEtSums, | ||
const bool | receiveEtSumsZdc, | ||
const bool | receiveCICADA | ||
) |
receive data from Global Muon Trigger
Definition at line 144 of file GlobalBoard.cc.
References mps_fire::i, iEvent, edm::HandleBase::isValid(), metsig::jet, LogDebug, LogTrace, and metsig::tau.
void GlobalBoard::receiveExternalData | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< BXVector< GlobalExtBlk >> & | extInputToken, | ||
const bool | receiveExt | ||
) |
Definition at line 487 of file GlobalBoard.cc.
References mps_fire::i, iEvent, edm::HandleBase::isValid(), and LogDebug.
void GlobalBoard::receiveMuonObjectData | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< BXVector< l1t::Muon >> & | muInputToken, | ||
const bool | receiveMu, | ||
const int | nrL1Mu | ||
) |
Definition at line 376 of file GlobalBoard.cc.
References mps_fire::i, iEvent, edm::HandleBase::isValid(), LogDebug, and amptDefaultParameters_cff::mu.
void GlobalBoard::receiveMuonShowerObjectData | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< BXVector< l1t::MuonShower >> & | muShowerInputToken, | ||
const bool | receiveMuShower, | ||
const int | nrL1MuShower | ||
) |
Definition at line 423 of file GlobalBoard.cc.
References mps_fire::i, iEvent, edm::HandleBase::isValid(), and amptDefaultParameters_cff::mu.
void GlobalBoard::reset | ( | void | ) |
clear uGT
Definition at line 1214 of file GlobalBoard.cc.
void GlobalBoard::resetCalo | ( | ) |
Definition at line 1243 of file GlobalBoard.cc.
void GlobalBoard::resetExternal | ( | ) |
Definition at line 1258 of file GlobalBoard.cc.
void GlobalBoard::resetMu | ( | ) |
Definition at line 1231 of file GlobalBoard.cc.
void GlobalBoard::resetMuonShower | ( | ) |
Definition at line 1237 of file GlobalBoard.cc.
void GlobalBoard::runFDL | ( | const edm::Event & | iEvent, |
const int | iBxInEvent, | ||
const int | totalBxInEvent, | ||
const unsigned int | numberPhysTriggers, | ||
const std::vector< double > & | prescaleFactorsAlgoTrig, | ||
const std::vector< unsigned int > & | triggerMaskAlgoTrig, | ||
const std::vector< int > & | triggerMaskVetoAlgoTrig, | ||
const bool | algorithmTriggersUnprescaled, | ||
const bool | algorithmTriggersUnmasked | ||
) |
run the uGT FDL (Apply Prescales and Veto)
if we are masking.
Definition at line 1070 of file GlobalBoard.cc.
References iEvent, LogDebug, and or.
void GlobalBoard::runGTL | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
const TriggerMenu * | m_l1GtMenu, | ||
const bool | produceL1GtObjectMapRecord, | ||
const int | iBxInEvent, | ||
std::unique_ptr< GlobalObjectMapRecord > & | gtObjectMapRecord, | ||
const unsigned int | numberPhysTriggers, | ||
const int | nrL1Mu, | ||
const int | nrL1MuShower, | ||
const int | nrL1EG, | ||
const int | nrL1Tau, | ||
const int | nrL1Jet | ||
) |
run the uGT GTL (Conditions and Algorithms)
Definition at line 540 of file GlobalBoard.cc.
References CorrelationThreeBodyTemplate::cond0Category(), CorrelationTemplate::cond0Category(), CorrelationWithOverlapRemovalTemplate::cond0Category(), CorrelationThreeBodyTemplate::cond0Index(), CorrelationTemplate::cond0Index(), CorrelationWithOverlapRemovalTemplate::cond0Index(), CorrelationThreeBodyTemplate::cond1Category(), CorrelationTemplate::cond1Category(), CorrelationWithOverlapRemovalTemplate::cond1Category(), CorrelationThreeBodyTemplate::cond1Index(), CorrelationTemplate::cond1Index(), CorrelationWithOverlapRemovalTemplate::cond1Index(), CorrelationThreeBodyTemplate::cond2Category(), CorrelationWithOverlapRemovalTemplate::cond2Category(), CorrelationThreeBodyTemplate::cond2Index(), CorrelationWithOverlapRemovalTemplate::cond2Index(), l1t::CondAXOL1TL, l1t::CondCalo, l1t::CondCICADA, l1t::CondCorrelation, l1t::CondCorrelationThreeBody, l1t::CondCorrelationWithOverlapRemoval, l1t::CondEnergySum, l1t::CondEnergySumZdc, l1t::CondExternal, l1t::CondMuon, l1t::CondMuonShower, l1t::CondNull, TriggerMenu::corCaloTemplate(), TriggerMenu::corEnergySumTemplate(), TriggerMenu::corMuonTemplate(), l1t::AlgorithmEvaluation::evaluateAlgorithm(), l1t::ConditionEvaluation::evaluateConditionStoreResult(), newFWLiteAna::found, l1t::GlobalScales::getScalesName(), l1t::AXOL1TLCondition::getScore(), l1t::AlgorithmEvaluation::gtAlgoCombinationVector(), l1t::AlgorithmEvaluation::gtAlgoResult(), TriggerMenu::gtAlgorithmMap(), TriggerMenu::gtConditionMap(), TriggerMenu::gtScales(), LogDebug, LogTrace, l1t::AlgorithmEvaluation::operandTokenVector(), CalibrationSummaryClient_cfi::otype, print(), l1t::CICADACondition::print(), l1t::AXOL1TLCondition::print(), l1t::MuonShowerCondition::print(), l1t::EnergySumCondition::print(), l1t::ExternalCondition::print(), l1t::EnergySumZdcCondition::print(), l1t::MuCondition::print(), l1t::CorrCondition::print(), l1t::CaloCondition::print(), l1t::CorrThreeBodyCondition::print(), l1t::CorrWithOverlapRemovalCondition::print(), l1t::AlgorithmEvaluation::print(), GlobalObjectMap::print(), GlobalObjectMap::setAlgoBitNumber(), GlobalObjectMap::setAlgoGtlResult(), GlobalObjectMap::setAlgoName(), l1t::CorrCondition::setScales(), l1t::CorrThreeBodyCondition::setScales(), l1t::CorrWithOverlapRemovalCondition::setScales(), l1t::ConditionEvaluation::setVerbosity(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalObjectMap::swapCombinationVector(), GlobalObjectMap::swapObjectTypeVector(), and GlobalObjectMap::swapOperandTokenVector().
void GlobalBoard::setBxFirst | ( | int | bx | ) |
void GlobalBoard::setBxLast | ( | int | bx | ) |
|
inline |
|
inline |
Definition at line 211 of file GlobalBoard.h.
References m_resetPSCountersEachLumiSec, and heppy_batch::val.
|
inline |
Definition at line 212 of file GlobalBoard.h.
References m_semiRandomInitialPSCounters, and heppy_batch::val.
|
inline |
|
private |
Definition at line 282 of file GlobalBoard.h.
|
private |
Definition at line 283 of file GlobalBoard.h.
|
private |
Definition at line 279 of file GlobalBoard.h.
|
private |
Definition at line 280 of file GlobalBoard.h.
|
private |
Definition at line 281 of file GlobalBoard.h.
|
private |
Definition at line 286 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 253 of file GlobalBoard.h.
|
private |
Definition at line 254 of file GlobalBoard.h.
|
private |
Definition at line 241 of file GlobalBoard.h.
Referenced by getCandL1EG().
|
private |
Definition at line 244 of file GlobalBoard.h.
Referenced by getCandL1EtSum().
|
private |
Definition at line 245 of file GlobalBoard.h.
Referenced by getCandL1EtSumZdc().
|
private |
Definition at line 246 of file GlobalBoard.h.
Referenced by getCandL1External().
|
private |
Definition at line 243 of file GlobalBoard.h.
Referenced by getCandL1Jet().
Definition at line 239 of file GlobalBoard.h.
Referenced by getCandL1Mu().
|
private |
Definition at line 240 of file GlobalBoard.h.
Referenced by getCandL1MuShower().
|
private |
Definition at line 242 of file GlobalBoard.h.
Referenced by getCandL1Tau().
|
private |
Definition at line 256 of file GlobalBoard.h.
Referenced by getCICADAScore(), and setCICADAScore().
|
private |
Definition at line 269 of file GlobalBoard.h.
|
private |
Definition at line 271 of file GlobalBoard.h.
|
private |
Definition at line 258 of file GlobalBoard.h.
Referenced by getAlgorithmOR(), and GlobalBoard().
|
private |
Definition at line 259 of file GlobalBoard.h.
Referenced by getDecisionWord(), and GlobalBoard().
|
private |
Definition at line 276 of file GlobalBoard.h.
|
private |
Definition at line 229 of file GlobalBoard.h.
|
private |
Definition at line 230 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 225 of file GlobalBoard.h.
|
private |
Definition at line 226 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 232 of file GlobalBoard.h.
|
private |
Definition at line 233 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 322 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 293 of file GlobalBoard.h.
Referenced by setResetPSCountersEachLumiSec().
|
private |
Definition at line 266 of file GlobalBoard.h.
Referenced by enableAXOScoreSaving().
|
private |
Definition at line 296 of file GlobalBoard.h.
Referenced by setSemiRandomInitialPSCounters().
|
staticprivate |
Definition at line 301 of file GlobalBoard.h.
Referenced by l1t::GlobalBoard::PrescaleCounter::PrescaleCounter().
|
private |
Definition at line 265 of file GlobalBoard.h.
|
private |
Definition at line 261 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 264 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 289 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 290 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |