#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 &) |
Private Attributes | |
bool | bookedStatus_ {false} |
MonitorElement * | DcsFraction_ {nullptr} |
edm::ESHandle< SiStripDetCabling > | detCabling_ {} |
bool | IsLumiGoodDcs_ {false} |
unsigned long long | m_cacheIDCabling_ {} |
unsigned long long | m_cacheIDDcs_ {} |
int | nFEDConnected_ {} |
int | nGoodDcsLumi_ {} |
int | nLumiAnalysed_ {} |
edm::ESHandle< SiStripDetVOff > | siStripDetVOff_ {} |
std::map< std::string, SubDetMEs > | SubDetMEsMap {} |
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 42 of file SiStripDcsInfo.h.
Definition at line 45 of file SiStripDcsInfo.h.
Definition at line 44 of file SiStripDcsInfo.h.
SiStripDcsInfo::SiStripDcsInfo | ( | const edm::ParameterSet & | ps | ) |
Definition at line 32 of file SiStripDcsInfo.cc.
References LogDebug.
|
private |
Definition at line 277 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 36 of file SiStripDcsInfo.cc.
References SubDetMEsMap.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 81 of file SiStripDcsInfo.cc.
References LogDebug, nFEDConnected_, nLumiAnalysed_, readStatus(), and SubDetMEsMap.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 49 of file SiStripDcsInfo.cc.
References bookStatus(), fillDummyStatus(), edm::ESHandleBase::isValid(), LogDebug, RunInfo::m_fed_in, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, nFEDConnected_, readCabling(), and edm::EventSetup::tryToGet().
|
private |
Definition at line 121 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 95 of file SiStripDcsInfo.cc.
References fillStatus(), LogDebug, nFEDConnected_, and readStatus().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 105 of file SiStripDcsInfo.cc.
References addBadModules(), LogDebug, nFEDConnected_, readStatus(), and SubDetMEsMap.
|
private |
Definition at line 264 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 221 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 149 of file SiStripDcsInfo.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), detCabling_, edm::EventSetup::get(), get, SiStripUtility::getSubDetectorTag(), LogDebug, m_cacheIDCabling_, edm::ESHandle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 190 of file SiStripDcsInfo.cc.
References detCabling_, spr::find(), edm::EventSetup::get(), get, SiStripDetVOff::getDetIds(), SiStripUtility::getSubDetectorTag(), SiStripDetCabling::IsConnected(), LogDebug, edm::ESHandle< T >::product(), siStripDetVOff_, AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and SubDetMEsMap.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 77 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 64 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 89 of file SiStripDcsInfo.h.
Referenced by readCabling(), and readStatus().
|
private |
Definition at line 84 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 75 of file SiStripDcsInfo.h.
Referenced by readCabling().
|
private |
Definition at line 76 of file SiStripDcsInfo.h.
|
staticconstexprprivate |
Definition at line 87 of file SiStripDcsInfo.h.
Referenced by addBadModules().
|
staticconstexprprivate |
Definition at line 86 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 80 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and fillStatus().
|
private |
Definition at line 85 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 82 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 79 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 74 of file SiStripDcsInfo.h.
Referenced by addBadModules(), beginJob(), beginLuminosityBlock(), bookStatus(), endRun(), fillDummyStatus(), fillStatus(), readCabling(), and readStatus().