#include <DQM/SiStripMonitorHardware/plugins/SiStripCMMonitor.cc>
Classes | |
struct | Statistics |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
void | fillMaps (uint32_t aDetId, unsigned short aChInModule, std::pair< uint16_t, uint16_t > aMedians) |
void | updateCabling (const edm::EventSetup &eventSetup) |
Private Attributes | |
const SiStripFedCabling * | cabling_ |
uint32_t | cablingCacheId_ |
CMHistograms | cmHists_ |
std::map< unsigned int, Statistics > | CommonModes_ |
std::map< unsigned int, Statistics > | CommonModesAPV0minusAPV1_ |
bool | doTkHistoMap_ |
edm::EventNumber_t | evt_ |
std::vector< unsigned int > | fedIdVec_ |
bool | fillAllDetailedHistograms_ |
bool | fillWithEvtNum_ |
bool | fillWithLocalEvtNum_ |
std::string | folderName_ |
std::pair< uint16_t, uint16_t > | prevMedians_ [FEDNumbering::MAXSiStripFEDID+1][sistrip::FEDCH_PER_FED] |
unsigned int | printDebug_ |
edm::InputTag | rawDataTag_ |
edm::EDGetTokenT< FEDRawDataCollection > | rawDataToken_ |
Additional Inherited Members | |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Description: DQM source application to monitor common mode for SiStrip data
Definition at line 61 of file SiStripCMMonitor.cc.
|
explicit |
Definition at line 117 of file SiStripCMMonitor.cc.
References cmHists_, CommonModes_, CommonModesAPV0minusAPV1_, doTkHistoMap_, evt_, sistrip::FEDCH_PER_FED, l1tstage2_dqm_sourceclient-live_cfg::fedId, fillAllDetailedHistograms_, fillWithEvtNum_, folderName_, LogTrace, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, prevMedians_, printDebug_, rawDataTag_, and rawDataToken_.
|
override |
Definition at line 163 of file SiStripCMMonitor.cc.
|
overrideprivate |
Definition at line 187 of file SiStripCMMonitor.cc.
References edmScanValgrind::buffer, cabling_, cmHists_, sistrip::FEDChannel::cmMedian(), gather_cfg::cout, FEDRawData::data(), FedChannelConnection::detId(), edm::EventID::event(), evt_, sistrip::FEDCH_PER_FED, SiStripFedCabling::fedConnection(), FEDRawDataCollection::FEDData(), l1tstage2_dqm_sourceclient-live_cfg::fedId, fillMaps(), fillWithEvtNum_, fillWithLocalEvtNum_, edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), sistrip::invalid32_, FedChannelConnection::isConnected(), sistrip::FEDChannel::length(), FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, FedChannelConnection::nApvPairs(), edm::EventBase::orbitNumber(), prevMedians_, printDebug_, edm::ESHandle< T >::product(), rawDataToken_, FEDRawData::size(), updateCabling(), and contentValuesCheck::values.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 169 of file SiStripCMMonitor.cc.
References cmHists_, fillAllDetailedHistograms_, folderName_, edm::EventSetup::get(), edm::ESHandle< T >::product(), and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
|
overrideprivate |
Definition at line 184 of file SiStripCMMonitor.cc.
|
private |
Definition at line 429 of file SiStripCMMonitor.cc.
References CommonModes_, CommonModesAPV0minusAPV1_, SiStripCMMonitorPlugin::Statistics::Counter, DEFINE_FWK_MODULE, doTkHistoMap_, SiStripCMMonitorPlugin::Statistics::Mean, SiStripCMMonitorPlugin::Statistics::Rms, and edm::second().
Referenced by analyze().
|
private |
Definition at line 419 of file SiStripCMMonitor.cc.
References cabling_, cablingCacheId_, edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by analyze().
|
private |
Definition at line 98 of file SiStripCMMonitor.cc.
Referenced by analyze(), and updateCabling().
|
private |
Definition at line 97 of file SiStripCMMonitor.cc.
Referenced by updateCabling().
|
private |
Definition at line 103 of file SiStripCMMonitor.cc.
Referenced by analyze(), bookHistograms(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 105 of file SiStripCMMonitor.cc.
Referenced by fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 106 of file SiStripCMMonitor.cc.
Referenced by fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 101 of file SiStripCMMonitor.cc.
Referenced by fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 110 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 88 of file SiStripCMMonitor.cc.
|
private |
Definition at line 90 of file SiStripCMMonitor.cc.
Referenced by bookHistograms(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 92 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 93 of file SiStripCMMonitor.cc.
Referenced by analyze().
|
private |
Definition at line 86 of file SiStripCMMonitor.cc.
Referenced by bookHistograms(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 108 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 95 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 83 of file SiStripCMMonitor.cc.
Referenced by SiStripCMMonitorPlugin().
|
private |
Definition at line 84 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().