#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 () |
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) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Description: DQM source application to monitor common mode for SiStrip data
Definition at line 63 of file SiStripCMMonitor.cc.
|
explicit |
Definition at line 128 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 179 of file SiStripCMMonitor.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 190 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_, create_complex_test_file0_cfg::firstEvent, edm::Event::getByLabel(), edm::EventBase::id(), sistrip::invalid32_, FedChannelConnection::isConnected(), sistrip::FEDChannel::length(), FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, FedChannelConnection::nApvPairs(), edm::EventBase::orbitNumber(), prevMedians_, printDebug_, rawDataTag_, FEDRawData::size(), updateCabling(), and makeHLTPrescaleTable::values.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 366 of file SiStripCMMonitor.cc.
References cmHists_, dqm_, fillAllDetailedHistograms_, folderName_, and DQMStore::setCurrentFolder().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 380 of file SiStripCMMonitor.cc.
References cmHists_, CommonModes_, CommonModesAPV0minusAPV1_, SiStripCMMonitorPlugin::Statistics::Counter, cond::rpcobgas::detid, doTkHistoMap_, dqm_, dqmStoreFileName_, plotscripts::mean(), SiStripCMMonitorPlugin::Statistics::Mean, argparse::message, printDebug_, plotscripts::rms(), SiStripCMMonitorPlugin::Statistics::Rms, DQMStore::save(), mathSSE::sqrt(), and writeDQMStore_.
|
private |
Definition at line 451 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 439 of file SiStripCMMonitor.cc.
References cabling_, cablingCacheId_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by analyze().
|
private |
Definition at line 107 of file SiStripCMMonitor.cc.
Referenced by analyze(), and updateCabling().
|
private |
Definition at line 106 of file SiStripCMMonitor.cc.
Referenced by updateCabling().
|
private |
Definition at line 112 of file SiStripCMMonitor.cc.
Referenced by analyze(), beginJob(), endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 114 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 115 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 110 of file SiStripCMMonitor.cc.
Referenced by endJob(), fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 104 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 102 of file SiStripCMMonitor.cc.
Referenced by endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 119 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 92 of file SiStripCMMonitor.cc.
|
private |
Definition at line 94 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 96 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 97 of file SiStripCMMonitor.cc.
Referenced by analyze().
|
private |
Definition at line 90 of file SiStripCMMonitor.cc.
Referenced by beginJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 117 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 99 of file SiStripCMMonitor.cc.
Referenced by analyze(), endJob(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 88 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 101 of file SiStripCMMonitor.cc.
Referenced by endJob(), and SiStripCMMonitorPlugin().