#include <GlobalBoard.h>
Public Member Functions | |
void | fillAlgRecord (int iBxInEvent, std::unique_ptr< GlobalAlgBlkBxCollection > &uGtAlgRecord, int prescaleSet, int menuUUID, int firmwareUUID) |
Fill the Daq Records. More... | |
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 Tau data list More... | |
const BXVector< const GlobalExtBlk * > * | getCandL1External () const |
pointer to Tau 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< const l1t::L1Candidate * > * | getCandL1Tau () const |
pointer to Tau data list More... | |
const std::bitset< GlobalAlgBlk::maxPhysicsTriggers > & | getDecisionWord () const |
return decision More... | |
GlobalBoard () | |
void | init (const int numberPhysTriggers, const int nrL1Mu, 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 (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 bool receiveEG, const int nrL1EG, const bool receiveTau, const int nrL1Tau, const bool receiveJet, const int nrL1Jet, const bool receiveEtSums) |
receive data from Global Muon Trigger More... | |
void | receiveExternalData (edm::Event &, const edm::EDGetTokenT< BXVector< GlobalExtBlk >> &, const bool receiveExt) |
void | receiveMuonObjectData (edm::Event &, const edm::EDGetTokenT< BXVector< l1t::Muon >> &, const bool receiveMu, const int nrL1Mu) |
void | reset () |
clear uGT More... | |
void | resetCalo () |
void | resetExternal () |
void | resetMu () |
void | runFDL (edm::Event &iEvent, const int iBxInEvent, const int totalBxInEvent, const unsigned int numberPhysTriggers, const std::vector< int > &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 (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 nrL1EG, const int nrL1Tau, const int nrL1Jet) |
run the uGT GTL (Conditions and Algorithms) More... | |
void | setBxFirst (int bx) |
void | setBxLast (int bx) |
void | setVerbosity (const int verbosity) |
virtual | ~GlobalBoard () |
Definition at line 52 of file GlobalBoard.h.
GlobalBoard::GlobalBoard | ( | ) |
Definition at line 59 of file GlobalBoard.cc.
References m_boardEventCount, m_gtlAlgorithmOR, m_gtlDecisionWord, m_l1CaloGeometryCacheID, m_l1GtMenuCacheID, m_l1MuTriggerScalesCacheID, m_uGtAlgBlk, m_uGtBoardNumber, m_uGtFinalBoard, and GlobalAlgBlk::reset().
|
virtual |
Definition at line 89 of file GlobalBoard.cc.
References m_candL1EG, m_candL1EtSum, m_candL1External, m_candL1Jet, m_candL1Mu, and m_candL1Tau.
void GlobalBoard::fillAlgRecord | ( | int | iBxInEvent, |
std::unique_ptr< GlobalAlgBlkBxCollection > & | uGtAlgRecord, | ||
int | prescaleSet, | ||
int | menuUUID, | ||
int | firmwareUUID | ||
) |
Fill the Daq Records.
Definition at line 955 of file GlobalBoard.cc.
References LogDebug, m_algFinalOr, m_algFinalOrVeto, m_algIntermOr, m_uGtAlgBlk, m_verbosity, GlobalAlgBlk::setbxInEventNr(), GlobalAlgBlk::setFinalOR(), GlobalAlgBlk::setFinalORPreVeto(), GlobalAlgBlk::setFinalORVeto(), GlobalAlgBlk::setL1FirmwareUUID(), GlobalAlgBlk::setL1MenuUUID(), and GlobalAlgBlk::setPreScColumn().
|
inline |
return algorithm OR decision
Definition at line 135 of file GlobalBoard.h.
References m_gtlAlgorithmOR.
|
inline |
pointer to EG data list
Definition at line 141 of file GlobalBoard.h.
References m_candL1EG.
Referenced by l1t::CorrCondition::evaluateCondition(), l1t::CaloCondition::evaluateCondition(), l1t::CorrWithOverlapRemovalCondition::evaluateCondition(), l1t::CaloCondition::getCandidate(), l1t::CorrCondition::getCandidate(), and l1t::CorrWithOverlapRemovalCondition::getCandidate().
|
inline |
pointer to Tau data list
Definition at line 150 of file GlobalBoard.h.
References m_candL1EtSum.
Referenced by l1t::EnergySumCondition::evaluateCondition(), l1t::CorrCondition::evaluateCondition(), and l1t::CorrWithOverlapRemovalCondition::evaluateCondition().
|
inline |
pointer to Tau data list
Definition at line 153 of file GlobalBoard.h.
References l1GtPatternGenerator_cfi::bx, m_candL1External, setBxFirst(), and setBxLast().
Referenced by l1t::ExternalCondition::evaluateCondition().
|
inline |
pointer to Jet data list
Definition at line 144 of file GlobalBoard.h.
References m_candL1Jet.
Referenced by l1t::CorrCondition::evaluateCondition(), l1t::CaloCondition::evaluateCondition(), l1t::CorrWithOverlapRemovalCondition::evaluateCondition(), l1t::CaloCondition::getCandidate(), l1t::CorrCondition::getCandidate(), and l1t::CorrWithOverlapRemovalCondition::getCandidate().
return global muon trigger candidate
Definition at line 138 of file GlobalBoard.h.
References m_candL1Mu.
Referenced by l1t::MuCondition::evaluateCondition(), l1t::CorrCondition::evaluateCondition(), l1t::CorrWithOverlapRemovalCondition::evaluateCondition(), and l1t::MuCondition::getCandidate().
|
inline |
pointer to Tau data list
Definition at line 147 of file GlobalBoard.h.
References m_candL1Tau.
Referenced by l1t::CorrCondition::evaluateCondition(), l1t::CaloCondition::evaluateCondition(), l1t::CorrWithOverlapRemovalCondition::evaluateCondition(), l1t::CaloCondition::getCandidate(), l1t::CorrCondition::getCandidate(), and l1t::CorrWithOverlapRemovalCondition::getCandidate().
|
inline |
return decision
Definition at line 132 of file GlobalBoard.h.
References m_gtlDecisionWord.
void GlobalBoard::init | ( | const int | numberPhysTriggers, |
const int | nrL1Mu, | ||
const int | nrL1EG, | ||
const int | nrL1Tau, | ||
const int | nrL1Jet, | ||
int | bxFirst, | ||
int | bxLast | ||
) |
initialize the class (mainly reserve)
Definition at line 106 of file GlobalBoard.cc.
References LogDebug, m_bxFirst_, m_bxLast_, m_candL1EG, m_candL1EtSum, m_candL1External, m_candL1Jet, m_candL1Mu, m_candL1Tau, m_uGtAlgBlk, GlobalAlgBlk::reset(), setBxFirst(), setBxLast(), and BXVector< T >::setBXRange().
void GlobalBoard::printGmtData | ( | const int | iBxInEvent | ) | const |
print received Muon dataWord
Definition at line 1014 of file GlobalBoard.cc.
References LogTrace, and m_candL1Mu.
void GlobalBoard::receiveCaloObjectData | ( | 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 bool | receiveEG, | ||
const int | nrL1EG, | ||
const bool | receiveTau, | ||
const int | nrL1Tau, | ||
const bool | receiveJet, | ||
const int | nrL1Jet, | ||
const bool | receiveEtSums | ||
) |
receive data from Global Muon Trigger
Definition at line 130 of file GlobalBoard.cc.
References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), metsig::jet, LogDebug, LogTrace, m_bxLast_, m_verbosity, resetCalo(), and metsig::tau.
void GlobalBoard::receiveExternalData | ( | edm::Event & | iEvent, |
const edm::EDGetTokenT< BXVector< GlobalExtBlk >> & | extInputToken, | ||
const bool | receiveExt | ||
) |
Definition at line 386 of file GlobalBoard.cc.
References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), LogDebug, m_bxLast_, m_verbosity, and resetExternal().
void GlobalBoard::receiveMuonObjectData | ( | edm::Event & | iEvent, |
const edm::EDGetTokenT< BXVector< l1t::Muon >> & | muInputToken, | ||
const bool | receiveMu, | ||
const int | nrL1Mu | ||
) |
Definition at line 332 of file GlobalBoard.cc.
References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), LogDebug, m_bxLast_, m_verbosity, amptDefaultParameters_cff::mu, and resetMu().
void GlobalBoard::reset | ( | void | ) |
clear uGT
Definition at line 978 of file GlobalBoard.cc.
References m_gtlAlgorithmOR, m_gtlDecisionWord, m_uGtAlgBlk, GlobalAlgBlk::reset(), resetCalo(), resetExternal(), and resetMu().
void GlobalBoard::resetCalo | ( | ) |
Definition at line 996 of file GlobalBoard.cc.
References m_bxFirst_, m_bxLast_, m_candL1EG, m_candL1EtSum, m_candL1Jet, and m_candL1Tau.
Referenced by receiveCaloObjectData(), and reset().
void GlobalBoard::resetExternal | ( | ) |
Definition at line 1008 of file GlobalBoard.cc.
References BXVector< T >::clear(), m_bxFirst_, m_bxLast_, m_candL1External, and BXVector< T >::setBXRange().
Referenced by receiveExternalData(), and reset().
void GlobalBoard::resetMu | ( | ) |
Definition at line 990 of file GlobalBoard.cc.
References m_bxFirst_, m_bxLast_, and m_candL1Mu.
Referenced by receiveMuonObjectData(), and reset().
void GlobalBoard::runFDL | ( | edm::Event & | iEvent, |
const int | iBxInEvent, | ||
const int | totalBxInEvent, | ||
const unsigned int | numberPhysTriggers, | ||
const std::vector< int > & | 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 829 of file GlobalBoard.cc.
References GlobalAlgBlk::copyInitialToInterm(), GlobalAlgBlk::copyIntermToFinal(), GlobalAlgBlk::getAlgoDecisionInitial(), GlobalAlgBlk::getAlgoDecisionInterm(), LogDebug, edm::EventBase::luminosityBlock(), m_algFinalOr, m_algFinalOrVeto, m_algInitialOr, m_algIntermOr, m_algPrescaledOr, m_currentLumi, m_firstEv, m_firstEvLumiSegment, m_prescaleCounterAlgoTrig, m_uGtAlgBlk, m_verbosity, GlobalAlgBlk::setAlgoDecisionFinal(), and GlobalAlgBlk::setAlgoDecisionInterm().
void GlobalBoard::runGTL | ( | 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 | nrL1EG, | ||
const int | nrL1Tau, | ||
const int | nrL1Jet | ||
) |
run the uGT GTL (Conditions and Algorithms)
DMP Start debugging here
Definition at line 428 of file GlobalBoard.cc.
References CorrelationTemplate::cond0Category(), CorrelationWithOverlapRemovalTemplate::cond0Category(), CorrelationTemplate::cond0Index(), CorrelationWithOverlapRemovalTemplate::cond0Index(), CorrelationTemplate::cond1Category(), CorrelationWithOverlapRemovalTemplate::cond1Category(), CorrelationTemplate::cond1Index(), CorrelationWithOverlapRemovalTemplate::cond1Index(), CorrelationWithOverlapRemovalTemplate::cond2Category(), CorrelationWithOverlapRemovalTemplate::cond2Index(), l1t::CondCalo, l1t::CondCorrelation, l1t::CondCorrelationWithOverlapRemoval, l1t::CondEnergySum, l1t::CondExternal, l1t::CondMuon, l1t::CondNull, TriggerMenu::corCaloTemplate(), TriggerMenu::corEnergySumTemplate(), TriggerMenu::corMuonTemplate(), l1t::AlgorithmEvaluation::evaluateAlgorithm(), l1t::ConditionEvaluation::evaluateConditionStoreResult(), newFWLiteAna::found, l1t::GlobalScales::getScalesName(), l1t::AlgorithmEvaluation::gtAlgoCombinationVector(), l1t::AlgorithmEvaluation::gtAlgoResult(), TriggerMenu::gtAlgorithmMap(), TriggerMenu::gtConditionMap(), TriggerMenu::gtScales(), LogDebug, LogTrace, m_algFinalOr, m_algFinalOrVeto, m_algInitialOr, m_algIntermOr, m_algPrescaledOr, m_conditionResultMaps, m_isDebugEnabled, m_uGtAlgBlk, m_verbosity, match(), l1t::AlgorithmEvaluation::operandTokenVector(), CalibrationSummaryClient_cfi::otype, l1t::EnergySumCondition::print(), l1t::MuCondition::print(), l1t::ExternalCondition::print(), l1t::CorrCondition::print(), l1t::CaloCondition::print(), edm::print(), l1t::CorrWithOverlapRemovalCondition::print(), GlobalObjectMap::print(), l1t::AlgorithmEvaluation::print(), GlobalAlgBlk::reset(), GlobalObjectMap::setAlgoBitNumber(), GlobalAlgBlk::setAlgoDecisionInitial(), GlobalObjectMap::setAlgoGtlResult(), GlobalObjectMap::setAlgoName(), l1t::CorrCondition::setScales(), l1t::CorrWithOverlapRemovalCondition::setScales(), l1t::ConditionEvaluation::setVerbosity(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalObjectMap::swapCombinationVector(), GlobalObjectMap::swapObjectTypeVector(), and GlobalObjectMap::swapOperandTokenVector().
void GlobalBoard::setBxFirst | ( | int | bx | ) |
Definition at line 102 of file GlobalBoard.cc.
References l1GtPatternGenerator_cfi::bx, and m_bxFirst_.
Referenced by getCandL1External(), and init().
void GlobalBoard::setBxLast | ( | int | bx | ) |
Definition at line 104 of file GlobalBoard.cc.
References l1GtPatternGenerator_cfi::bx, and m_bxLast_.
Referenced by getCandL1External(), and init().
|
inline |
Definition at line 185 of file GlobalBoard.h.
References m_verbosity, and HIPAlignmentAlgorithm_cfi::verbosity.
|
private |
Definition at line 244 of file GlobalBoard.h.
Referenced by fillAlgRecord(), runFDL(), and runGTL().
|
private |
Definition at line 245 of file GlobalBoard.h.
Referenced by fillAlgRecord(), runFDL(), and runGTL().
|
private |
Definition at line 241 of file GlobalBoard.h.
|
private |
Definition at line 242 of file GlobalBoard.h.
Referenced by fillAlgRecord(), runFDL(), and runGTL().
|
private |
Definition at line 243 of file GlobalBoard.h.
|
private |
Definition at line 248 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 217 of file GlobalBoard.h.
Referenced by init(), resetCalo(), resetExternal(), resetMu(), and setBxFirst().
|
private |
Definition at line 218 of file GlobalBoard.h.
Referenced by init(), receiveCaloObjectData(), receiveExternalData(), receiveMuonObjectData(), resetCalo(), resetExternal(), resetMu(), and setBxLast().
|
private |
Definition at line 206 of file GlobalBoard.h.
Referenced by getCandL1EG(), init(), resetCalo(), and ~GlobalBoard().
|
private |
Definition at line 209 of file GlobalBoard.h.
Referenced by getCandL1EtSum(), init(), resetCalo(), and ~GlobalBoard().
|
private |
Definition at line 210 of file GlobalBoard.h.
Referenced by getCandL1External(), init(), resetExternal(), and ~GlobalBoard().
|
private |
Definition at line 208 of file GlobalBoard.h.
Referenced by getCandL1Jet(), init(), resetCalo(), and ~GlobalBoard().
Definition at line 205 of file GlobalBoard.h.
Referenced by getCandL1Mu(), init(), printGmtData(), resetMu(), and ~GlobalBoard().
|
private |
Definition at line 207 of file GlobalBoard.h.
Referenced by getCandL1Tau(), init(), resetCalo(), and ~GlobalBoard().
|
private |
Definition at line 226 of file GlobalBoard.h.
Referenced by runGTL().
|
private |
Definition at line 233 of file GlobalBoard.h.
Referenced by runFDL().
|
private |
Definition at line 231 of file GlobalBoard.h.
Referenced by runFDL().
|
private |
Definition at line 232 of file GlobalBoard.h.
Referenced by runFDL().
|
private |
Definition at line 220 of file GlobalBoard.h.
Referenced by getAlgorithmOR(), GlobalBoard(), and reset().
|
private |
Definition at line 221 of file GlobalBoard.h.
Referenced by getDecisionWord(), GlobalBoard(), and reset().
|
private |
Definition at line 238 of file GlobalBoard.h.
Referenced by runGTL().
|
private |
Definition at line 195 of file GlobalBoard.h.
|
private |
Definition at line 196 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 191 of file GlobalBoard.h.
|
private |
Definition at line 192 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 198 of file GlobalBoard.h.
|
private |
Definition at line 199 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
prescale counters: NumberPhysTriggers counters per bunch cross in event
Definition at line 229 of file GlobalBoard.h.
Referenced by runFDL().
|
private |
Definition at line 223 of file GlobalBoard.h.
Referenced by fillAlgRecord(), GlobalBoard(), init(), reset(), runFDL(), and runGTL().
|
private |
Definition at line 251 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
Definition at line 252 of file GlobalBoard.h.
Referenced by GlobalBoard().
|
private |
verbosity level
Definition at line 237 of file GlobalBoard.h.
Referenced by fillAlgRecord(), receiveCaloObjectData(), receiveExternalData(), receiveMuonObjectData(), runFDL(), runGTL(), and setVerbosity().