#include <SiPixelErrors/SiPixelErrorsDigisToCalibDigis/src/SiPixelErrorsDigisToCalibDigis.cc>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
MonitorElement * | bookDQMHistogram2D (uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
MonitorElement * | bookDQMHistoPlaquetteSummary2D (uint32_t detid, std::string name, std::string title) |
bool | setDQMDirectory (std::string dirName) |
bool | setDQMDirectory (uint32_t detID) |
SiPixelErrorsDigisToCalibDigis (const edm::ParameterSet &) | |
~SiPixelErrorsDigisToCalibDigis () override | |
Public Member Functions inherited from edm::one::EDAnalyzer<> | |
EDAnalyzer ()=default | |
EDAnalyzer (const EDAnalyzer &)=delete | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
bool | wantsGlobalLuminosityBlocks () const noexcept final |
bool | wantsGlobalRuns () const noexcept final |
bool | wantsInputProcessBlocks () const noexcept final |
bool | wantsProcessBlocks () const noexcept final |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const noexcept |
bool | wantsStreamRuns () const noexcept |
~EDAnalyzerBase () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Protected Attributes | |
edm::ESHandle< TrackerGeometry > | geom_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeomToken_ |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | endJob () override |
Private Attributes | |
bool | createOutputFile_ |
DQMStore * | daqBE_ |
SiPixelFolderOrganizer * | folderMaker_ |
std::string | outputFilename_ |
std::map< uint32_t, MonitorElement * > | SiPixelErrorsDigisToCalibDigis_2DErrorInformation_ |
edm::InputTag | siPixelProducerLabel_ |
MonitorElement * | temp |
SiPixelHistogramId * | theHistogramIdWorker_ |
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > | tPixelCalibDigiError |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
class SiPixelErrorsDigisToCalibDigis
Description: Create monitorElements for the Errors in created in the reduction of digis to calibDigis
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 44 of file SiPixelErrorsDigisToCalibDigis.h.
Definition at line 47 of file SiPixelErrorsDigisToCalibDigis.h.
Definition at line 46 of file SiPixelErrorsDigisToCalibDigis.h.
|
explicit |
Definition at line 38 of file SiPixelErrorsDigisToCalibDigis.cc.
References createOutputFile_, daqBE_, folderMaker_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), outputFilename_, siPixelProducerLabel_, AlCaHLTBitMon_QueryRunRegistry::string, tPixelCalibDigiError, and trackerGeomToken_.
|
override |
Definition at line 56 of file SiPixelErrorsDigisToCalibDigis.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 66 of file SiPixelErrorsDigisToCalibDigis.cc.
References edm::DetSetVector< T >::begin(), bookDQMHistoPlaquetteSummary2D(), hcalRecHitTable_cff::detId, edm::DetSetVector< T >::end(), dqm::impl::MonitorElement::Fill(), dqmdumpme::first, geom_, edm::EventSetup::getHandle(), iEvent, edm::InputTag::label(), setDQMDirectory(), SiPixelErrorsDigisToCalibDigis_2DErrorInformation_, siPixelProducerLabel_, theHistogramIdWorker_, tPixelCalibDigiError, and trackerGeomToken_.
SiPixelErrorsDigisToCalibDigis::MonitorElement * SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D | ( | uint32_t | detid, |
std::string | name, | ||
std::string | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Definition at line 125 of file SiPixelErrorsDigisToCalibDigis.cc.
References dqm::implementation::IBooker::book2D(), daqBE_, Skims_PA_cff::name, SiPixelHistogramId::setHistoId(), AlCaHLTBitMon_QueryRunRegistry::string, theHistogramIdWorker_, and runGCPTkAlMap::title.
SiPixelErrorsDigisToCalibDigis::MonitorElement * SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D | ( | uint32_t | detid, |
std::string | name, | ||
std::string | title | ||
) |
Definition at line 138 of file SiPixelErrorsDigisToCalibDigis.cc.
References dqm::implementation::IBooker::book2D(), daqBE_, hcalRecHitTable_cff::detId, geom_, TrackerGeometry::idToDet(), Skims_PA_cff::name, PixelTopology::ncolumns(), PixelTopology::nrows(), SiPixelHistogramId::setHistoId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, theHistogramIdWorker_, and runGCPTkAlMap::title.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 115 of file SiPixelErrorsDigisToCalibDigis.cc.
References createOutputFile_, outputFilename_, and cuy::save.
Referenced by o2olib.O2ORunMgr::executeJob().
bool SiPixelErrorsDigisToCalibDigis::setDQMDirectory | ( | std::string | dirName | ) |
Definition at line 150 of file SiPixelErrorsDigisToCalibDigis.cc.
References daqBE_, dqm::implementation::IGetter::dirExists(), TrackerOfflineValidation_Dqm_cff::dirName, and dqm::implementation::DQMStore::setCurrentFolder().
Referenced by analyze().
bool SiPixelErrorsDigisToCalibDigis::setDQMDirectory | ( | uint32_t | detID | ) |
Definition at line 155 of file SiPixelErrorsDigisToCalibDigis.cc.
References folderMaker_, and SiPixelFolderOrganizer::setModuleFolder().
|
private |
Definition at line 88 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by endJob(), and SiPixelErrorsDigisToCalibDigis().
|
private |
Definition at line 85 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by bookDQMHistogram2D(), bookDQMHistoPlaquetteSummary2D(), setDQMDirectory(), and SiPixelErrorsDigisToCalibDigis().
|
private |
Definition at line 90 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by setDQMDirectory(), and SiPixelErrorsDigisToCalibDigis().
|
protected |
Definition at line 69 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by analyze(), and bookDQMHistoPlaquetteSummary2D().
|
private |
Definition at line 87 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by endJob(), and SiPixelErrorsDigisToCalibDigis().
|
private |
Definition at line 91 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by analyze().
|
private |
Definition at line 82 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by analyze(), and SiPixelErrorsDigisToCalibDigis().
|
private |
Definition at line 93 of file SiPixelErrorsDigisToCalibDigis.h.
|
private |
Definition at line 86 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by analyze(), bookDQMHistogram2D(), and bookDQMHistoPlaquetteSummary2D().
|
private |
Definition at line 83 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by analyze(), and SiPixelErrorsDigisToCalibDigis().
|
protected |
Definition at line 71 of file SiPixelErrorsDigisToCalibDigis.h.
Referenced by analyze(), and SiPixelErrorsDigisToCalibDigis().