#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 |
Private Attributes | |
bool | bladeOn |
MonitorElement * | byLumiErrors |
edm::ParameterSet | conf_ |
MonitorElement * | errorRate |
int | eventNo |
bool | firstRun |
bool | isPIB |
bool | isUpgrade |
bool | ladOn |
MonitorElement * | meErrorType_ [40] |
MonitorElement * | meEvtNbr_ [40] |
MonitorElement * | meEvtSize_ [40] |
MonitorElement * | meFedChLErrArray_ [1480] |
MonitorElement * | meFedChNErrArray_ [1480] |
MonitorElement * | meFedETypeNErrArray_ [840] |
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 |
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::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 53 of file SiPixelRawDataErrorSource.cc.
References firstRun.
SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource | ( | ) |
Definition at line 70 of file SiPixelRawDataErrorSource.cc.
|
virtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 100 of file SiPixelRawDataErrorSource.cc.
References bladeOn, byLumiErrors, errorRate, eventNo, MonitorElement::Fill(), edm::Event::getByToken(), input, edm::HandleBase::isValid(), ladOn, edm::EventBase::luminosityBlock(), meMapFEDs_, modOn, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MonitorElement::setBinContent(), slowDown, src_, DetId::subdetId(), theFEDStructure, and thePixelStructure.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 92 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 252 of file SiPixelRawDataErrorSource.cc.
References bladeOn, DQMStore::IBooker::book1D(), DQMStore::IBooker::bookInt(), byLumiErrors, DQMStore::IBooker::cd(), conf_, errorRate, edm::hlt::Exception, edm::ParameterSet::getParameter(), isPIB, isUpgrade, j, edm::InputTag::label(), ladOn, LogDebug, meErrorType_, meEvtNbr_, meEvtSize_, meFedChLErrArray_, meFedChNErrArray_, meFedETypeNErrArray_, 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, and indexGen::title.
Referenced by bookHistograms().
|
virtual |
Definition at line 153 of file SiPixelRawDataErrorSource.cc.
References PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::bladeName(), PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), edm::EventSetup::get(), PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, FEDNumbering::MAXSiPixelFEDID, FEDNumbering::MINSiPixelFEDID, PixelEndcapName::pannelName(), PixelEndcapNameUpgrade::pannelName(), GeomDetEnumerators::PixelBarrel, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeomDetEnumerators::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), theFEDStructure, and thePixelStructure.
Referenced by dqmBeginRun().
|
virtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 77 of file SiPixelRawDataErrorSource.cc.
References bladeOn, buildStructure(), eventNo, firstRun, ladOn, and modOn.
|
private |
Definition at line 77 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and dqmBeginRun().
|
private |
Definition at line 83 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 69 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 84 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 79 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 82 of file SiPixelRawDataErrorSource.h.
Referenced by dqmBeginRun(), and SiPixelRawDataErrorSource().
|
private |
Definition at line 72 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and buildStructure().
|
private |
Definition at line 78 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and buildStructure().
|
private |
Definition at line 76 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and dqmBeginRun().
|
private |
Definition at line 86 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 95 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 94 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 96 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 88 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 98 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 87 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 89 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 90 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 75 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and dqmBeginRun().
|
private |
Definition at line 74 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 71 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 73 of file SiPixelRawDataErrorSource.h.
Referenced by analyze().
|
private |
Definition at line 70 of file SiPixelRawDataErrorSource.h.
Referenced by analyze().
|
private |
Definition at line 81 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and buildStructure().
|
private |
Definition at line 80 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and buildStructure().