#include <SiStripDcsInfo.h>
Classes | |
struct | SubDetMEs |
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | addBadModules (DQMStore &dqm_store) |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginJob () override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override |
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
void | bookStatus (DQMStore &dqm_store) |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override |
void | endRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
void | fillDummyStatus (DQMStore &dqm_store) |
void | fillStatus (DQMStore &dqm_store) |
void | readCabling (edm::EventSetup const &) |
void | readStatus (edm::EventSetup const &, int transition) |
Private Attributes | |
bool | bookedStatus_ {false} |
MonitorElement * | DcsFraction_ {nullptr} |
const SiStripDetCabling * | detCabling_ |
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > | detCablingToken_ |
edm::ESGetToken< SiStripDetVOff, SiStripDetVOffRcd > | detVOffToken0_ |
edm::ESGetToken< SiStripDetVOff, SiStripDetVOffRcd > | detVOffToken1_ |
edm::ESGetToken< SiStripDetVOff, SiStripDetVOffRcd > | detVOffToken2_ |
edm::ESWatcher< SiStripFedCablingRcd > | fedCablingWatcher_ |
bool | IsLumiGoodDcs_ {false} |
unsigned long long | m_cacheIDDcs_ {} |
int | nFEDConnected_ {} |
int | nGoodDcsLumi_ {} |
int | nLumiAnalysed_ {} |
edm::ESGetToken< RunInfo, RunInfoRcd > | runInfoToken_ |
std::map< std::string, SubDetMEs > | SubDetMEsMap {} |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken0_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken1_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken2_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken3_ |
Static Private Attributes | |
static constexpr float | MaxAcceptableBadDcsLumi_ {2} |
static constexpr float | MinAcceptableDcsDetFrac_ {0.90} |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
DQM/SiStripMonitorCluster/interface/SiStripDcsInfo.h
Description: Checks the # of SiStrip FEDs from DAQ Usage: <usage>
Definition at line 50 of file SiStripDcsInfo.h.
Definition at line 53 of file SiStripDcsInfo.h.
Definition at line 52 of file SiStripDcsInfo.h.
SiStripDcsInfo::SiStripDcsInfo | ( | const edm::ParameterSet & | ps | ) |
|
private |
Definition at line 265 of file SiStripDcsInfo.cc.
References dqm::implementation::IBooker::bookInt(), dqm::implementation::DQMStore::cd(), RemoveAddSevLevel::flag, dqm::implementation::IGetter::get(), SiStripUtility::goToDir(), MaxAcceptableBadDcsLumi_, hlt_dqm_clientPB-live_cfg::me, dqm::implementation::DQMStore::pwd(), SiStripUtility::setBadModuleFlag(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by endRun().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 35 of file SiStripDcsInfo.cc.
References SubDetMEsMap.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 77 of file SiStripDcsInfo.cc.
References LogDebug, nFEDConnected_, nLumiAnalysed_, readStatus(), and SubDetMEsMap.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 48 of file SiStripDcsInfo.cc.
References bookStatus(), fillDummyStatus(), edm::EventSetup::getHandle(), LogDebug, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, nFEDConnected_, readCabling(), runInfoToken_, and edm::EventSetup::tryToGet().
|
private |
Definition at line 117 of file SiStripDcsInfo.cc.
References bookedStatus_, dqm::implementation::IBooker::bookFloat(), dqm::implementation::DQMStore::cd(), DcsFraction_, SiStripUtility::getTopFolderPath(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and createPayload::suffix.
Referenced by beginRun(), fillDummyStatus(), and fillStatus().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 91 of file SiStripDcsInfo.cc.
References fillStatus(), LogDebug, nFEDConnected_, and readStatus().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 101 of file SiStripDcsInfo.cc.
References addBadModules(), LogDebug, nFEDConnected_, readStatus(), and SubDetMEsMap.
|
private |
Definition at line 252 of file SiStripDcsInfo.cc.
References cms::cuda::assert(), bookedStatus_, bookStatus(), DcsFraction_, dqm::impl::MonitorElement::Fill(), dqm::impl::MonitorElement::Reset(), and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 209 of file SiStripDcsInfo.cc.
References cms::cuda::assert(), bookedStatus_, bookStatus(), DcsFraction_, dqm::impl::MonitorElement::Fill(), HLT_FULL_cff::fraction, IsLumiGoodDcs_, MinAcceptableDcsDetFrac_, Skims_PA_cff::name, nFEDConnected_, nGoodDcsLumi_, dqm::impl::MonitorElement::Reset(), and SubDetMEsMap.
Referenced by endLuminosityBlock().
|
private |
Definition at line 145 of file SiStripDcsInfo.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), edm::ESWatcher< T >::check(), detCabling_, detCablingToken_, fedCablingWatcher_, edm::EventSetup::getData(), SiStripUtility::getSubDetectorTag(), LogDebug, AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), SubDetMEsMap, and tTopoToken3_.
Referenced by beginRun().
|
private |
Definition at line 181 of file SiStripDcsInfo.cc.
References detCabling_, detVOffToken0_, detVOffToken1_, detVOffToken2_, spr::find(), edm::EventSetup::getData(), SiStripUtility::getSubDetectorTag(), SiStripDetCabling::IsConnected(), LogDebug, AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), SubDetMEsMap, tTopoToken0_, tTopoToken1_, and tTopoToken2_.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 84 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 72 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 95 of file SiStripDcsInfo.h.
Referenced by readCabling(), and readStatus().
|
private |
Definition at line 99 of file SiStripDcsInfo.h.
Referenced by readCabling().
|
private |
Definition at line 97 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 97 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 97 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 98 of file SiStripDcsInfo.h.
Referenced by readCabling().
|
private |
Definition at line 90 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 83 of file SiStripDcsInfo.h.
|
staticconstexprprivate |
Definition at line 93 of file SiStripDcsInfo.h.
Referenced by addBadModules().
|
staticconstexprprivate |
Definition at line 92 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 86 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and fillStatus().
|
private |
Definition at line 91 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 88 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 100 of file SiStripDcsInfo.h.
Referenced by beginRun().
|
private |
Definition at line 82 of file SiStripDcsInfo.h.
Referenced by addBadModules(), beginJob(), beginLuminosityBlock(), bookStatus(), endRun(), fillDummyStatus(), fillStatus(), readCabling(), and readStatus().
|
private |
Definition at line 96 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 96 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 96 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 96 of file SiStripDcsInfo.h.
Referenced by readCabling().