#include <SiPixelRawDataErrorSource.h>
Public Types | |
typedef edm::DetSet< SiPixelRawDataError >::const_iterator | ErrorIterator |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
virtual void | bookMEs (DQMStore::IBooker &) |
virtual void | buildStructure (edm::EventSetup const &) |
void | dqmBeginRun (const edm::Run &, edm::EventSetup const &) override |
SiPixelRawDataErrorSource (const edm::ParameterSet &conf) | |
~SiPixelRawDataErrorSource () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< one::DQMLuminosityBlockElements > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
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_ |
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 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.
|
override |
Definition at line 104 of file SiPixelRawDataErrorSource.cc.
References bladeOn, byLumiErrors, FEDRawData::data(), errorRate, eventNo, fedcounter, FEDRawDataCollection::FEDData(), MonitorElement::Fill(), edm::Event::getByToken(), mps_fire::i, input, inputSourceToken_, createfilelist::int, edm::HandleBase::isValid(), ladOn, edm::EventBase::luminosityBlock(), meMapFEDs_, modOn, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MonitorElement::setBinContent(), FEDRawData::size(), slowDown, src_, DetId::subdetId(), theFEDStructure, and thePixelStructure.
|
override |
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, DQMStore::IBooker::book1D(), byLumiErrors, DQMStore::IBooker::cd(), conf_, DEFINE_FWK_MODULE, errorRate, Exception, fedcounter, edm::ParameterSet::getParameter(), triggerObjects_cff::id, 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(), 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(), l1t::stage2::layer2::fedId, edm::EventSetup::get(), PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, RecoTauDiscriminantConfiguration::mask, 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().
|
override |
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().