Public Member Functions | |
SiStripSpyMonitorModule (const edm::ParameterSet &) | |
~SiStripSpyMonitorModule () | |
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 () |
edm::DetSetVector < SiStripRawDigi > ::detset::const_iterator | findTwoConsecutive (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold, uint16_t &aCounter) |
bool | hasNegativePedSubtr (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, uint16_t aPair) |
bool | identifyTickmarks (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold) |
Private Attributes | |
DQMStore * | dqm_ |
std::string | dqmStoreFileName_ |
unsigned int | evt_ |
bool | fillAllDetailedHistograms_ |
bool | fillWithEvtNum_ |
bool | fillWithLocalEvtNum_ |
uint16_t | firstHeaderBit_ |
uint16_t | firstTrailerBit_ |
std::string | folderName_ |
sistrip::SpyUtilities::FrameQuality | frameQuality_ |
SPYHistograms | histManager_ |
uint32_t | maxDigiRange_ |
uint32_t | maxDigitalHigh_ |
uint32_t | maxDigitalLow_ |
uint32_t | minDigiRange_ |
uint32_t | minDigitalHigh_ |
uint32_t | minDigitalLow_ |
std::ofstream | outfile_ [20] |
std::map< std::string, unsigned int > | outfileMap_ |
std::vector< std::string > | outfileNames_ |
edm::InputTag | spyAPVeTag_ |
edm::InputTag | spyL1Tag_ |
edm::InputTag | spyPedSubtrDigisTag_ |
edm::InputTag | spyScopeRawDigisTag_ |
edm::InputTag | spyTotCountTag_ |
sistrip::SpyUtilities | utility_ |
bool | writeCabling_ |
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) |
Definition at line 50 of file SiStripSpyMonitorModule.cc.
|
explicit |
Definition at line 131 of file SiStripSpyMonitorModule.cc.
References evt_, frameQuality_, edm::ParameterSet::getUntrackedParameter(), histManager_, i, SPYHistograms::initialise(), sistrip::SpyUtilities::FrameQuality::maxDigiRange, sistrip::SpyUtilities::FrameQuality::maxTickHeight, sistrip::SpyUtilities::FrameQuality::maxZeroLight, sistrip::SpyUtilities::FrameQuality::minDigiRange, sistrip::SpyUtilities::FrameQuality::minTickHeight, sistrip::SpyUtilities::FrameQuality::minZeroLight, dbtoconf::out, outfile_, outfileMap_, and outfileNames_.
SiStripSpyMonitorModule::~SiStripSpyMonitorModule | ( | ) |
Definition at line 171 of file SiStripSpyMonitorModule.cc.
References i, outfile_, outfileMap_, and outfileNames_.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 213 of file SiStripSpyMonitorModule.cc.
References sistrip::SpyUtilities::Frame::apvAddress, sistrip::SpyUtilities::Frame::apvErrorBit, FedChannelConnection::apvPairNumber(), SiStripFedCabling::connection(), FedChannelConnection::detId(), sistrip::SpyUtilities::Frame::digitalHigh, sistrip::SpyUtilities::Frame::digitalLow, alignCSCRings::e, edm::DetSetVector< T >::end(), edm::EventID::event(), evt_, sistrip::SpyUtilities::extractFrameInfo(), sistrip::FED_ID_MAX, sistrip::FED_ID_MIN, sistrip::FEDCH_PER_FED, SPYHistograms::fillCountersHistograms(), SPYHistograms::fillDetailedHistograms(), SPYHistograms::fillFEDHistograms(), fillWithLocalEvtNum_, edm::DetSetVector< T >::find(), create_complex_test_file0_cfg::firstEvent, sistrip::SpyUtilities::Frame::firstHeaderBit, firstHeaderBit_, sistrip::SpyUtilities::Frame::firstTrailerBit, firstTrailerBit_, frameQuality_, edm::Event::getByLabel(), sistrip::SpyUtilities::getCabling(), sistrip::SpyUtilities::getMajorityHeader(), SPYHistograms::Errors::hasAPVAddressError0, SPYHistograms::Errors::hasAPVAddressError1, SPYHistograms::Errors::hasErrorBit0, SPYHistograms::Errors::hasErrorBit1, SPYHistograms::Errors::hasHighPb, SPYHistograms::Errors::hasHighRange, SPYHistograms::Errors::hasLowPb, SPYHistograms::Errors::hasLowRange, SPYHistograms::Errors::hasMaxSat, SPYHistograms::Errors::hasMinZero, hasNegativePedSubtr(), SPYHistograms::Errors::hasNegPeds, SPYHistograms::Errors::hasNoData, SPYHistograms::Errors::hasOOS, SPYHistograms::Errors::hasOtherPbs, histManager_, i, edm::EventBase::id(), identifyTickmarks(), FedChannelConnection::isConnected(), LogDebug, sistrip::SpyUtilities::FrameQuality::maxDigiRange, sistrip::SpyUtilities::FrameQuality::maxTickHeight, sistrip::SpyUtilities::FrameQuality::maxZeroLight, sistrip::SpyUtilities::FrameQuality::minDigiRange, sistrip::SpyUtilities::FrameQuality::minTickHeight, sistrip::SpyUtilities::FrameQuality::minZeroLight, SPYHistograms::ErrorCounters::nAPVAddressError, SPYHistograms::ErrorCounters::nAPVError, SPYHistograms::ErrorCounters::nHighPb, SPYHistograms::ErrorCounters::nHighRange, SPYHistograms::ErrorCounters::nLowPb, SPYHistograms::ErrorCounters::nLowRange, SPYHistograms::ErrorCounters::nMaxSat, SPYHistograms::ErrorCounters::nMinZero, SPYHistograms::ErrorCounters::nNegPeds, SPYHistograms::ErrorCounters::nNoData, SPYHistograms::ErrorCounters::nOOS, SPYHistograms::ErrorCounters::nOtherPbs, dbtoconf::out, outfile_, outfileMap_, outfileNames_, edm::Handle< T >::product(), sistrip::SpyUtilities::range(), sistrip::SPY_SAMPLES_PER_CHANNEL, spyAPVeTag_, spyL1Tag_, spyPedSubtrDigisTag_, spyScopeRawDigisTag_, spyTotCountTag_, sistrip::STRIPS_PER_FEDCH, sistrip::SpyUtilities::threshold(), utility_, cms::Exception::what(), and writeCabling_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 186 of file SiStripSpyMonitorModule.cc.
References SPYHistograms::bookAllFEDHistograms(), SPYHistograms::bookTopLevelHistograms(), dqm_, evt_, fillAllDetailedHistograms_, firstHeaderBit_, firstTrailerBit_, folderName_, histManager_, DQMStore::pwd(), and DQMStore::setCurrentFolder().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 516 of file SiStripSpyMonitorModule.cc.
References dqm_, dqmStoreFileName_, i, outfile_, outfileMap_, outfileNames_, DQMStore::save(), and writeDQMStore_.
|
private |
Definition at line 588 of file SiStripSpyMonitorModule.cc.
References edm::DetSet< T >::begin(), edm::DetSet< T >::end(), sistrip::SPY_SAMPLES_PER_CHANNEL, and dtDQMClient_cfg::threshold.
Referenced by identifyTickmarks().
|
private |
Definition at line 536 of file SiStripSpyMonitorModule.cc.
References edm::DetSet< T >::begin(), prof2calltree::count, edm::DetSet< T >::end(), and sistrip::STRIPS_PER_FEDCH.
Referenced by analyze().
|
private |
Definition at line 554 of file SiStripSpyMonitorModule.cc.
References prof2calltree::count, edm::DetSet< T >::detId(), edm::DetSet< T >::end(), evt_, findTwoConsecutive(), LogDebug, and sistrip::SPY_SAMPLES_PER_CHANNEL.
Referenced by analyze().
|
private |
Definition at line 95 of file SiStripSpyMonitorModule.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 105 of file SiStripSpyMonitorModule.cc.
Referenced by endJob().
|
private |
Definition at line 93 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), beginJob(), identifyTickmarks(), and SiStripSpyMonitorModule().
|
private |
Definition at line 99 of file SiStripSpyMonitorModule.cc.
Referenced by beginJob().
|
private |
Definition at line 101 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 102 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 108 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 109 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 97 of file SiStripSpyMonitorModule.cc.
Referenced by beginJob().
|
private |
Definition at line 112 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), and SiStripSpyMonitorModule().
|
private |
Definition at line 107 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), beginJob(), and SiStripSpyMonitorModule().
|
private |
Definition at line 87 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 91 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 89 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 86 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 90 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 88 of file SiStripSpyMonitorModule.cc.
|
private |
Definition at line 114 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), endJob(), SiStripSpyMonitorModule(), and ~SiStripSpyMonitorModule().
|
private |
Definition at line 116 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), endJob(), SiStripSpyMonitorModule(), and ~SiStripSpyMonitorModule().
|
private |
Definition at line 115 of file SiStripSpyMonitorModule.cc.
Referenced by analyze(), endJob(), SiStripSpyMonitorModule(), and ~SiStripSpyMonitorModule().
|
private |
Definition at line 84 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 82 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 79 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 83 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 118 of file SiStripSpyMonitorModule.cc.
Referenced by analyze().
|
private |
Definition at line 104 of file SiStripSpyMonitorModule.cc.
Referenced by endJob().