#include <L1TSync.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override |
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
BeginRun. More... | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Private Member Functions | |
void | certifyLSBlock (std::string iTrigger, int iInitLs, int iEndLs, float iValue) |
void | doFractionInSync (bool iForce=false, bool iBad=false) |
void | getBeamConfOMDS () |
Private Attributes | |
const std::vector< std::vector < int > > * | ListsPrescaleFactors |
std::map< std::string, bool > | m_algoAutoSelect |
std::map< TString, int > | m_algoBit |
std::map< TString, MonitorElement * > | m_algoCertification |
std::map< TString, MonitorElement * > | m_algoVsBunchStructure |
BeamConfiguration | m_beamConfig |
std::map< TString, unsigned int > | m_certFirstLS |
std::map< TString, unsigned int > | m_certLastLS |
unsigned int | m_currentLS |
bool | m_currentLSValid |
MonitorElement * | m_ErrorMonitor |
L1TMenuHelper::Tokens | m_helperTokens |
edm::EDGetTokenT < L1GlobalTriggerReadoutRecord > | m_l1GtDataDaqInputTag |
edm::EDGetTokenT < L1GlobalTriggerEvmReadoutRecord > | m_l1GtEvmSource |
L1GtUtils | m_l1GtUtils |
unsigned int | m_lhcFill |
const edm::ESGetToken < L1GtTriggerMenu, L1GtTriggerMenuRcd > | m_menuToken |
std::string | m_outputFile |
edm::ParameterSet | m_parameters |
bool * | m_processedLS |
int | m_refPrescaleSet |
std::map< std::string, std::string > | m_selectedTriggers |
bool | m_verbose |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
enum L1TSync::BeamMode |
Enumerator | |
---|---|
NOMODE | |
SETUP | |
INJPILOT | |
INJINTR | |
INJNOMN | |
PRERAMP | |
RAMP | |
FLATTOP | |
QUEEZE | |
ADJUST | |
STABLE | |
UNSTABLE | |
BEAMDUMP | |
RAMPDOWN | |
RECOVERY | |
INJDUMP | |
CIRCDUMP | |
ABORT | |
CYCLING | |
WBDUMP | |
NOBEAM |
Definition at line 46 of file L1TSync.h.
enum L1TSync::Errors |
Enumerator | |
---|---|
UNKNOWN | |
WARNING_DB_CONN_FAILED | |
WARNING_DB_QUERY_FAILED | |
WARNING_DB_INCORRECT_NBUNCHES | |
ERROR_UNABLE_RETRIVE_PRODUCT | |
ERROR_TRIGGERALIAS_NOTVALID | |
ERROR_LSBLOCK_NOTVALID |
Definition at line 70 of file L1TSync.h.
L1TSync::L1TSync | ( | const edm::ParameterSet & | ps | ) |
Definition at line 37 of file L1TSync.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_algoAutoSelect, m_l1GtDataDaqInputTag, m_l1GtEvmSource, m_outputFile, m_parameters, m_refPrescaleSet, m_selectedTriggers, m_verbose, TrackValidation_cff::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 300 of file L1TSync.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 480 of file L1TSync.cc.
References a, funct::abs(), BeamConfiguration::beam1, BeamConfiguration::beam2, L1GtfeExtWord::beamMode(), BeamConfiguration::bxConfig(), gather_cfg::cout, ERROR_UNABLE_RETRIVE_PRODUCT, getBeamConfOMDS(), edm::Event::getByToken(), dqm::impl::MonitorElement::getTH1(), mps_fire::i, BeamConfiguration::isValid(), edm::HandleBase::isValid(), L1GtfeExtWord::lhcFillNumber(), m_algoBit, m_algoVsBunchStructure, m_beamConfig, m_currentLS, m_currentLSValid, m_ErrorMonitor, m_l1GtDataDaqInputTag, m_l1GtEvmSource, m_lhcFill, m_selectedTriggers, m_verbose, and STABLE.
|
overrideprotected |
Definition at line 383 of file L1TSync.cc.
References gather_cfg::cout, doFractionInSync(), mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), m_certFirstLS, m_currentLS, m_currentLSValid, m_selectedTriggers, and m_verbose.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 311 of file L1TSync.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), ERROR_LSBLOCK_NOTVALID, ERROR_TRIGGERALIAS_NOTVALID, ERROR_UNABLE_RETRIVE_PRODUCT, edm::EventSetup::getData(), L1TMenuHelper::getLUSOTrigger(), L1GtTriggerMenu::gtAlgorithmAliasMap(), mps_fire::i, m_algoAutoSelect, m_algoBit, m_algoCertification, m_algoVsBunchStructure, m_certFirstLS, m_certLastLS, m_currentLS, m_ErrorMonitor, m_helperTokens, m_l1GtUtils, m_lhcFill, m_menuToken, m_refPrescaleSet, m_selectedTriggers, relval_steps::menu, L1GtUtils::retrieveL1EventSetup(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), L1TMenuHelper::testAlgos(), UNKNOWN, WARNING_DB_CONN_FAILED, WARNING_DB_INCORRECT_NBUNCHES, and WARNING_DB_QUERY_FAILED.
|
private |
Definition at line 776 of file L1TSync.cc.
References eostools::ls(), and m_algoCertification.
Referenced by doFractionInSync().
|
private |
Definition at line 673 of file L1TSync.cc.
References a, certifyLSBlock(), gather_cfg::cout, ERROR_LSBLOCK_NOTVALID, ERROR_TRIGGERALIAS_NOTVALID, hcaldqm::quantity::fLS, HLT_FULL_cff::fraction, edm::ParameterSet::getParameter(), dqm::impl::MonitorElement::getTH1(), mps_fire::i, eostools::ls(), m_algoVsBunchStructure, m_certFirstLS, m_certLastLS, m_ErrorMonitor, m_parameters, m_selectedTriggers, and m_verbose.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
overrideprotectedvirtual |
BeginRun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 304 of file L1TSync.cc.
References gather_cfg::cout, and m_verbose.
|
overrideprotected |
Definition at line 418 of file L1TSync.cc.
References gather_cfg::cout, doFractionInSync(), mps_fire::i, BeamConfiguration::isValid(), m_beamConfig, m_certFirstLS, m_certLastLS, m_currentLS, m_currentLSValid, m_selectedTriggers, and m_verbose.
|
private |
Definition at line 593 of file L1TSync.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), dqm::impl::MonitorElement::getTH1(), m_beamConfig, m_ErrorMonitor, m_lhcFill, m_parameters, BeamConfiguration::m_valid, m_verbose, BeamConfiguration::nCollidingBunches, L1TOMDSHelper::NO_ERROR, UNKNOWN, L1TOMDSHelper::WARNING_DB_CONN_FAILED, WARNING_DB_CONN_FAILED, WARNING_DB_INCORRECT_NBUNCHES, L1TOMDSHelper::WARNING_DB_QUERY_FAILED, and WARNING_DB_QUERY_FAILED.
Referenced by analyze().
|
private |
|
private |
Definition at line 127 of file L1TSync.h.
Referenced by bookHistograms(), and L1TSync().
|
private |
Definition at line 122 of file L1TSync.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 125 of file L1TSync.h.
Referenced by bookHistograms(), and certifyLSBlock().
|
private |
Definition at line 126 of file L1TSync.h.
Referenced by analyze(), bookHistograms(), and doFractionInSync().
|
private |
Definition at line 116 of file L1TSync.h.
Referenced by analyze(), endLuminosityBlock(), and getBeamConfOMDS().
|
private |
Definition at line 123 of file L1TSync.h.
Referenced by beginLuminosityBlock(), bookHistograms(), doFractionInSync(), and endLuminosityBlock().
|
private |
Definition at line 124 of file L1TSync.h.
Referenced by bookHistograms(), doFractionInSync(), and endLuminosityBlock().
|
private |
Definition at line 111 of file L1TSync.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 106 of file L1TSync.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 131 of file L1TSync.h.
Referenced by analyze(), bookHistograms(), doFractionInSync(), and getBeamConfOMDS().
|
private |
Definition at line 137 of file L1TSync.h.
Referenced by bookHistograms().
|
private |
|
private |
|
private |
Definition at line 139 of file L1TSync.h.
Referenced by bookHistograms().
|
private |
Definition at line 113 of file L1TSync.h.
Referenced by analyze(), bookHistograms(), and getBeamConfOMDS().
|
private |
Definition at line 136 of file L1TSync.h.
Referenced by bookHistograms().
|
private |
|
private |
Definition at line 100 of file L1TSync.h.
Referenced by doFractionInSync(), getBeamConfOMDS(), and L1TSync().
|
private |
Definition at line 110 of file L1TSync.h.
Referenced by bookHistograms(), and L1TSync().
|
private |
Definition at line 128 of file L1TSync.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), doFractionInSync(), endLuminosityBlock(), and L1TSync().
|
private |
Definition at line 105 of file L1TSync.h.
Referenced by analyze(), beginLuminosityBlock(), doFractionInSync(), dqmBeginRun(), endLuminosityBlock(), getBeamConfOMDS(), and L1TSync().