#include <DQM/SiStripMonitorCluster/interface/SiStripDcsInfo.h>
Classes | |
struct | SubDetMEs |
Public Member Functions | |
SiStripDcsInfo (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~SiStripDcsInfo () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | addBadModules () |
void | analyze (edm::Event const &, edm::EventSetup const &) |
Analyze. More... | |
void | beginJob () |
BeginJob. More... | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) |
Begin Luminosity Block. More... | |
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) |
Begin Run. More... | |
void | bookStatus () |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) |
End Of Luminosity. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &eSetup) |
EndRun. More... | |
void | fillDummyStatus () |
void | fillStatus () |
void | readCabling (edm::EventSetup const &) |
void | readStatus (edm::EventSetup const &) |
Private Attributes | |
bool | bookedStatus_ |
MonitorElement * | DcsFraction_ |
edm::ESHandle< SiStripDetCabling > | detCabling_ |
DQMStore * | dqmStore_ |
unsigned long long | m_cacheIDCabling_ |
unsigned long long | m_cacheIDDcs_ |
int | nFEDConnected_ |
int | nLumiAnalysed_ |
edm::ESHandle< SiStripDetVOff > | siStripDetVOff_ |
std::map< std::string, SubDetMEs > | SubDetMEsMap |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Description: Checks the # of SiStrip FEDs from DAQ Usage: <usage>
Definition at line 41 of file SiStripDcsInfo.h.
SiStripDcsInfo::SiStripDcsInfo | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 33 of file SiStripDcsInfo.cc.
References LogDebug.
|
virtual |
|
private |
Definition at line 318 of file SiStripDcsInfo.cc.
References DQMStore::bookInt(), DQMStore::cd(), dqmStore_, MonitorElement::Fill(), DQMStore::get(), MonitorElement::getIntValue(), SiStripUtility::goToDir(), DQMStore::pwd(), MonitorElement::Reset(), SiStripUtility::setBadModuleFlag(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by endRun().
|
privatevirtual |
|
privatevirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 53 of file SiStripDcsInfo.cc.
References SiStripDcsInfo::SubDetMEs::DcsFractionME, SiStripDcsInfo::SubDetMEs::FaultyDetectors, SiStripDcsInfo::SubDetMEs::folder_name, AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, GlobalPosition_Frontier_DevDB_cff::tag, and SiStripDcsInfo::SubDetMEs::TotalDetectors.
|
privatevirtual |
Begin Luminosity Block.
Reimplemented from edm::EDAnalyzer.
Definition at line 137 of file SiStripDcsInfo.cc.
References LogDebug, nFEDConnected_, nLumiAnalysed_, readStatus(), and SubDetMEsMap.
|
privatevirtual |
Begin Run.
Reimplemented from edm::EDAnalyzer.
Definition at line 102 of file SiStripDcsInfo.cc.
References bookStatus(), fillDummyStatus(), edm::EventSetup::find(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), LogDebug, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, nFEDConnected_, and readCabling().
|
private |
Definition at line 178 of file SiStripDcsInfo.cc.
References bookedStatus_, DQMStore::bookFloat(), DQMStore::cd(), DcsFraction_, dqmStore_, SiStripUtility::getTopFolderPath(), DQMStore::setCurrentFolder(), MonitorElement::setLumiFlag(), AlCaHLTBitMon_QueryRunRegistry::string, and SubDetMEsMap.
Referenced by beginRun(), fillDummyStatus(), and fillStatus().
|
privatevirtual |
End Of Luminosity.
Reimplemented from edm::EDAnalyzer.
Definition at line 153 of file SiStripDcsInfo.cc.
References fillStatus(), LogDebug, nFEDConnected_, and readStatus().
|
privatevirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 163 of file SiStripDcsInfo.cc.
References addBadModules(), fillStatus(), LogDebug, nFEDConnected_, readStatus(), and SubDetMEsMap.
|
private |
Definition at line 304 of file SiStripDcsInfo.cc.
References bookedStatus_, bookStatus(), DcsFraction_, MonitorElement::Fill(), MonitorElement::Reset(), and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 276 of file SiStripDcsInfo.cc.
References bookedStatus_, bookStatus(), DcsFraction_, MonitorElement::Fill(), HLT_25ns14e33_v1_cff::fraction, nFEDConnected_, MonitorElement::Reset(), and SubDetMEsMap.
Referenced by endLuminosityBlock(), and endRun().
|
private |
Definition at line 206 of file SiStripDcsInfo.cc.
References detCabling_, edm::EventSetup::get(), SiStripUtility::getSubDetectorTag(), LogDebug, m_cacheIDCabling_, edm::ESHandle< class >::product(), AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 247 of file SiStripDcsInfo.cc.
References detCabling_, spr::find(), edm::EventSetup::get(), SiStripUtility::getSubDetectorTag(), LogDebug, edm::ESHandle< class >::product(), siStripDetVOff_, AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and SubDetMEsMap.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 94 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 82 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 101 of file SiStripDcsInfo.h.
Referenced by readCabling(), and readStatus().
|
private |
Definition at line 81 of file SiStripDcsInfo.h.
Referenced by addBadModules(), and bookStatus().
|
private |
Definition at line 92 of file SiStripDcsInfo.h.
Referenced by readCabling().
|
private |
Definition at line 93 of file SiStripDcsInfo.h.
|
private |
Definition at line 97 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and fillStatus().
|
private |
Definition at line 99 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 96 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 91 of file SiStripDcsInfo.h.
Referenced by addBadModules(), beginJob(), beginLuminosityBlock(), bookStatus(), endRun(), fillDummyStatus(), fillStatus(), readCabling(), and readStatus().