#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 | |
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 | |
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 | |
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::vector< ModuleDescription const * > &modules, 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 |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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_ |
std::ofstream | summary_ |
bool | useVcalHigh_ |
bool | writeSummary_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 48 of file SiPixelGainCalibrationAnalysis.h.
|
explicit |
Definition at line 34 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 86 of file SiPixelGainCalibrationAnalysis.cc.
|
private |
Definition at line 93 of file SiPixelGainCalibrationAnalysis.cc.
References bookkeeper_, diffTwoXMLs::label, trackingPlots::ncols, mps_fire::result, and heppy_batch::val.
Referenced by printSummary().
|
privatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 173 of file SiPixelGainCalibrationAnalysis.cc.
References fillDatabase(), filldb_, printSummary(), and writeSummary_.
|
privatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 127 of file SiPixelGainCalibrationAnalysis.cc.
|
virtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 111 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::calibrationMode_, and ignoreMode_.
|
virtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 190 of file SiPixelGainCalibrationAnalysis.cc.
References funct::abs(), Abs(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), bookkeeper_, bookkeeper_pixels_, HiEvtPlane_cfi::chi2, chi2ProbThreshold_, chi2Threshold_, currentDetID_, spr::find(), objects.autophobj::float, func_, gainhi_, gainlow_, graph_, cuy::ii, edm::detail::isnan(), listofdetids_, maxGainInHist_, min_nentries_, npoints, pedhi_, pedlow_, funct::pow(), TtFullHadEvtBuilder_cfi::prob, reject_badpoints_, reject_badpoints_frac_, reject_first_point_, reject_plateaupoints_, reject_single_entries_, saveALLHistograms_, savePixelHists_, scalarVcalHigh_VcalLow_, SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), slope, mathSSE::sqrt(), mps_update::status, statusNumbers_, AlCaHLTBitMon_QueryRunRegistry::string, summary_, SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), useVcalHigh_, SiPixelOfflineCalibAnalysisBase::vCalValues_, and writeSummary_.
void SiPixelGainCalibrationAnalysis::doSetup | ( | const edm::ParameterSet & | ) |
|
private |
Definition at line 182 of file SiPixelGainCalibrationAnalysis.cc.
Referenced by calibrationEnd().
|
privatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 471 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), bookkeeper_, DEFINE_FWK_MODULE, maxChi2InHist_, maxGainInHist_, scalarVcalHigh_VcalLow_, SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), AlCaHLTBitMon_QueryRunRegistry::string, and SiPixelOfflineCalibAnalysisBase::translateDetIdToString().
|
private |
Definition at line 132 of file SiPixelGainCalibrationAnalysis.cc.
References begin, bookkeeper_, bookkeeper_pixels_, CalculateAveragePerColumn(), chi2Threshold_, mps_fire::i, cuy::ii, genParticles_cff::map, statusNumbers_, summary_, and SiPixelOfflineCalibAnalysisBase::translateDetIdToString().
Referenced by calibrationEnd().
|
private |
Definition at line 103 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 89 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 70 of file SiPixelGainCalibrationAnalysis.h.
Referenced by CalculateAveragePerColumn(), doFits(), newDetID(), and printSummary().
|
private |
Definition at line 71 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 92 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 91 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 68 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 120 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 98 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd().
|
private |
Definition at line 75 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 76 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 111 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 110 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 77 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 80 of file SiPixelGainCalibrationAnalysis.h.
Referenced by checkCorrectCalibrationType().
|
private |
Definition at line 79 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 94 of file SiPixelGainCalibrationAnalysis.h.
Referenced by newDetID().
|
private |
Definition at line 93 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and newDetID().
|
private |
Definition at line 114 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 74 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 113 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 112 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 86 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 102 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 83 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 88 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 87 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 84 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 85 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 95 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 90 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 116 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), newDetID(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 121 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 97 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 96 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 119 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 115 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 99 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd(), and doFits().