#include <DQM/SiStripMonitorHardware/plugins/SiStripCMMonitor.cc>
Classes | |
struct | Statistics |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () 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_ |
DQMStore * | dqm_ |
std::string | dqmStoreFileName_ |
unsigned int | 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_ |
bool | writeDQMStore_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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: DQM source application to monitor common mode for SiStrip data
Definition at line 61 of file SiStripCMMonitor.cc.
|
explicit |
Definition at line 127 of file SiStripCMMonitor.cc.
References cmHists_, CommonModes_, CommonModesAPV0minusAPV1_, doTkHistoMap_, dqmStoreFileName_, evt_, sistrip::FEDCH_PER_FED, fillAllDetailedHistograms_, fillWithEvtNum_, folderName_, LogTrace, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, NULL, prevMedians_, printDebug_, rawDataTag_, rawDataToken_, and writeDQMStore_.
SiStripCMMonitorPlugin::~SiStripCMMonitorPlugin | ( | ) |
Definition at line 179 of file SiStripCMMonitor.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 190 of file SiStripCMMonitor.cc.
References cabling_, cmHists_, sistrip::FEDChannel::cmMedian(), gather_cfg::cout, FEDRawData::data(), FedChannelConnection::detId(), edm::EventID::event(), evt_, sistrip::FEDCH_PER_FED, SiStripFedCabling::fedConnection(), FEDRawDataCollection::FEDData(), 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< class >::product(), rawDataToken_, FEDRawData::size(), updateCabling(), and makeHLTPrescaleTable::values.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 370 of file SiStripCMMonitor.cc.
References cmHists_, dqm_, fillAllDetailedHistograms_, folderName_, and DQMStore::setCurrentFolder().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 384 of file SiStripCMMonitor.cc.
References cmHists_, CommonModes_, CommonModesAPV0minusAPV1_, SiStripCMMonitorPlugin::Statistics::Counter, cond::rpcobgas::detid, doTkHistoMap_, dqm_, dqmStoreFileName_, SiStripCMMonitorPlugin::Statistics::Mean, timingPdfMaker::mean, python.rootplot.argparse::message, printDebug_, plotscripts::rms(), SiStripCMMonitorPlugin::Statistics::Rms, DQMStore::save(), mathSSE::sqrt(), and writeDQMStore_.
|
private |
Definition at line 455 of file SiStripCMMonitor.cc.
References CommonModes_, CommonModesAPV0minusAPV1_, SiStripCMMonitorPlugin::Statistics::Counter, doTkHistoMap_, SiStripCMMonitorPlugin::Statistics::Mean, SiStripCMMonitorPlugin::Statistics::Rms, and edm::second().
Referenced by analyze().
|
private |
Definition at line 443 of file SiStripCMMonitor.cc.
References cabling_, cablingCacheId_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by analyze().
|
private |
Definition at line 106 of file SiStripCMMonitor.cc.
Referenced by analyze(), and updateCabling().
|
private |
Definition at line 105 of file SiStripCMMonitor.cc.
Referenced by updateCabling().
|
private |
Definition at line 111 of file SiStripCMMonitor.cc.
Referenced by analyze(), beginJob(), endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 113 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 114 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 109 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 103 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 101 of file SiStripCMMonitor.cc.
Referenced by endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 118 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 91 of file SiStripCMMonitor.cc.
|
private |
Definition at line 93 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 95 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 96 of file SiStripCMMonitor.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 116 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 98 of file SiStripCMMonitor.cc.
Referenced by analyze(), endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 86 of file SiStripCMMonitor.cc.
Referenced by SiStripCMMonitorPlugin().
|
private |
Definition at line 87 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 100 of file SiStripCMMonitor.cc.
Referenced by endJob(), and SiStripCMMonitorPlugin().