#include <SiPixelRawDataErrorSource.h>
Public Types | |
typedef edm::DetSet < SiPixelRawDataError > ::const_iterator | ErrorIterator |
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 |
Private Attributes | |
bool | bladeOn |
MonitorElement * | byLumiErrors |
edm::ParameterSet | conf_ |
MonitorElement * | errorRate |
int | eventNo |
MonitorElement * | fedcounter |
bool | firstRun |
edm::EDGetTokenT < FEDRawDataCollection > | inputSourceToken_ |
bool | isPIB |
bool | isUpgrade |
bool | ladOn |
MonitorElement * | meErrorType_ [40] |
MonitorElement * | meEvtNbr_ [40] |
MonitorElement * | meEvtSize_ [40] |
MonitorElement * | meFedChLErr_ [40] |
MonitorElement * | meFedChNErr_ [40] |
MonitorElement * | meFedETypeNErr_ [40] |
MonitorElement * | meFullType_ [40] |
std::map< std::string, MonitorElement ** > | meMapFEDs_ |
MonitorElement * | meNErrors_ [40] |
MonitorElement * | meTBMMessage_ [40] |
MonitorElement * | meTBMType_ [40] |
bool | modOn |
bool | reducedSet |
bool | saveFile |
bool | slowDown |
edm::EDGetTokenT < edm::DetSetVector < SiPixelRawDataError > > | src_ |
std::map< uint32_t, SiPixelRawDataErrorModule * > | theFEDStructure |
std::map< uint32_t, SiPixelRawDataErrorModule * > | thePixelStructure |
std::string | topFolderName_ |
Additional Inherited Members | |
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: Produces histograms for error information generated at the raw2digi stage for the pixel tracker.
Usage: Takes a DetSetVector<SiPixelRawDataError> as input, and uses it to populate a folder hierarchy (organized by detId) with histograms containing information about the errors. Uses SiPixelRawDataErrorModule class to book and fill individual folders. Note that this source is different than other DQM sources in the creation of an unphysical detId folder (detId=0xffffffff) to hold information about errors for which there is no detId available (except the dummy detId given to it at raw2digi).
Definition at line 53 of file SiPixelRawDataErrorSource.h.
typedef edm::DetSet<SiPixelRawDataError>::const_iterator SiPixelRawDataErrorSource::ErrorIterator |
Definition at line 58 of file SiPixelRawDataErrorSource.h.
|
explicit |
Definition at line 54 of file SiPixelRawDataErrorSource.cc.
References conf_, firstRun, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputSourceToken_, AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.
SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource | ( | ) |
Definition at line 73 of file SiPixelRawDataErrorSource.cc.
|
virtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 103 of file SiPixelRawDataErrorSource.cc.
References bladeOn, byLumiErrors, FEDRawData::data(), errorRate, eventNo, fedcounter, FEDRawDataCollection::FEDData(), MonitorElement::Fill(), edm::Event::getByToken(), i, input, inputSourceToken_, edm::HandleBase::isValid(), ladOn, edm::EventBase::luminosityBlock(), meMapFEDs_, modOn, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MonitorElement::setBinContent(), FEDRawData::size(), slowDown, src_, DetId::subdetId(), theFEDStructure, and thePixelStructure.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 95 of file SiPixelRawDataErrorSource.cc.
References bookMEs().
|
virtual |
Create folder tree and book histograms
Create folder tree for errors without detId and book histograms
Definition at line 269 of file SiPixelRawDataErrorSource.cc.
References bladeOn, DQMStore::IBooker::book1D(), byLumiErrors, DQMStore::IBooker::cd(), conf_, errorRate, Exception, fedcounter, edm::ParameterSet::getParameter(), isPIB, isUpgrade, edm::InputTag::label(), ladOn, LogDebug, meErrorType_, meEvtNbr_, meEvtSize_, meFedChLErr_, meFedChNErr_, meFedETypeNErr_, meFullType_, meMapFEDs_, meNErrors_, meTBMMessage_, meTBMType_, modOn, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), SiPixelFolderOrganizer::setFedFolder(), MonitorElement::setLumiFlag(), SiPixelFolderOrganizer::setModuleFolder(), alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, theFEDStructure, thePixelStructure, indexGen::title, and topFolderName_.
Referenced by bookHistograms().
|
virtual |
Definition at line 170 of file SiPixelRawDataErrorSource.cc.
References PixelEndcapName::bladeName(), PixelEndcapName::diskName(), l1tstage2_dqm_sourceclient-live_cfg::fedId, edm::EventSetup::get(), PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, FEDNumbering::MAXSiPixelFEDID, FEDNumbering::MINSiPixelFEDID, PixelEndcapName::pannelName(), PixelEndcapName::plaquetteName(), edm::ESHandle< class >::product(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, theFEDStructure, and thePixelStructure.
Referenced by dqmBeginRun().
|
virtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 80 of file SiPixelRawDataErrorSource.cc.
References bladeOn, buildStructure(), eventNo, firstRun, ladOn, and modOn.
|
private |
Definition at line 78 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and dqmBeginRun().
|
private |
Definition at line 84 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 68 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and SiPixelRawDataErrorSource().
|
private |
Definition at line 85 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 80 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 86 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 83 of file SiPixelRawDataErrorSource.h.
Referenced by dqmBeginRun(), and SiPixelRawDataErrorSource().
|
private |
Definition at line 70 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), and SiPixelRawDataErrorSource().
|
private |
Definition at line 73 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and buildStructure().
|
private |
Definition at line 79 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and buildStructure().
|
private |
Definition at line 77 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and dqmBeginRun().
|
private |
Definition at line 88 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 93 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 94 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 97 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 96 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 98 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 90 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 100 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 89 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 91 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 92 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 76 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and dqmBeginRun().
|
private |
Definition at line 75 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 72 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 74 of file SiPixelRawDataErrorSource.h.
Referenced by analyze().
|
private |
Definition at line 69 of file SiPixelRawDataErrorSource.h.
Referenced by analyze().
|
private |
Definition at line 82 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and buildStructure().
|
private |
Definition at line 81 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and buildStructure().
|
private |
Definition at line 71 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and SiPixelRawDataErrorSource().