#include <DQM/SiStripMonitorHardware/plugins/SiStripCMMonitor.cc>
Classes | |
struct | Statistics |
Private Member Functions | |
virtual 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 &) |
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 edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 62 of file SiStripCMMonitor.cc.
|
explicit |
Definition at line 123 of file SiStripCMMonitor.cc.
References cmHists_, CommonModes_, CommonModesAPV0minusAPV1_, doTkHistoMap_, evt_, sistrip::FEDCH_PER_FED, HLT_25ns14e33_v1_cff::fedId, fillAllDetailedHistograms_, fillWithEvtNum_, folderName_, LogTrace, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, NULL, prevMedians_, printDebug_, rawDataTag_, and rawDataToken_.
SiStripCMMonitorPlugin::~SiStripCMMonitorPlugin | ( | ) |
Definition at line 169 of file SiStripCMMonitor.cc.
|
overrideprivatevirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 195 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(), HLT_25ns14e33_v1_cff::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< class >::product(), rawDataToken_, FEDRawData::size(), updateCabling(), and makeHLTPrescaleTable::values.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 179 of file SiStripCMMonitor.cc.
References cmHists_, fillAllDetailedHistograms_, folderName_, and DQMStore::IBooker::setCurrentFolder().
|
privatevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 188 of file SiStripCMMonitor.cc.
|
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 102 of file SiStripCMMonitor.cc.
Referenced by analyze(), and updateCabling().
|
private |
Definition at line 101 of file SiStripCMMonitor.cc.
Referenced by updateCabling().
|
private |
Definition at line 107 of file SiStripCMMonitor.cc.
Referenced by analyze(), bookHistograms(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 109 of file SiStripCMMonitor.cc.
Referenced by fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 110 of file SiStripCMMonitor.cc.
Referenced by fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 105 of file SiStripCMMonitor.cc.
Referenced by fillMaps(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 114 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 bookHistograms(), 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 bookHistograms(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 112 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 99 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().
|
private |
Definition at line 87 of file SiStripCMMonitor.cc.
Referenced by SiStripCMMonitorPlugin().
|
private |
Definition at line 88 of file SiStripCMMonitor.cc.
Referenced by analyze(), and SiStripCMMonitorPlugin().