#include <SiPixelRawDataErrorSource.h>
Public Types | |
typedef edm::DetSet < SiPixelRawDataError > ::const_iterator | ErrorIterator |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, edm::EventSetup const &) |
virtual void | bookMEs () |
virtual void | buildStructure (edm::EventSetup const &) |
virtual void | endJob () |
SiPixelRawDataErrorSource (const edm::ParameterSet &conf) | |
~SiPixelRawDataErrorSource () | |
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 Attributes | |
bool | bladeOn |
MonitorElement * | byLumiErrors |
edm::ParameterSet | conf_ |
MonitorElement * | errorRate |
int | eventNo |
bool | firstRun |
bool | isPIB |
bool | ladOn |
bool | modOn |
bool | reducedSet |
bool | saveFile |
bool | slowDown |
edm::InputTag | src_ |
DQMStore * | theDMBE |
std::map< uint32_t, SiPixelRawDataErrorModule * > | theFEDStructure |
std::map< uint32_t, SiPixelRawDataErrorModule * > | thePixelStructure |
Additional Inherited Members | |
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) |
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 49 of file SiPixelRawDataErrorSource.cc.
References cppFunctionSkipper::operator, and theDMBE.
SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource | ( | ) |
Definition at line 65 of file SiPixelRawDataErrorSource.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 107 of file SiPixelRawDataErrorSource.cc.
References bladeOn, eventNo, MonitorElement::Fill(), DQMStore::get(), edm::Event::getByLabel(), LaserDQM_cfg::input, edm::HandleBase::isValid(), ladOn, edm::EventBase::luminosityBlock(), modOn, cppFunctionSkipper::operator, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MonitorElement::setBinContent(), slowDown, src_, DetId::subdetId(), theDMBE, theFEDStructure, and thePixelStructure.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 73 of file SiPixelRawDataErrorSource.cc.
References firstRun.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 77 of file SiPixelRawDataErrorSource.cc.
References bladeOn, bookMEs(), buildStructure(), eventNo, firstRun, ladOn, and modOn.
|
virtual |
Create folder tree and book histograms
Create folder tree for errors without detId and book histograms
Definition at line 242 of file SiPixelRawDataErrorSource.cc.
References bladeOn, DQMStore::book1D(), byLumiErrors, conf_, errorRate, edm::hlt::Exception, isPIB, ladOn, LogDebug, modOn, cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), SiPixelFolderOrganizer::setFedFolder(), MonitorElement::setLumiFlag(), SiPixelFolderOrganizer::setModuleFolder(), theDMBE, theFEDStructure, thePixelStructure, and indexGen::title.
Referenced by beginRun().
|
virtual |
Definition at line 170 of file SiPixelRawDataErrorSource.cc.
References PixelEndcapName::bladeName(), PixelEndcapName::diskName(), edm::EventSetup::get(), PixelEndcapName::halfCylinder(), isPIB, LogDebug, FEDNumbering::MAXSiPixelFEDID, FEDNumbering::MINSiPixelFEDID, PixelEndcapName::pannelName(), GeomDetEnumerators::PixelBarrel, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeomDetEnumerators::PixelEndcap, PixelEndcapName::plaquetteName(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), theFEDStructure, and thePixelStructure.
Referenced by beginRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 94 of file SiPixelRawDataErrorSource.cc.
References conf_, edm::ParameterSet::getParameter(), download_sqlite_cfg::outputFile, DQMStore::save(), saveFile, AlCaHLTBitMon_QueryRunRegistry::string, and theDMBE.
|
private |
Definition at line 76 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), beginRun(), and bookMEs().
|
private |
Definition at line 82 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 68 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 83 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs().
|
private |
Definition at line 77 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 81 of file SiPixelRawDataErrorSource.h.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 71 of file SiPixelRawDataErrorSource.h.
Referenced by bookMEs(), and buildStructure().
|
private |
Definition at line 75 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), beginRun(), and bookMEs().
|
private |
Definition at line 74 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), beginRun(), and bookMEs().
|
private |
Definition at line 73 of file SiPixelRawDataErrorSource.h.
|
private |
Definition at line 70 of file SiPixelRawDataErrorSource.h.
Referenced by endJob().
|
private |
Definition at line 72 of file SiPixelRawDataErrorSource.h.
Referenced by analyze().
|
private |
Definition at line 69 of file SiPixelRawDataErrorSource.h.
Referenced by analyze().
|
private |
Definition at line 78 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), endJob(), and SiPixelRawDataErrorSource().
|
private |
Definition at line 80 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and buildStructure().
|
private |
Definition at line 79 of file SiPixelRawDataErrorSource.h.
Referenced by analyze(), bookMEs(), and buildStructure().