Algorithm for calibration runs. More...
#include <CalibrationAlgorithm.h>
Public Member Functions | |
CalibrationAlgorithm (const edm::ParameterSet &pset, CalibrationAnalysis *const) | |
const Histo & | histo (int &i) |
~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 |
float | baseLine (TF1 *) |
CalibrationAlgorithm () | |
void | correctDistribution (TH1 *) const |
float | decayTime (TF1 *) |
void | extract (const std::vector< TH1 *> &) override |
float | turnOn (TF1 *, const float &) |
Private Attributes | |
std::vector< int > | apvId_ |
CalibrationAnalysis * | cal_ |
std::vector< int > | calChan_ |
std::vector< Histo > | histo_ |
std::vector< int > | stripId_ |
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 19 of file CalibrationAlgorithm.h.
CalibrationAlgorithm::CalibrationAlgorithm | ( | const edm::ParameterSet & | pset, |
CalibrationAnalysis * const | anal | ||
) |
Definition at line 23 of file CalibrationAlgorithm.cc.
|
inlineoverride |
Definition at line 22 of file CalibrationAlgorithm.h.
|
inlineprivate |
Definition at line 27 of file CalibrationAlgorithm.h.
|
overrideprivatevirtual |
Performs histogram anaylsis.
Implements CommissioningAlgorithm.
Definition at line 88 of file CalibrationAlgorithm.cc.
References CalibrationAnalysis::amplitude_, apvId_, baseLine(), CalibrationAnalysis::baseline_, cal_, calChan_, CalibrationAnalysis::calChan_, CalibrationAnalysis::chi2_, correctDistribution(), decayTime(), CalibrationAnalysis::decayTime_, CalibrationAnalysis::deconv_, relativeConstraints::error, fdeconv(), first, fpeak(), histo_, mps_fire::i, CalibrationAnalysis::isvalid_, CalibrationAnalysis::max_amplitude_, CalibrationAnalysis::max_baseline_, CalibrationAnalysis::max_chi2_, CalibrationAnalysis::max_decayTime_, CalibrationAnalysis::max_peakTime_, CalibrationAnalysis::max_riseTime_, CalibrationAnalysis::max_smearing_, CalibrationAnalysis::max_tail_, CalibrationAnalysis::max_turnOn_, CalibrationAnalysis::max_undershoot_, CalibrationAnalysis::maxBaselineThreshold_, CalibrationAnalysis::maxChi2Threshold_, CalibrationAnalysis::maxDecayTimeThreshold_, CalibrationAnalysis::maxDecayTimeThresholdDeco_, CalibrationAnalysis::maxPeakTimeThreshold_, CalibrationAnalysis::maxPeakTimeThresholdDeco_, CalibrationAnalysis::maxRiseTimeThreshold_, CalibrationAnalysis::maxRiseTimeThresholdDeco_, CalibrationAnalysis::maxTurnOnThreshold_, CalibrationAnalysis::maxTurnOnThresholdDeco_, CalibrationAnalysis::mean_amplitude_, CalibrationAnalysis::mean_baseline_, CalibrationAnalysis::mean_chi2_, CalibrationAnalysis::mean_decayTime_, CalibrationAnalysis::mean_peakTime_, CalibrationAnalysis::mean_riseTime_, CalibrationAnalysis::mean_smearing_, CalibrationAnalysis::mean_tail_, CalibrationAnalysis::mean_turnOn_, CalibrationAnalysis::mean_undershoot_, CalibrationAnalysis::min_amplitude_, CalibrationAnalysis::min_baseline_, CalibrationAnalysis::min_chi2_, CalibrationAnalysis::min_decayTime_, CalibrationAnalysis::min_peakTime_, CalibrationAnalysis::min_riseTime_, CalibrationAnalysis::min_smearing_, CalibrationAnalysis::min_tail_, CalibrationAnalysis::min_turnOn_, CalibrationAnalysis::min_undershoot_, CalibrationAnalysis::minAmplitudeThreshold_, CalibrationAnalysis::minBaselineThreshold_, CalibrationAnalysis::minDecayTimeThreshold_, CalibrationAnalysis::minDecayTimeThresholdDeco_, CalibrationAnalysis::minPeakTimeThreshold_, CalibrationAnalysis::minPeakTimeThresholdDeco_, CalibrationAnalysis::minRiseTimeThreshold_, CalibrationAnalysis::minRiseTimeThresholdDeco_, CalibrationAnalysis::minTurnOnThreshold_, CalibrationAnalysis::minTurnOnThresholdDeco_, sistrip::mlCommissioning_, me0TriggerPseudoDigis_cff::nStrips, CalibrationAnalysis::peakTime_, CalibrationAnalysis::riseTime_, Gflash::Rmax, Gflash::Rmin, CalibrationAnalysis::smearing_, CalibrationAnalysis::spread_amplitude_, CalibrationAnalysis::spread_baseline_, CalibrationAnalysis::spread_chi2_, CalibrationAnalysis::spread_decayTime_, CalibrationAnalysis::spread_peakTime_, CalibrationAnalysis::spread_riseTime_, CalibrationAnalysis::spread_smearing_, CalibrationAnalysis::spread_tail_, CalibrationAnalysis::spread_turnOn_, CalibrationAnalysis::spread_undershoot_, mathSSE::sqrt(), stripId_, CalibrationAnalysis::tail_, HLT_2022v14_cff::Tmin, turnOn(), CalibrationAnalysis::turnOn_, and CalibrationAnalysis::undershoot_.
|
private |
Definition at line 503 of file CalibrationAlgorithm.cc.
References f, npoints, x, and TrackerOfflineValidation_Dqm_cff::xmax.
Referenced by analyse().
|
private |
Definition at line 495 of file CalibrationAlgorithm.cc.
References histo().
Referenced by analyse().
|
private |
Definition at line 526 of file CalibrationAlgorithm.cc.
References JetChargeProducer_cfi::exp, f, x, and makeMEIFBenchmarkPlots::xval.
Referenced by analyse().
|
overrideprivatevirtual |
Extracts and organises histograms.
extract isha, vfs and calchan values, as well as filling the histogram objects
Implements CommissioningAlgorithm.
Definition at line 28 of file CalibrationAlgorithm.cc.
References CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), apvId_, cal_, calChan_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, CommissioningAlgorithm::extractFedKey(), CommissioningAnalysis::fedKey(), histo_, combine::histos, sistrip::mlCommissioning_, AlCaHLTBitMon_QueryRunRegistry::string, stripId_, runGCPTkAlMap::title, createJobs::tmp, unpackBuffers-CaloStage2::token, and sistrip::unexpectedTask_.
|
inline |
Definition at line 24 of file CalibrationAlgorithm.h.
References histo_, and mps_fire::i.
Referenced by correctDistribution().
|
private |
Definition at line 516 of file CalibrationAlgorithm.cc.
References f, and protons_cff::time.
Referenced by analyse().
|
private |
Definition at line 44 of file CalibrationAlgorithm.h.
|
private |
analysis object
Definition at line 47 of file CalibrationAlgorithm.h.
|
private |
Definition at line 43 of file CalibrationAlgorithm.h.
|
private |
pulse shape
Definition at line 41 of file CalibrationAlgorithm.h.
|
private |
Definition at line 42 of file CalibrationAlgorithm.h.