#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::one::EDAnalyzer< edm::one::WatchRuns > | |
EDAnalyzer ()=default | |
EDAnalyzer (const EDAnalyzer &)=delete | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
bool | wantsGlobalLuminosityBlocks () const noexcept final |
bool | wantsGlobalRuns () const noexcept final |
bool | wantsInputProcessBlocks () const noexcept final |
bool | wantsProcessBlocks () const noexcept final |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const noexcept |
bool | wantsStreamRuns () const noexcept |
~EDAnalyzerBase () 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 | |
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices 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::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | 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::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Static Public Attributes inherited from SiPixelOfflineCalibAnalysisBase | |
static TF1 * | fitFunction_ = nullptr |
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) |
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) |
Protected Attributes inherited from SiPixelOfflineCalibAnalysisBase | |
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > | cablingMapToken_ |
edm::ESHandle< SiPixelCalibConfiguration > | calib_ |
std::string | calibrationMode_ |
edm::ESGetToken< SiPixelCalibConfiguration, SiPixelCalibConfigurationRcd > | calibToken_ |
edm::ESGetToken< SiPixelCalibConfiguration, SiPixelCalibConfigurationRcd > | calibTokenBeginRun_ |
edm::ESHandle< TrackerGeometry > | geom_ |
short | nTriggers_ |
edm::ESHandle< SiPixelFedCablingMap > | theCablingMap_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeomToken_ |
Static Protected Attributes inherited from SiPixelOfflineCalibAnalysisBase | |
static std::vector< short > | vCalValues_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 46 of file SiPixelGainCalibrationAnalysis.h.
|
explicit |
Definition at line 32 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 86 of file SiPixelGainCalibrationAnalysis.cc.
|
private |
Definition at line 91 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 165 of file SiPixelGainCalibrationAnalysis.cc.
References fillDatabase(), filldb_, printSummary(), and writeSummary_.
|
overrideprivatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 123 of file SiPixelGainCalibrationAnalysis.cc.
|
overridevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 108 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::calibrationMode_, and ignoreMode_.
|
overridevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 183 of file SiPixelGainCalibrationAnalysis.cc.
References funct::abs(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), bookkeeper_, bookkeeper_pixels_, nano_mu_local_reco_cff::chi2, chi2ProbThreshold_, chi2Threshold_, currentDetID_, spr::find(), nano_mu_digi_cff::float, func_, gainhi_, gainlow_, graph_, cuy::ii, CommonMethods::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 174 of file SiPixelGainCalibrationAnalysis.cc.
Referenced by calibrationEnd().
|
overrideprivatevirtual |
Reimplemented from SiPixelOfflineCalibAnalysisBase.
Definition at line 467 of file SiPixelGainCalibrationAnalysis.cc.
References SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), bookkeeper_, maxChi2InHist_, maxGainInHist_, scalarVcalHigh_VcalLow_, SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), AlCaHLTBitMon_QueryRunRegistry::string, and SiPixelOfflineCalibAnalysisBase::translateDetIdToString().
|
private |
Definition at line 125 of file SiPixelGainCalibrationAnalysis.cc.
References 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 100 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 86 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 67 of file SiPixelGainCalibrationAnalysis.h.
Referenced by CalculateAveragePerColumn(), doFits(), newDetID(), and printSummary().
|
private |
Definition at line 68 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 89 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 88 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and printSummary().
|
private |
Definition at line 65 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 117 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 95 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd().
|
private |
Definition at line 72 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 73 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 108 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 107 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 74 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 77 of file SiPixelGainCalibrationAnalysis.h.
Referenced by checkCorrectCalibrationType().
|
private |
Definition at line 76 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 91 of file SiPixelGainCalibrationAnalysis.h.
Referenced by newDetID().
|
private |
Definition at line 90 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and newDetID().
|
private |
Definition at line 111 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 71 of file SiPixelGainCalibrationAnalysis.h.
Referenced by SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 110 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 109 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 83 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 99 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 80 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 85 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 84 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 81 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 82 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 92 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 87 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 113 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), newDetID(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 118 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 94 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 93 of file SiPixelGainCalibrationAnalysis.h.
|
private |
Definition at line 116 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits(), printSummary(), and SiPixelGainCalibrationAnalysis().
|
private |
Definition at line 112 of file SiPixelGainCalibrationAnalysis.h.
Referenced by doFits().
|
private |
Definition at line 96 of file SiPixelGainCalibrationAnalysis.h.
Referenced by calibrationEnd(), and doFits().