#include <DQM/SiStripMonitorCluster/interface/SiStripDaqInfo.h>
Classes | |
struct | SubDetMEs |
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
Analyze. More... | |
void | beginJob () override |
BeginJob. More... | |
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
Begin Run. More... | |
void | bookStatus () |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override |
End Of Luminosity. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
EndRun. More... | |
void | fillDummyStatus () |
void | findExcludedModule (unsigned short fed_id, const TrackerTopology *tTopo) |
void | readFedIds (const edm::ESHandle< SiStripFedCabling > &fedcabling, edm::EventSetup const &iSetup) |
void | readSubdetFedFractions (std::vector< int > &fed_ids, edm::EventSetup const &iSetup) |
Private Attributes | |
bool | bookedStatus_ |
MonitorElement * | DaqFraction_ |
DQMStore * | dqmStore_ |
edm::ESHandle< SiStripFedCabling > | fedCabling_ |
unsigned long long | m_cacheID_ |
int | nFedTotal |
std::map< std::string, std::vector< unsigned short > > | subDetFedMap |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 SiStripDaqInfo.h.
SiStripDaqInfo::SiStripDaqInfo | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 34 of file SiStripDaqInfo.cc.
References bookedStatus_, dqmStore_, nFedTotal, and Utilities::operator.
|
override |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Begin Run.
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file SiStripDaqInfo.cc.
References bookedStatus_, bookStatus(), DaqFraction_, fedCabling_, MonitorElement::Fill(), fillDummyStatus(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), m_cacheID_, RunInfo::m_fed_in, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, nFedTotal, readFedIds(), readSubdetFedFractions(), MonitorElement::Reset(), and edm::EventSetup::tryToGet().
|
private |
Definition at line 58 of file SiStripDaqInfo.cc.
References bookedStatus_, DQMStore::bookFloat(), DQMStore::cd(), SiStripDaqInfo::SubDetMEs::ConnectedFeds, DaqFraction_, SiStripDaqInfo::SubDetMEs::DaqFractionME, dqmStore_, SiStripUtility::getTopFolderPath(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and SubDetMEsMap.
Referenced by beginRun(), and fillDummyStatus().
|
overrideprivatevirtual |
End Of Luminosity.
Reimplemented from edm::EDAnalyzer.
Definition at line 167 of file SiStripDaqInfo.cc.
|
overrideprivatevirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 173 of file SiStripDaqInfo.cc.
|
private |
Definition at line 99 of file SiStripDaqInfo.cc.
References bookedStatus_, bookStatus(), DaqFraction_, MonitorElement::Fill(), MonitorElement::Reset(), and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 258 of file SiStripDaqInfo.cc.
References DQMStore::bookInt(), DQMStore::cd(), DEFINE_FWK_MODULE, DQMStore::dirExists(), dqmStore_, fedCabling_, SiStripFedCabling::fedConnections(), MonitorElement::Fill(), RemoveAddSevLevel::flag, DQMStore::get(), MonitorElement::getIntValue(), SiStripFolderOrganizer::getSubDetFolder(), SiStripUtility::goToDir(), DQMStore::pwd(), MonitorElement::Reset(), SiStripUtility::setBadModuleFlag(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by readSubdetFedFractions().
|
private |
Definition at line 179 of file SiStripDaqInfo.cc.
References fedCabling_, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), edm::EventSetup::get(), SiStripUtility::getSubDetectorTag(), nFedTotal, edm::ESHandle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and subDetFedMap.
Referenced by beginRun().
|
private |
Definition at line 205 of file SiStripDaqInfo.cc.
References findExcludedModule(), edm::EventSetup::get(), genParticles_cff::map, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, dataset::name, edm::ESHandle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, subDetFedMap, and SubDetMEsMap.
Referenced by beginRun().
|
private |
Definition at line 91 of file SiStripDaqInfo.h.
Referenced by beginRun(), bookStatus(), fillDummyStatus(), and SiStripDaqInfo().
|
private |
Definition at line 80 of file SiStripDaqInfo.h.
Referenced by beginRun(), bookStatus(), and fillDummyStatus().
|
private |
Definition at line 79 of file SiStripDaqInfo.h.
Referenced by bookStatus(), findExcludedModule(), and SiStripDaqInfo().
|
private |
Definition at line 93 of file SiStripDaqInfo.h.
Referenced by beginRun(), findExcludedModule(), and readFedIds().
|
private |
Definition at line 89 of file SiStripDaqInfo.h.
Referenced by beginRun().
|
private |
Definition at line 90 of file SiStripDaqInfo.h.
Referenced by beginRun(), readFedIds(), and SiStripDaqInfo().
|
private |
Definition at line 77 of file SiStripDaqInfo.h.
Referenced by readFedIds(), and readSubdetFedFractions().
|
private |
Definition at line 87 of file SiStripDaqInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and readSubdetFedFractions().