#include <CalibTracker/SiPixelTools/src/SiPixelOfflineCalibAnalysisBase.cc>
Public Member Functions | |
void | addTF1ToDQMMonitoringElement (MonitorElement *ele, TF1 *func) |
MonitorElement * | bookDQMHistogram1D (uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX) |
MonitorElement * | bookDQMHistogram1D (uint32_t detid, std::string name, std::string title, int nchX, float *xbinsize) |
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) |
virtual bool | doFits (uint32_t detid, std::vector< SiPixelCalibDigi >::const_iterator ipix) |
std::vector< uint32_t > & | getRunNumbers () |
bool | setDQMDirectory (std::string dirName) |
bool | setDQMDirectory (uint32_t detID) |
SiPixelOfflineCalibAnalysisBase (const edm::ParameterSet &) | |
SiPixelOfflineCalibAnalysisBase () | |
std::string | translateDetIdToString (uint32_t detid) |
~SiPixelOfflineCalibAnalysisBase () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static const std::vector< short > * | getVcalValues () |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Static Public Attributes | |
static TF1 * | fitFunction_ = NULL |
Protected Member Functions | |
uint32_t & | EventNumber () |
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) |
Protected Attributes | |
edm::ESHandle < SiPixelCalibConfiguration > | calib_ |
std::string | calibrationMode_ |
edm::ESHandle< TrackerGeometry > | geom_ |
short | nTriggers_ |
edm::ESHandle < SiPixelFedCablingMap > | theCablingMap_ |
Static Protected Attributes | |
static std::vector< short > | vCalValues_ |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | beginRun (const edm::EventSetup &iSetup) |
virtual void | calibrationEnd () |
virtual void | calibrationSetup (const edm::EventSetup &iSetup) |
virtual bool | checkCorrectCalibrationType () |
bool | checkPixel (uint32_t detid, short row, short column) |
void | endJob () |
virtual void | newDetID (uint32_t detid) |
Private Attributes | |
bool | createOutputFile_ |
DQMStore * | daqBE_ |
std::map< uint32_t, std::string > | detIdNames_ |
std::map< uint32_t, int > | detIdsEntered_ |
uint32_t | eventCounter_ |
SiPixelFolderOrganizer * | folderMaker_ |
std::string | outputFileName_ |
std::vector< uint32_t > | runnumbers_ |
edm::InputTag | siPixelCalibDigiProducer_ |
SiPixelHistogramId * | theHistogramIdWorker_ |
edm::EDGetTokenT < edm::DetSetVector < SiPixelCalibDigi > > | tPixelCalibDigi |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Description: Base class for Pixel calibrations
Implementation: <Notes on="" implementation>="">
Definition at line 67 of file SiPixelOfflineCalibAnalysisBase.h.
|
explicit |
Definition at line 36 of file SiPixelOfflineCalibAnalysisBase.cc.
References createOutputFile_, daqBE_, folderMaker_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), outputFileName_, siPixelCalibDigiProducer_, AlCaHLTBitMon_QueryRunRegistry::string, and tPixelCalibDigi.
SiPixelOfflineCalibAnalysisBase::~SiPixelOfflineCalibAnalysisBase | ( | ) |
Definition at line 52 of file SiPixelOfflineCalibAnalysisBase.cc.
SiPixelOfflineCalibAnalysisBase::SiPixelOfflineCalibAnalysisBase | ( | ) |
Definition at line 47 of file SiPixelOfflineCalibAnalysisBase.cc.
References edm::hlt::Exception.
void SiPixelOfflineCalibAnalysisBase::addTF1ToDQMMonitoringElement | ( | MonitorElement * | ele, |
TF1 * | func | ||
) |
Definition at line 333 of file SiPixelOfflineCalibAnalysisBase.cc.
References MonitorElement::getTH1().
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 63 of file SiPixelOfflineCalibAnalysisBase.cc.
References calib_, calibrationSetup(), checkCorrectCalibrationType(), edm::DetSet< T >::data, detIdNames_, detIdsEntered_, doFits(), edm::DetSet< T >::end(), eventCounter_, geom_, edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), getDQMSummary::iter, newDetID(), edm::EventID::run(), cond::runnumber, runnumbers_, theCablingMap_, tPixelCalibDigi, and translateDetIdToString().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 137 of file SiPixelOfflineCalibAnalysisBase.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 120 of file SiPixelOfflineCalibAnalysisBase.cc.
References calib_, calibrationMode_, calibrationSetup(), gather_cfg::cout, geom_, edm::EventSetup::get(), edm::InputTag::label(), nTriggers_, siPixelCalibDigiProducer_, theCablingMap_, theHistogramIdWorker_, and vCalValues_.
|
private |
MonitorElement * SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D | ( | uint32_t | detid, |
std::string | name, | ||
std::string | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Definition at line 191 of file SiPixelOfflineCalibAnalysisBase.cc.
References daqBE_, SiPixelHistogramId::setHistoId(), AlCaHLTBitMon_QueryRunRegistry::string, and theHistogramIdWorker_.
Referenced by SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), SiPixelGainCalibrationAnalysis::doFits(), SiPixelIsAliveCalibration::newDetID(), SiPixelGainCalibrationAnalysis::newDetID(), and SiPixelSCurveCalibrationAnalysis::newDetID().
MonitorElement * SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D | ( | uint32_t | detid, |
std::string | name, | ||
std::string | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
Definition at line 197 of file SiPixelOfflineCalibAnalysisBase.cc.
References daqBE_, SiPixelHistogramId::setHistoId(), AlCaHLTBitMon_QueryRunRegistry::string, and theHistogramIdWorker_.
MonitorElement * SiPixelOfflineCalibAnalysisBase::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 203 of file SiPixelOfflineCalibAnalysisBase.cc.
References daqBE_, SiPixelHistogramId::setHistoId(), AlCaHLTBitMon_QueryRunRegistry::string, and theHistogramIdWorker_.
MonitorElement * SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D | ( | uint32_t | detid, |
std::string | name, | ||
std::string | title | ||
) |
Definition at line 209 of file SiPixelOfflineCalibAnalysisBase.cc.
References daqBE_, geom_, TrackerGeometry::idToDet(), PixelTopology::ncolumns(), PixelTopology::nrows(), SiPixelHistogramId::setHistoId(), PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, and theHistogramIdWorker_.
Referenced by SiPixelIsAliveCalibration::newDetID(), SiPixelGainCalibrationAnalysis::newDetID(), and SiPixelSCurveCalibrationAnalysis::newDetID().
|
privatevirtual |
Reimplemented in SiPixelSCurveCalibrationAnalysis, SiPixelGainCalibrationAnalysis, and SiPixelIsAliveCalibration.
Definition at line 270 of file SiPixelOfflineCalibAnalysisBase.cc.
Referenced by endJob().
|
privatevirtual |
Reimplemented in SiPixelSCurveCalibrationAnalysis, SiPixelGainCalibrationAnalysis, and SiPixelIsAliveCalibration.
Definition at line 265 of file SiPixelOfflineCalibAnalysisBase.cc.
Referenced by analyze(), and beginRun().
|
privatevirtual |
Reimplemented in SiPixelSCurveCalibrationAnalysis, SiPixelGainCalibrationAnalysis, and SiPixelIsAliveCalibration.
Definition at line 237 of file SiPixelOfflineCalibAnalysisBase.cc.
Referenced by analyze().
|
private |
Definition at line 282 of file SiPixelOfflineCalibAnalysisBase.cc.
References calib_, sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, cond::rpcobgas::detid, fff_deleter::formatter, edm::ESHandle< class >::product(), sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), and theCablingMap_.
|
virtual |
Reimplemented in SiPixelSCurveCalibrationAnalysis, SiPixelGainCalibrationAnalysis, and SiPixelIsAliveCalibration.
Definition at line 243 of file SiPixelOfflineCalibAnalysisBase.cc.
References cuy::col, gather_cfg::cout, and i.
Referenced by analyze().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 145 of file SiPixelOfflineCalibAnalysisBase.cc.
References calibrationEnd(), createOutputFile_, daqBE_, and outputFileName_.
|
inlineprotected |
Definition at line 108 of file SiPixelOfflineCalibAnalysisBase.h.
References eventCounter_.
|
inline |
Definition at line 96 of file SiPixelOfflineCalibAnalysisBase.h.
References runnumbers_.
|
static |
Definition at line 158 of file SiPixelOfflineCalibAnalysisBase.cc.
References vCalValues_.
Referenced by SiPixelSCurveCalibrationAnalysis::calibrationSetup(), and chi2toMinimize().
|
privatevirtual |
Reimplemented in SiPixelSCurveCalibrationAnalysis, SiPixelGainCalibrationAnalysis, and SiPixelIsAliveCalibration.
Definition at line 275 of file SiPixelOfflineCalibAnalysisBase.cc.
References cond::rpcobgas::detid, and detIdNames_.
Referenced by analyze().
bool SiPixelOfflineCalibAnalysisBase::setDQMDirectory | ( | std::string | dirName | ) |
Definition at line 222 of file SiPixelOfflineCalibAnalysisBase.cc.
References daqBE_.
Referenced by SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), SiPixelIsAliveCalibration::calibrationEnd(), SiPixelGainCalibrationAnalysis::doFits(), SiPixelIsAliveCalibration::newDetID(), SiPixelGainCalibrationAnalysis::newDetID(), and SiPixelSCurveCalibrationAnalysis::newDetID().
bool SiPixelOfflineCalibAnalysisBase::setDQMDirectory | ( | uint32_t | detID | ) |
Definition at line 229 of file SiPixelOfflineCalibAnalysisBase.cc.
References folderMaker_, and SiPixelFolderOrganizer::setModuleFolder().
std::string SiPixelOfflineCalibAnalysisBase::translateDetIdToString | ( | uint32_t | detid | ) |
Definition at line 164 of file SiPixelOfflineCalibAnalysisBase.cc.
References detIdNames_, PixelBarrelName::name(), PixelEndcapName::name(), convertSQLitetoXML_cfg::output, AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
Referenced by analyze(), SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), SiPixelIsAliveCalibration::calibrationEnd(), SiPixelGainCalibrationAnalysis::doFits(), SiPixelIsAliveCalibration::newDetID(), SiPixelGainCalibrationAnalysis::newDetID(), SiPixelSCurveCalibrationAnalysis::newDetID(), and SiPixelGainCalibrationAnalysis::printSummary().
|
protected |
Definition at line 101 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), beginRun(), checkPixel(), SiPixelIsAliveCalibration::doFits(), and SiPixelIsAliveCalibration::newDetID().
|
protected |
|
private |
Definition at line 117 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by endJob(), and SiPixelOfflineCalibAnalysisBase().
|
private |
Definition at line 114 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by bookDQMHistogram1D(), bookDQMHistogram2D(), bookDQMHistoPlaquetteSummary2D(), endJob(), setDQMDirectory(), and SiPixelOfflineCalibAnalysisBase().
|
private |
Definition at line 125 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), newDetID(), and translateDetIdToString().
|
private |
Definition at line 124 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze().
|
private |
Definition at line 120 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), and EventNumber().
|
static |
Definition at line 94 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by SiPixelSCurveCalibrationAnalysis::calibrationSetup(), and chi2toMinimize().
|
private |
Definition at line 113 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by setDQMDirectory(), and SiPixelOfflineCalibAnalysisBase().
|
protected |
Definition at line 102 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), beginRun(), and bookDQMHistoPlaquetteSummary2D().
|
protected |
Definition at line 106 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by beginRun(), SiPixelSCurveCalibrationAnalysis::calibrationSetup(), and SiPixelSCurveCalibrationAnalysis::doFits().
|
private |
Definition at line 116 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by endJob(), and SiPixelOfflineCalibAnalysisBase().
|
private |
Definition at line 119 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), and getRunNumbers().
|
private |
Definition at line 127 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by beginRun(), and SiPixelOfflineCalibAnalysisBase().
|
protected |
Definition at line 103 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), beginRun(), checkPixel(), and SiPixelSCurveCalibrationAnalysis::makeThresholdSummary().
|
private |
Definition at line 115 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by beginRun(), bookDQMHistogram1D(), bookDQMHistogram2D(), and bookDQMHistoPlaquetteSummary2D().
|
private |
Definition at line 129 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by analyze(), and SiPixelOfflineCalibAnalysisBase().
|
staticprotected |
Definition at line 107 of file SiPixelOfflineCalibAnalysisBase.h.
Referenced by beginRun(), SiPixelSCurveCalibrationAnalysis::calibrationSetup(), SiPixelGainCalibrationAnalysis::doFits(), SiPixelSCurveCalibrationAnalysis::doFits(), SiPixelSCurveCalibrationAnalysis::estimateSCurveParameters(), SiPixelSCurveCalibrationAnalysis::fittedSCurveSanityCheck(), and getVcalValues().