#include <SiStripDaqInfo.h>
Classes | |
struct | SubDetMEs |
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
void | bookStatus (DQMStore &dqm_store) |
void | fillDummyStatus (DQMStore &dqm_store) |
void | findExcludedModule (DQMStore &dqm_store, unsigned short fed_id, TrackerTopology const *tTopo) |
void | readFedIds (edm::ESHandle< SiStripFedCabling > const &fedcabling, edm::EventSetup const &iSetup) |
void | readSubdetFedFractions (DQMStore &dqm_store, std::vector< int > const &fed_ids, edm::EventSetup const &iSetup) |
Private Attributes | |
bool | bookedStatus_ {false} |
MonitorElement * | daqFraction_ {nullptr} |
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 | |
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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
DQM/SiStripMonitorCluster/interface/SiStripDaqInfo.h
Description: Checks the # of SiStrip FEDs from DAQ Usage: <usage>
Definition at line 41 of file SiStripDaqInfo.h.
Definition at line 44 of file SiStripDaqInfo.h.
Definition at line 43 of file SiStripDaqInfo.h.
SiStripDaqInfo::SiStripDaqInfo | ( | edm::ParameterSet const & | ps | ) |
Definition at line 32 of file SiStripDaqInfo.cc.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 93 of file SiStripDaqInfo.cc.
References bookedStatus_, bookStatus(), daqFraction_, fedCabling_, dqm::impl::MonitorElement::Fill(), fillDummyStatus(), edm::EventSetup::get(), get, edm::ESHandleBase::isValid(), m_cacheID_, RunInfo::m_fed_in, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, nFedTotal_, readFedIds(), readSubdetFedFractions(), dqm::impl::MonitorElement::Reset(), and edm::EventSetup::tryToGet().
|
private |
Definition at line 39 of file SiStripDaqInfo.cc.
References bookedStatus_, dqm::implementation::IBooker::bookFloat(), dqm::implementation::DQMStore::cd(), daqFraction_, SiStripUtility::getTopFolderPath(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and subDetMEsMap_.
Referenced by beginRun(), and fillDummyStatus().
|
private |
Definition at line 79 of file SiStripDaqInfo.cc.
References cms::cuda::assert(), bookedStatus_, bookStatus(), daqFraction_, dqm::impl::MonitorElement::Fill(), dqm::impl::MonitorElement::Reset(), and subDetMEsMap_.
Referenced by beginRun().
|
private |
Definition at line 225 of file SiStripDaqInfo.cc.
References dqm::implementation::IBooker::bookInt(), dqm::implementation::DQMStore::cd(), SiStripCommissioningClient_cfg::conn, dqm::implementation::IGetter::dirExists(), fedCabling_, SiStripFedCabling::fedConnections(), RemoveAddSevLevel::flag, dqm::implementation::IGetter::get(), SiStripFolderOrganizer::getSubDetFolder(), SiStripUtility::goToDir(), hlt_dqm_clientPB-live_cfg::me, dqm::implementation::DQMStore::pwd(), SiStripUtility::setBadModuleFlag(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by readSubdetFedFractions().
|
private |
Definition at line 148 of file SiStripDaqInfo.cc.
References SiStripCommissioningClient_cfg::conn, fedCabling_, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), l1tstage2emulator_dqm_sourceclient-live_cfg::feds, edm::EventSetup::get(), get, SiStripUtility::getSubDetectorTag(), nFedTotal_, edm::ESHandle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, xuti::subdet_tag(), and subDetFedMap_.
Referenced by beginRun().
|
private |
Definition at line 175 of file SiStripDaqInfo.cc.
References l1tstage2_dqm_sourceclient-live_cfg::fedId, findExcludedModule(), edm::EventSetup::get(), get, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, Skims_PA_cff::name, edm::ESHandle< T >::product(), subDetFedMap_, and subDetMEsMap_.
Referenced by beginRun().
|
private |
Definition at line 71 of file SiStripDaqInfo.h.
Referenced by beginRun(), bookStatus(), and fillDummyStatus().
|
private |
Definition at line 60 of file SiStripDaqInfo.h.
Referenced by beginRun(), bookStatus(), and fillDummyStatus().
|
private |
Definition at line 73 of file SiStripDaqInfo.h.
Referenced by beginRun(), findExcludedModule(), and readFedIds().
|
private |
Definition at line 69 of file SiStripDaqInfo.h.
Referenced by beginRun().
|
private |
Definition at line 70 of file SiStripDaqInfo.h.
Referenced by beginRun(), and readFedIds().
|
private |
Definition at line 58 of file SiStripDaqInfo.h.
Referenced by readFedIds(), and readSubdetFedFractions().
|
private |
Definition at line 67 of file SiStripDaqInfo.h.
Referenced by bookStatus(), fillDummyStatus(), and readSubdetFedFractions().