#include <CalibTracker/SiPixelGainCalibrationAnalysis/interface/SiPixelGainCalibrationAnalysis.h>
Public Member Functions | |
bool | checkCorrectCalibrationType () override |
bool | doFits (uint32_t detid, std::vector< SiPixelCalibDigi >::const_iterator ipix) override |
void | doSetup (const edm::ParameterSet &) |
SiPixelGainCalibrationAnalysis (const edm::ParameterSet &iConfig) | |
~SiPixelGainCalibrationAnalysis () override | |
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 () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () 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 | |
ESProxyIndex const * | esGetTokenIndices (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::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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
std::vector< float > | CalculateAveragePerColumn (uint32_t detid, std::string label) |
void | calibrationEnd () override |
void | calibrationSetup (const edm::EventSetup &iSetup) override |
void | fillDatabase () |
void | newDetID (uint32_t detid) override |
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 SiPixelOfflineCalibAnalysisBase | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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 bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Static Public Attributes inherited from SiPixelOfflineCalibAnalysisBase | |
static TF1 * | fitFunction_ = 0 |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 47 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_.
|
override |
Definition at line 88 of file SiPixelGainCalibrationAnalysis.cc.
|
private |
Definition at line 93 of file SiPixelGainCalibrationAnalysis.cc.
References bookkeeper_, label, hgcalPlots::ncols, mps_fire::result, and heppy_batch::val.
Referenced by printSummary().
|
overrideprivatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 167 of file SiPixelGainCalibrationAnalysis.cc.
References fillDatabase(), filldb_, printSummary(), and writeSummary_.
|
overrideprivatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 125 of file SiPixelGainCalibrationAnalysis.cc.
|
overridevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 110 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::calibrationMode_, and ignoreMode_.
|
overridevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 185 of file SiPixelGainCalibrationAnalysis.cc.
References funct::abs(), Abs(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), bookkeeper_, bookkeeper_pixels_, hltPixelTracks_cff::chi2, chi2ProbThreshold_, chi2Threshold_, currentDetID_, spr::find(), dqmMemoryStats::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 176 of file SiPixelGainCalibrationAnalysis.cc.
Referenced by calibrationEnd().
|
overrideprivatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 469 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 127 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 101 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 87 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 68 of file SiPixelGainCalibrationAnalysis.h.
Referenced by CalculateAveragePerColumn(), doFits(), newDetID(), and printSummary().
|
private |
Definition at line 69 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 90 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 89 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 66 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 118 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 96 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd().
|
private |
Definition at line 73 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 74 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 109 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 108 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 75 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 78 of file SiPixelGainCalibrationAnalysis.h.
Referenced by checkCorrectCalibrationType().
|
private |
Definition at line 77 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 92 of file SiPixelGainCalibrationAnalysis.h.
Referenced by newDetID().
|
private |
Definition at line 91 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and newDetID().
|
private |
Definition at line 112 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 72 of file SiPixelGainCalibrationAnalysis.h.
Referenced by 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 84 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 100 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 81 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 86 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 85 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 82 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 83 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 93 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 88 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 114 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), newDetID(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 119 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 95 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 94 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 117 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 113 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 97 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd(), and doFits().