#include <L1TSync_Offline.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override |
BeginRun. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
std::shared_ptr< ltso::LSValid > | globalBeginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) const final |
void | globalEndLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) final |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ltso::LSValid > > | |
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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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 | getBeamConfOffline (const edm::Event &) |
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 |
L1TBeamConfiguration | m_beamConfig |
std::map< TString, unsigned int > | m_certFirstLS |
std::map< TString, unsigned int > | m_certLastLS |
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 |
edm::ParameterSet | m_parameters |
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::LuminosityBlockCache< ltso::LSValid > > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Description: offline DQM module for L1Trigger/bunchStructure synchronization
Implementation: <TODO: enter implementation details>
Changelog: 2012/08/10 11:01:01: First creation. Dummy module with actual code commented.
Todo:
Definition at line 66 of file L1TSync_Offline.h.
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 68 of file L1TSync_Offline.h.
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 92 of file L1TSync_Offline.h.
L1TSync_Offline::L1TSync_Offline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 60 of file L1TSync_Offline.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_algoAutoSelect, m_l1GtDataDaqInputTag, m_l1GtEvmSource, m_parameters, m_refPrescaleSet, m_selectedTriggers, m_verbose, and TrackValidation_cff::pset.
|
override |
Definition at line 312 of file L1TSync_Offline.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ltso::LSValid > >.
Definition at line 405 of file L1TSync_Offline.cc.
References a, funct::abs(), L1TBeamConfiguration::beam1, L1TBeamConfiguration::beam2, L1GtfeExtWord::beamMode(), L1TBeamConfiguration::bxConfig(), gather_cfg::cout, ERROR_UNABLE_RETRIVE_PRODUCT, getBeamConfOffline(), edm::Event::getByToken(), edm::Event::getLuminosityBlock(), dqm::impl::MonitorElement::getTH1(), mps_fire::i, edm::LuminosityBlock::index(), L1TBeamConfiguration::isValid(), edm::HandleBase::isValid(), L1GtfeExtWord::lhcFillNumber(), m_algoBit, m_algoVsBunchStructure, m_beamConfig, m_ErrorMonitor, m_l1GtDataDaqInputTag, m_l1GtEvmSource, m_lhcFill, m_selectedTriggers, m_verbose, and STABLE.
|
overrideprotectedvirtual |
BeginRun.
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< ltso::LSValid > >.
Definition at line 320 of file L1TSync_Offline.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), gather_cfg::cout, 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_ErrorMonitor, m_helperTokens, m_l1GtUtils, m_lhcFill, m_menuToken, m_refPrescaleSet, m_selectedTriggers, m_verbose, 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.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ltso::LSValid > >.
Definition at line 316 of file L1TSync_Offline.cc.
|
private |
Definition at line 537 of file L1TSync_Offline.cc.
References a, L1TBeamConfiguration::beam1, L1TBeamConfiguration::beam2, edm::Event::getByToken(), edm::HandleBase::isValid(), m_algoBit, m_beamConfig, m_l1GtDataDaqInputTag, m_selectedTriggers, and L1TBeamConfiguration::m_valid.
Referenced by analyze().
|
finalprotected |
|
inlinefinalprotected |
Definition at line 112 of file L1TSync_Offline.h.
|
private |
Definition at line 139 of file L1TSync_Offline.h.
|
private |
Definition at line 147 of file L1TSync_Offline.h.
Referenced by bookHistograms(), and L1TSync_Offline().
|
private |
Definition at line 142 of file L1TSync_Offline.h.
Referenced by analyze(), bookHistograms(), and getBeamConfOffline().
|
private |
Definition at line 145 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 146 of file L1TSync_Offline.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 136 of file L1TSync_Offline.h.
Referenced by analyze(), and getBeamConfOffline().
|
private |
Definition at line 143 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 144 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 151 of file L1TSync_Offline.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 157 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 155 of file L1TSync_Offline.h.
Referenced by analyze(), getBeamConfOffline(), and L1TSync_Offline().
|
private |
Definition at line 154 of file L1TSync_Offline.h.
Referenced by analyze(), and L1TSync_Offline().
|
private |
Definition at line 159 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 133 of file L1TSync_Offline.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 156 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 125 of file L1TSync_Offline.h.
Referenced by L1TSync_Offline().
|
private |
Definition at line 131 of file L1TSync_Offline.h.
Referenced by bookHistograms(), and L1TSync_Offline().
|
private |
Definition at line 148 of file L1TSync_Offline.h.
Referenced by analyze(), bookHistograms(), getBeamConfOffline(), and L1TSync_Offline().
|
private |
Definition at line 128 of file L1TSync_Offline.h.
Referenced by analyze(), bookHistograms(), globalBeginLuminosityBlock(), and L1TSync_Offline().