Algorithm for calibration runs. More...
#include <CalibrationAlgorithm.h>
Public Member Functions | |
CalibrationAlgorithm (const edm::ParameterSet &pset, CalibrationAnalysis *const ) | |
const Histo & | histo (int i) const |
~CalibrationAlgorithm () override | |
Public Member Functions inherited from CommissioningAlgorithm | |
void | analysis (const std::vector< TH1 * > &) |
CommissioningAlgorithm (CommissioningAnalysis *const ) | |
CommissioningAlgorithm () | |
virtual | ~CommissioningAlgorithm () |
Private Member Functions | |
void | analyse () override |
CalibrationAlgorithm () | |
void | correctDistribution (TH1 *) const |
void | extract (const std::vector< TH1 * > &) override |
TF1 * | fitPulse (TH1 *, float rangeLow=0, float rangeHigh=-1) |
float | maximum (TH1 *) |
float | turnOn (TF1 *) |
Private Attributes | |
CalibrationAnalysis * | cal_ |
TF1 * | deconv_fitter_ |
Histo | histo_ [32] |
TF1 * | peak_fitter_ |
Additional Inherited Members | |
Public Types inherited from CommissioningAlgorithm | |
typedef std::pair< TH1 *, std::string > | Histo |
Protected Member Functions inherited from CommissioningAlgorithm | |
CommissioningAnalysis *const | anal () const |
uint32_t | extractFedKey (const TH1 *const ) |
Algorithm for calibration runs.
Definition at line 18 of file CalibrationAlgorithm.h.
CalibrationAlgorithm::CalibrationAlgorithm | ( | const edm::ParameterSet & | pset, |
CalibrationAnalysis * const | anal | ||
) |
Definition at line 21 of file CalibrationAlgorithm.cc.
References deconv_fitter_, fdeconv(), fpeak(), and peak_fitter_.
|
inlineoverride |
Definition at line 24 of file CalibrationAlgorithm.h.
|
inlineprivate |
Definition at line 30 of file CalibrationAlgorithm.h.
References analyse(), correctDistribution(), extract(), fitPulse(), maximum(), and turnOn().
|
overrideprivatevirtual |
Performs histogram anaylsis.
make the fit
Implements CommissioningAlgorithm.
Definition at line 98 of file CalibrationAlgorithm.cc.
References CalibrationAnalysis::amplitude_, CalibrationAnalysis::baseline_, cal_, CalibrationAnalysis::calchan_, CalibrationAnalysis::chi2_, correctDistribution(), CalibrationAnalysis::deconv_, plotBeamSpotDB::first, fitPulse(), histo_, mps_fire::i, CalibrationAnalysis::isScan_, CalibrationAnalysis::max_amplitude_, CalibrationAnalysis::max_baseline_, CalibrationAnalysis::max_chi2_, CalibrationAnalysis::max_maximum_, CalibrationAnalysis::max_riseTime_, CalibrationAnalysis::max_smearing_, CalibrationAnalysis::max_tail_, CalibrationAnalysis::max_timeConstant_, CalibrationAnalysis::max_turnOn_, CalibrationAnalysis::max_undershoot_, CalibrationAnalysis::maximum_, CalibrationAnalysis::mean_amplitude_, CalibrationAnalysis::mean_baseline_, CalibrationAnalysis::mean_chi2_, CalibrationAnalysis::mean_maximum_, CalibrationAnalysis::mean_riseTime_, CalibrationAnalysis::mean_smearing_, CalibrationAnalysis::mean_tail_, CalibrationAnalysis::mean_timeConstant_, CalibrationAnalysis::mean_turnOn_, CalibrationAnalysis::mean_undershoot_, CalibrationAnalysis::min_amplitude_, CalibrationAnalysis::min_baseline_, CalibrationAnalysis::min_chi2_, CalibrationAnalysis::min_maximum_, CalibrationAnalysis::min_riseTime_, CalibrationAnalysis::min_smearing_, CalibrationAnalysis::min_tail_, CalibrationAnalysis::min_timeConstant_, CalibrationAnalysis::min_turnOn_, CalibrationAnalysis::min_undershoot_, sistrip::mlCommissioning_, CalibrationAnalysis::riseTime_, Gflash::Rmax, Gflash::Rmin, CalibrationAnalysis::smearing_, CalibrationAnalysis::spread_amplitude_, CalibrationAnalysis::spread_baseline_, CalibrationAnalysis::spread_chi2_, CalibrationAnalysis::spread_maximum_, CalibrationAnalysis::spread_riseTime_, CalibrationAnalysis::spread_smearing_, CalibrationAnalysis::spread_tail_, CalibrationAnalysis::spread_timeConstant_, CalibrationAnalysis::spread_turnOn_, CalibrationAnalysis::spread_undershoot_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, digitizers_cfi::strip, CalibrationAnalysis::tail_, CalibrationAnalysis::timeConstant_, fftjetcommon_cfi::title, OfflinePixel3DPrimaryVertices_cfi::Tmin, turnOn(), CalibrationAnalysis::turnOn_, and CalibrationAnalysis::undershoot_.
Referenced by CalibrationAlgorithm().
|
private |
Definition at line 324 of file CalibrationAlgorithm.cc.
References cal_, CalibrationAnalysis::isScan_, and sistrip::mlCommissioning_.
Referenced by analyse(), and CalibrationAlgorithm().
|
overrideprivatevirtual |
Extracts and organises histograms.
Implements CommissioningAlgorithm.
Definition at line 43 of file CalibrationAlgorithm.cc.
References CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), cal_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, CommissioningAlgorithm::extractFedKey(), CommissioningAnalysis::fedKey(), histo_, CalibrationAnalysis::isScan_, sistrip::mlCommissioning_, sistrip::numberOfHistos_, fftjetcommon_cfi::title, tmp, and sistrip::unexpectedTask_.
Referenced by CalibrationAlgorithm().
|
private |
Definition at line 339 of file CalibrationAlgorithm.cc.
References cal_, CalibrationAnalysis::deconv_, deconv_fitter_, relativeConstraints::error, mps_fire::i, maximum(), N, peak_fitter_, and mathSSE::sqrt().
Referenced by analyse(), CalibrationAlgorithm(), and maximum().
|
inline |
|
private |
Definition at line 381 of file CalibrationAlgorithm.cc.
References stringResolutionProvider_cfi::bin, and fitPulse().
Referenced by CalibrationAlgorithm(), and fitPulse().
|
private |
Definition at line 390 of file CalibrationAlgorithm.cc.
References runEdmFileComparison::base, and ntuplemaker::time.
Referenced by analyse(), and CalibrationAlgorithm().
|
private |
Definition at line 56 of file CalibrationAlgorithm.h.
Referenced by analyse(), correctDistribution(), extract(), and fitPulse().
|
private |
Fitter in deconvolution mode
Definition at line 52 of file CalibrationAlgorithm.h.
Referenced by CalibrationAlgorithm(), and fitPulse().
|
private |
pulse shape
Definition at line 49 of file CalibrationAlgorithm.h.
|
private |
Fitter in peak mode
Definition at line 54 of file CalibrationAlgorithm.h.
Referenced by CalibrationAlgorithm(), and fitPulse().