#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 |
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().