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 (TH1 *) |
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 20 of file CalibrationAlgorithm.cc.
References deconv_fitter_, fdeconv_convoluted(), fpeak_convoluted(), 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.
Implements CommissioningAlgorithm.
Definition at line 101 of file CalibrationAlgorithm.cc.
References CalibrationAnalysis::amplitude_, cal_, CalibrationAnalysis::calchan_, CalibrationAnalysis::chi2_, correctDistribution(), plotBeamSpotDB::first, fitPulse(), histo_, mps_fire::i, CalibrationAnalysis::isScan_, CalibrationAnalysis::max_amplitude_, CalibrationAnalysis::max_chi2_, CalibrationAnalysis::max_riseTime_, CalibrationAnalysis::max_smearing_, CalibrationAnalysis::max_tail_, CalibrationAnalysis::max_timeConstant_, maximum(), CalibrationAnalysis::mean_amplitude_, CalibrationAnalysis::mean_chi2_, CalibrationAnalysis::mean_riseTime_, CalibrationAnalysis::mean_smearing_, CalibrationAnalysis::mean_tail_, CalibrationAnalysis::mean_timeConstant_, CalibrationAnalysis::min_amplitude_, CalibrationAnalysis::min_chi2_, CalibrationAnalysis::min_riseTime_, CalibrationAnalysis::min_smearing_, CalibrationAnalysis::min_tail_, CalibrationAnalysis::min_timeConstant_, sistrip::mlCommissioning_, CalibrationAnalysis::riseTime_, Gflash::Rmax, Gflash::Rmin, CalibrationAnalysis::smearing_, CalibrationAnalysis::spread_amplitude_, CalibrationAnalysis::spread_chi2_, CalibrationAnalysis::spread_riseTime_, CalibrationAnalysis::spread_smearing_, CalibrationAnalysis::spread_tail_, CalibrationAnalysis::spread_timeConstant_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, digi_MixPreMix_cfi::strip, CalibrationAnalysis::tail_, CalibrationAnalysis::timeConstant_, fftjetcommon_cfi::title, OfflinePixel3DPrimaryVertices_cfi::Tmin, and turnOn().
Referenced by CalibrationAlgorithm().
|
private |
Definition at line 251 of file CalibrationAlgorithm.cc.
References cal_, and CalibrationAnalysis::isScan_.
Referenced by analyse(), and CalibrationAlgorithm().
|
overrideprivatevirtual |
Extracts and organises histograms.
Implements CommissioningAlgorithm.
Definition at line 46 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 260 of file CalibrationAlgorithm.cc.
References cal_, CalibrationAnalysis::deconv_, deconv_fitter_, relativeConstraints::error, mps_fire::i, N, peak_fitter_, and mathSSE::sqrt().
Referenced by analyse(), CalibrationAlgorithm(), and maximum().
|
inline |
|
private |
Definition at line 290 of file CalibrationAlgorithm.cc.
References stringResolutionProvider_cfi::bin, and fitPulse().
Referenced by analyse(), and CalibrationAlgorithm().
|
private |
Definition at line 299 of file CalibrationAlgorithm.cc.
References CustomPhysics_cfi::amplitude, runEdmFileComparison::base, stringResolutionProvider_cfi::bin, end, and ntuplemaker::time.
Referenced by analyse(), and CalibrationAlgorithm().
|
private |
Definition at line 57 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 55 of file CalibrationAlgorithm.h.
Referenced by CalibrationAlgorithm(), and fitPulse().