#include <SiPixelRawDataErrorSource.h>
Public Types | |
typedef edm::DetSet< SiPixelRawDataError >::const_iterator | ErrorIterator |
Public Types inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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 edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMOneLumiEDAnalyzer<> | |
virtual void | dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Protected Attributes inherited from DQMOneLumiEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
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 52 of file SiPixelRawDataErrorSource.h.
typedef edm::DetSet<SiPixelRawDataError>::const_iterator SiPixelRawDataErrorSource::ErrorIterator |
Definition at line 57 of file SiPixelRawDataErrorSource.h.
|
explicit |
Definition at line 55 of file SiPixelRawDataErrorSource.cc.
References conf_, firstRun, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputSourceToken_, AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.
|
override |
Definition at line 74 of file SiPixelRawDataErrorSource.cc.
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 104 of file SiPixelRawDataErrorSource.cc.
References bladeOn, byLumiErrors, FEDRawData::data(), errorRate, eventNo, fedcounter, FEDRawDataCollection::FEDData(), dqm::impl::MonitorElement::Fill(), mps_fire::i, iEvent, input, inputSourceToken_, createfilelist::int, edm::HandleBase::isValid(), ladOn, meMapFEDs_, modOn, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, dqm::impl::MonitorElement::setBinContent(), FEDRawData::size(), slowDown, src_, DetId::subdetId(), theFEDStructure, and thePixelStructure.
|
overridevirtual |
Implements DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 94 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 280 of file SiPixelRawDataErrorSource.cc.
References bladeOn, dqm::implementation::IBooker::book1D(), byLumiErrors, dqm::implementation::NavigatorBase::cd(), conf_, errorRate, Exception, fedcounter, edm::ParameterSet::getParameter(), triggerObjects_cff::id, isPIB, isUpgrade, ladOn, LogDebug, meErrorType_, meEvtNbr_, meEvtSize_, meFedChLErr_, meFedChNErr_, meFedETypeNErr_, meFullType_, meMapFEDs_, meNErrors_, meTBMMessage_, meTBMType_, modOn, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), SiPixelFolderOrganizer::setFedFolder(), SiPixelFolderOrganizer::setModuleFolder(), TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, theFEDStructure, thePixelStructure, runGCPTkAlMap::title, and topFolderName_.
Referenced by bookHistograms().
|
virtual |
Definition at line 185 of file SiPixelRawDataErrorSource.cc.
References PixelEndcapName::bladeName(), TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), PixelEndcapName::diskName(), l1tstage2_dqm_sourceclient-live_cfg::fedId, L1TStage2BMTF_cff::fedIds, edm::EventSetup::get(), get, PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, FEDNumbering::MAXSiPixelFEDID, FEDNumbering::MINSiPixelFEDID, hgcalPlots::ncols, PixelEndcapName::pannelName(), PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, theFEDStructure, and thePixelStructure.
Referenced by dqmBeginRun().
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 80 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 67 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and SiPixelRawDataErrorSource().
|
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 85 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 82 of file SiPixelRawDataErrorSource.h.
Referenced by dqmBeginRun(), and SiPixelRawDataErrorSource().
|
private |
Definition at line 69 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), 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 87 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 92 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 93 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 96 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 95 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 97 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 89 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 99 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 88 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 90 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 91 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 68 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().
|
private |
Definition at line 70 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and SiPixelRawDataErrorSource().