#include <CalibTracker/SiPixelGainCalibrationAnalysis/interface/SiPixelGainCalibrationAnalysis.h>
Public Member Functions | |
virtual bool | checkCorrectCalibrationType () |
virtual bool | doFits (uint32_t detid, std::vector< SiPixelCalibDigi >::const_iterator ipix) |
void | doSetup (const edm::ParameterSet &) |
SiPixelGainCalibrationAnalysis (const edm::ParameterSet &iConfig) | |
~SiPixelGainCalibrationAnalysis () | |
Public Member Functions inherited from SiPixelOfflineCalibAnalysisBase | |
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) |
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 | |
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 Member Functions | |
std::vector< float > | CalculateAveragePerColumn (uint32_t detid, std::string label) |
virtual void | calibrationEnd () |
virtual void | calibrationSetup (const edm::EventSetup &iSetup) |
void | fillDatabase () |
virtual void | newDetID (uint32_t detid) |
void | printSummary () |
Private Attributes | |
bool | appendMode_ |
bool | bookBIGCalibPayload_ |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | bookkeeper_ |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | bookkeeper_pixels_ |
double | chi2ProbThreshold_ |
double | chi2Threshold_ |
edm::ParameterSet | conf_ |
uint32_t | currentDetID_ |
bool | filldb_ |
std::string | fitfunction_ |
TF1 * | func_ |
float | gainhi_ |
float | gainlow_ |
TGraphErrors * | graph_ |
bool | ignoreMode_ |
std::vector< uint32_t > | listofdetids_ |
double | maxChi2InHist_ |
double | maxGainInHist_ |
uint16_t | min_nentries_ |
int | nfitparameters_ |
float | pedhi_ |
float | pedlow_ |
double | plateau_max_slope_ |
std::string | recordName_ |
bool | reject_badpoints_ |
double | reject_badpoints_frac_ |
bool | reject_first_point_ |
bool | reject_plateaupoints_ |
bool | reject_single_entries_ |
bool | saveALLHistograms_ |
bool | savePixelHists_ |
double | scalarVcalHigh_VcalLow_ |
int * | statusNumbers_ |
bool | sum_gain_cols_ |
bool | sum_ped_cols_ |
ofstream | summary_ |
bool | useVcalHigh_ |
bool | writeSummary_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from SiPixelOfflineCalibAnalysisBase | |
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 inherited from SiPixelOfflineCalibAnalysisBase | |
static TF1 * | fitFunction_ = NULL |
Protected Member Functions inherited from SiPixelOfflineCalibAnalysisBase | |
uint32_t & | EventNumber () |
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) |
Protected Attributes inherited from SiPixelOfflineCalibAnalysisBase | |
edm::ESHandle < SiPixelCalibConfiguration > | calib_ |
std::string | calibrationMode_ |
edm::ESHandle< TrackerGeometry > | geom_ |
short | nTriggers_ |
edm::ESHandle < SiPixelFedCablingMap > | theCablingMap_ |
Static Protected Attributes inherited from SiPixelOfflineCalibAnalysisBase | |
static std::vector< short > | vCalValues_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 49 of file SiPixelGainCalibrationAnalysis.h.
|
explicit |
Definition at line 35 of file SiPixelGainCalibrationAnalysis.cc.
References currentDetID_, fitfunction_, func_, graph_, cuy::ii, min_nentries_, nfitparameters_, reject_single_entries_, scalarVcalHigh_VcalLow_, statusNumbers_, and summary_.
SiPixelGainCalibrationAnalysis::~SiPixelGainCalibrationAnalysis | ( | ) |
Definition at line 87 of file SiPixelGainCalibrationAnalysis.cc.
|
private |
Definition at line 94 of file SiPixelGainCalibrationAnalysis.cc.
References bookkeeper_, cond::rpcobgas::detid, diffTwoXMLs::label, and query::result.
Referenced by printSummary().
|
privatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 174 of file SiPixelGainCalibrationAnalysis.cc.
References fillDatabase(), filldb_, printSummary(), and writeSummary_.
|
privatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 128 of file SiPixelGainCalibrationAnalysis.cc.
|
virtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 112 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::calibrationMode_, and ignoreMode_.
|
virtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 191 of file SiPixelGainCalibrationAnalysis.cc.
References abs, SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), bookkeeper_, bookkeeper_pixels_, chi2ProbThreshold_, chi2Threshold_, currentDetID_, cond::rpcobgas::detid, spr::find(), func_, gainhi_, gainlow_, graph_, cuy::ii, edm::detail::isnan(), listofdetids_, maxGainInHist_, min_nentries_, pedhi_, pedlow_, funct::pow(), mix_2012_Summer_inTimeOnly_cff::prob, reject_badpoints_, reject_badpoints_frac_, reject_first_point_, reject_plateaupoints_, reject_single_entries_, saveALLHistograms_, savePixelHists_, scalarVcalHigh_VcalLow_, SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), slope, mathSSE::sqrt(), ntuplemaker::status, statusNumbers_, AlCaHLTBitMon_QueryRunRegistry::string, summary_, SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), useVcalHigh_, SiPixelOfflineCalibAnalysisBase::vCalValues_, and writeSummary_.
void SiPixelGainCalibrationAnalysis::doSetup | ( | const edm::ParameterSet & | ) |
|
private |
Definition at line 183 of file SiPixelGainCalibrationAnalysis.cc.
Referenced by calibrationEnd().
|
privatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 472 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), bookkeeper_, cond::rpcobgas::detid, maxChi2InHist_, maxGainInHist_, scalarVcalHigh_VcalLow_, SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), AlCaHLTBitMon_QueryRunRegistry::string, and SiPixelOfflineCalibAnalysisBase::translateDetIdToString().
|
private |
Definition at line 133 of file SiPixelGainCalibrationAnalysis.cc.
References begin, bookkeeper_, bookkeeper_pixels_, CalculateAveragePerColumn(), chi2Threshold_, cond::rpcobgas::detid, i, cuy::ii, Association::map, statusNumbers_, summary_, and SiPixelOfflineCalibAnalysisBase::translateDetIdToString().
Referenced by calibrationEnd().
|
private |
Definition at line 104 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 90 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 71 of file SiPixelGainCalibrationAnalysis.h.
Referenced by CalculateAveragePerColumn(), doFits(), newDetID(), and printSummary().
|
private |
Definition at line 72 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 93 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 92 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 69 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 121 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 99 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd().
|
private |
Definition at line 76 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 77 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 112 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 111 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 78 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 81 of file SiPixelGainCalibrationAnalysis.h.
Referenced by checkCorrectCalibrationType().
|
private |
Definition at line 80 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 95 of file SiPixelGainCalibrationAnalysis.h.
Referenced by newDetID().
|
private |
Definition at line 94 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and newDetID().
|
private |
Definition at line 115 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 75 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 114 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 113 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 87 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 103 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 84 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 89 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 88 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 85 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 86 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 96 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 91 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 117 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), newDetID(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 122 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 98 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 97 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 120 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 116 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 100 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd(), and doFits().