#include <L1TSync_Offline.h>
Public Types | |
enum | BeamMode { NOMODE =1, SETUP =2, INJPILOT =3, INJINTR =4, INJNOMN =5, PRERAMP =6, RAMP =7, FLATTOP =8, QUEEZE =9, ADJUST =10, STABLE =11, UNSTABLE =12, BEAMDUMP =13, RAMPDOWN =14, RECOVERY =15, INJDUMP =16, CIRCDUMP =17, ABORT =18, CYCLING =19, WBDUMP =20, NOBEAM =21 } |
enum | Errors { UNKNOWN = 1, WARNING_DB_CONN_FAILED = 2, WARNING_DB_QUERY_FAILED = 3, WARNING_DB_INCORRECT_NBUNCHES = 4, ERROR_UNABLE_RETRIVE_PRODUCT = 5, ERROR_TRIGGERALIAS_NOTVALID = 6, ERROR_LSBLOCK_NOTVALID = 7 } |
Public Member Functions | |
L1TSync_Offline (const edm::ParameterSet &ps) | |
~L1TSync_Offline () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< edm::LuminosityBlockCache< ltso::LSValid > > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
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 |
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 |
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > | m_l1GtDataDaqInputTag |
edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > | m_l1GtEvmSource |
L1GtUtils | m_l1GtUtils |
unsigned int | m_lhcFill |
edm::ParameterSet | m_parameters |
int | m_refPrescaleSet |
std::map< std::string, std::string > | m_selectedTriggers |
bool | m_verbose |
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 68 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 72 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 96 of file L1TSync_Offline.h.
L1TSync_Offline::L1TSync_Offline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 61 of file L1TSync_Offline.cc.
References TagProbeFitTreeAnalyzer_cfi::Categories, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_algoAutoSelect, m_l1GtDataDaqInputTag, m_l1GtEvmSource, m_parameters, m_refPrescaleSet, m_selectedTriggers, m_verbose, and muonDTDigis_cfi::pset.
|
override |
Definition at line 209 of file L1TSync_Offline.cc.
|
overrideprotected |
Definition at line 301 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(), MonitorElement::getTH1(), L1GlobalTriggerReadoutRecord::gtFdlVector(), L1GlobalTriggerEvmReadoutRecord::gtfeWord(), 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.
|
overrideprotected |
BeginRun.
Definition at line 219 of file L1TSync_Offline.cc.
References patPFMETCorrections_cff::algo, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), gather_cfg::cout, ERROR_LSBLOCK_NOTVALID, ERROR_TRIGGERALIAS_NOTVALID, ERROR_UNABLE_RETRIVE_PRODUCT, edm::EventSetup::get(), L1TMenuHelper::getLUSOTrigger(), L1GtTriggerMenu::gtAlgorithmAliasMap(), mps_fire::i, m_algoAutoSelect, m_algoBit, m_algoCertification, m_algoVsBunchStructure, m_certFirstLS, m_certLastLS, m_ErrorMonitor, m_l1GtUtils, m_lhcFill, m_refPrescaleSet, m_selectedTriggers, m_verbose, edm::ESHandle< T >::product(), L1GtUtils::retrieveL1EventSetup(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), L1TMenuHelper::testAlgos(), UNKNOWN, WARNING_DB_CONN_FAILED, WARNING_DB_INCORRECT_NBUNCHES, and WARNING_DB_QUERY_FAILED.
|
overrideprotected |
Definition at line 213 of file L1TSync_Offline.cc.
|
private |
Definition at line 435 of file L1TSync_Offline.cc.
References a, L1TBeamConfiguration::beam1, L1TBeamConfiguration::beam2, DEFINE_FWK_MODULE, edm::Event::getByToken(), L1GlobalTriggerReadoutRecord::gtFdlVector(), edm::HandleBase::isValid(), m_algoBit, m_beamConfig, m_l1GtDataDaqInputTag, m_selectedTriggers, and L1TBeamConfiguration::m_valid.
Referenced by analyze().
|
finalprotected |
|
inlinefinalprotected |
|
private |
Definition at line 147 of file L1TSync_Offline.h.
|
private |
Definition at line 155 of file L1TSync_Offline.h.
Referenced by bookHistograms(), and L1TSync_Offline().
|
private |
Definition at line 150 of file L1TSync_Offline.h.
Referenced by analyze(), bookHistograms(), and getBeamConfOffline().
|
private |
Definition at line 153 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 154 of file L1TSync_Offline.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 144 of file L1TSync_Offline.h.
Referenced by analyze(), and getBeamConfOffline().
|
private |
Definition at line 151 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 152 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 159 of file L1TSync_Offline.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 163 of file L1TSync_Offline.h.
Referenced by analyze(), getBeamConfOffline(), and L1TSync_Offline().
|
private |
Definition at line 162 of file L1TSync_Offline.h.
Referenced by analyze(), and L1TSync_Offline().
|
private |
Definition at line 165 of file L1TSync_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 141 of file L1TSync_Offline.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 133 of file L1TSync_Offline.h.
Referenced by L1TSync_Offline().
|
private |
Definition at line 139 of file L1TSync_Offline.h.
Referenced by bookHistograms(), and L1TSync_Offline().
|
private |
Definition at line 156 of file L1TSync_Offline.h.
Referenced by analyze(), bookHistograms(), getBeamConfOffline(), and L1TSync_Offline().
|
private |
Definition at line 136 of file L1TSync_Offline.h.
Referenced by analyze(), bookHistograms(), globalBeginLuminosityBlock(), and L1TSync_Offline().