#include <DQM/SiStripMonitorCluster/interface/SiStripDcsInfo.h>
Classes | |
struct | SubDetMEs |
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_ |
bool | IsLumiGoodDcs_ |
unsigned long long | m_cacheIDCabling_ |
unsigned long long | m_cacheIDDcs_ |
float | MaxAcceptableBadDcsLumi_ = 2 |
float | MinAcceptableDcsDetFrac_ = 0.90 |
int | nFEDConnected_ |
int | nGoodDcsLumi_ |
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 42 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 326 of file SiStripDcsInfo.cc.
References DQMStore::bookInt(), DQMStore::cd(), DEFINE_FWK_MODULE, dqmStore_, MonitorElement::Fill(), RemoveAddSevLevel::flag, DQMStore::get(), MonitorElement::getIntValue(), SiStripUtility::goToDir(), MaxAcceptableBadDcsLumi_, 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 54 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 138 of file SiStripDcsInfo.cc.
References LogDebug, nFEDConnected_, nLumiAnalysed_, readStatus(), and SubDetMEsMap.
|
privatevirtual |
Begin Run.
Reimplemented from edm::EDAnalyzer.
Definition at line 103 of file SiStripDcsInfo.cc.
References bookStatus(), fillDummyStatus(), edm::EventSetup::find(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), LogDebug, RunInfo::m_fed_in, 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 154 of file SiStripDcsInfo.cc.
References fillStatus(), LogDebug, nFEDConnected_, and readStatus().
|
privatevirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 164 of file SiStripDcsInfo.cc.
References addBadModules(), LogDebug, nFEDConnected_, readStatus(), and SubDetMEsMap.
|
private |
Definition at line 312 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(), dedxEstimators_cff::fraction, IsLumiGoodDcs_, MinAcceptableDcsDetFrac_, nFEDConnected_, nGoodDcsLumi_, MonitorElement::Reset(), and SubDetMEsMap.
Referenced by endLuminosityBlock().
|
private |
Definition at line 206 of file SiStripDcsInfo.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), detCabling_, edm::EventSetup::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 247 of file SiStripDcsInfo.cc.
References detCabling_, spr::find(), edm::EventSetup::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 96 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 83 of file SiStripDcsInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and fillStatus().
|
private |
Definition at line 108 of file SiStripDcsInfo.h.
Referenced by readCabling(), and readStatus().
|
private |
Definition at line 82 of file SiStripDcsInfo.h.
Referenced by addBadModules(), and bookStatus().
|
private |
Definition at line 103 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 94 of file SiStripDcsInfo.h.
Referenced by readCabling().
|
private |
Definition at line 95 of file SiStripDcsInfo.h.
|
private |
Definition at line 106 of file SiStripDcsInfo.h.
Referenced by addBadModules().
|
private |
Definition at line 105 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 99 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and fillStatus().
|
private |
Definition at line 104 of file SiStripDcsInfo.h.
Referenced by fillStatus().
|
private |
Definition at line 101 of file SiStripDcsInfo.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 98 of file SiStripDcsInfo.h.
Referenced by readStatus().
|
private |
Definition at line 93 of file SiStripDcsInfo.h.
Referenced by addBadModules(), beginJob(), beginLuminosityBlock(), bookStatus(), endRun(), fillDummyStatus(), fillStatus(), readCabling(), and readStatus().