#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 |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 Utilities::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_, RunInfo::m_fed_in, 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(), 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 180 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 206 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().