#include <DQM/SiStripMonitorCluster/interface/SiStripDaqInfo.h>
Classes | |
struct | SubDetMEs |
Public Member Functions | |
SiStripDaqInfo (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~SiStripDaqInfo () |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 | analyze (edm::Event const &, edm::EventSetup const &) |
Analyze. More... | |
void | beginJob () |
BeginJob. 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 | 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 &) |
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 cppFunctionSkipper::operator.
|
virtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Begin Run.
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file SiStripDaqInfo.cc.
References bookedStatus_, bookStatus(), DaqFraction_, fedCabling_, MonitorElement::Fill(), fillDummyStatus(), edm::EventSetup::find(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), m_cacheID_, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, nFedTotal, readFedIds(), readSubdetFedFractions(), and MonitorElement::Reset().
|
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().
|
privatevirtual |
End Of Luminosity.
Reimplemented from edm::EDAnalyzer.
Definition at line 168 of file SiStripDaqInfo.cc.
|
privatevirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 174 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 259 of file SiStripDaqInfo.cc.
References DQMStore::bookInt(), DQMStore::cd(), DQMStore::dirExists(), dqmStore_, fedCabling_, MonitorElement::Fill(), 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 180 of file SiStripDaqInfo.cc.
References fedCabling_, HcalMonitorModule_cfi::feds, edm::EventSetup::get(), SiStripUtility::getSubDetectorTag(), nFedTotal, edm::ESHandle< class >::product(), AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and subDetFedMap.
Referenced by beginRun().
|
private |
Definition at line 206 of file SiStripDaqInfo.cc.
References findExcludedModule(), edm::EventSetup::get(), FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, mergeVDriftHistosByStation::name, edm::ESHandle< class >::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().