Algorithm for calibration runs. More...
#include <CalibrationAlgorithm.h>
Public Member Functions | |
CalibrationAlgorithm (const edm::ParameterSet &pset, CalibrationAnalysis *const ) | |
const Histo & | histo (int i) const |
virtual | ~CalibrationAlgorithm () |
Public Member Functions inherited from CommissioningAlgorithm | |
void | analysis (const std::vector< TH1 * > &) |
CommissioningAlgorithm (CommissioningAnalysis *const ) | |
CommissioningAlgorithm () | |
virtual | ~CommissioningAlgorithm () |
Private Member Functions | |
void | analyse () |
CalibrationAlgorithm () | |
void | correctDistribution (TH1 *) const |
virtual void | extract (const std::vector< TH1 * > &) |
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_.
|
inlinevirtual |
Definition at line 24 of file CalibrationAlgorithm.h.
|
inlineprivate |
Definition at line 30 of file CalibrationAlgorithm.h.
|
privatevirtual |
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_, 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, CalibrationAnalysis::tail_, CalibrationAnalysis::timeConstant_, indexGen::title, builder_last_value_cfg::Tmax, builder_last_value_cfg::Tmin, and turnOn().
|
private |
Definition at line 251 of file CalibrationAlgorithm.cc.
References cal_, and CalibrationAnalysis::isScan_.
Referenced by analyse().
|
privatevirtual |
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_, indexGen::title, tmp, and sistrip::unexpectedTask_.
Referenced by BeautifulSoup.PageElement::_invert(), and BeautifulSoup.Tag::decompose().
|
private |
Definition at line 260 of file CalibrationAlgorithm.cc.
References cal_, CalibrationAnalysis::deconv_, deconv_fitter_, relativeConstraints::error, i, N, HLT_25ns10e33_v2_cff::noise, peak_fitter_, and mathSSE::sqrt().
Referenced by analyse(), and maximum().
|
inline |
Definition at line 26 of file CalibrationAlgorithm.h.
|
private |
Definition at line 290 of file CalibrationAlgorithm.cc.
References newFWLiteAna::bin, and fitPulse().
Referenced by analyse().
|
private |
Definition at line 299 of file CalibrationAlgorithm.cc.
References newFWLiteAna::base, newFWLiteAna::bin, and end.
Referenced by analyse().
|
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().