#include <DQM/SiStripMonitorHardware/plugins/SiStripCMMonitor.cc>
Classes | |
struct | Statistics |
Public Member Functions | |
SiStripCMMonitorPlugin (const edm::ParameterSet &) | |
~SiStripCMMonitorPlugin () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
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_ |
bool | writeDQMStore_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 126 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_, and writeDQMStore_.
SiStripCMMonitorPlugin::~SiStripCMMonitorPlugin | ( | ) |
Definition at line 177 of file SiStripCMMonitor.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 188 of file SiStripCMMonitor.cc.
References cabling_, cmHists_, sistrip::FEDChannel::cmMedian(), SiStripFedCabling::connection(), gather_cfg::cout, FEDRawData::data(), FedChannelConnection::detId(), edm::EventID::event(), evt_, sistrip::FEDCH_PER_FED, FEDRawDataCollection::FEDData(), fillMaps(), fillWithEvtNum_, fillWithLocalEvtNum_, edm::EventSetup::get(), edm::Event::getByLabel(), 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(), rawDataTag_, FEDRawData::size(), updateCabling(), and makeHLTPrescaleTable::values.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 368 of file SiStripCMMonitor.cc.
References cmHists_, dqm_, fillAllDetailedHistograms_, folderName_, and DQMStore::setCurrentFolder().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 382 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 453 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 441 of file SiStripCMMonitor.cc.
References cabling_, cablingCacheId_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by analyze().
|
private |
Definition at line 105 of file SiStripCMMonitor.cc.
Referenced by analyze(), and updateCabling().
|
private |
Definition at line 104 of file SiStripCMMonitor.cc.
Referenced by updateCabling().
|
private |
Definition at line 110 of file SiStripCMMonitor.cc.
Referenced by analyze(), beginJob(), endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 112 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 113 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 108 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 102 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 100 of file SiStripCMMonitor.cc.
Referenced by endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 117 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 90 of file SiStripCMMonitor.cc.
|
private |
Definition at line 92 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 94 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 95 of file SiStripCMMonitor.cc.
Referenced by analyze().
|
private |
Definition at line 88 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 115 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 97 of file SiStripCMMonitor.cc.
Referenced by analyze(), endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 86 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 99 of file SiStripCMMonitor.cc.
Referenced by endJob(), and SiStripCMMonitorPlugin().