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 24 of file CalibrationAlgorithm.h.
|
inlineprivate |
Definition at line 30 of file CalibrationAlgorithm.h.
References analyse(), baseLine(), correctDistribution(), decayTime(), extract(), and turnOn().
|
overrideprivatevirtual |
Performs histogram anaylsis.
Implements CommissioningAlgorithm.
Definition at line 92 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(), plotBeamSpotDB::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_, 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_, OfflinePixel3DPrimaryVertices_cfi::Tmin, turnOn(), CalibrationAnalysis::turnOn_, and CalibrationAnalysis::undershoot_.
Referenced by CalibrationAlgorithm().
|
private |
Definition at line 438 of file CalibrationAlgorithm.cc.
References npoints, x, and TrackerOfflineValidation_Dqm_cff::xmax.
Referenced by analyse(), and CalibrationAlgorithm().
|
private |
Definition at line 430 of file CalibrationAlgorithm.cc.
Referenced by analyse(), and CalibrationAlgorithm().
|
private |
Definition at line 460 of file CalibrationAlgorithm.cc.
References JetChargeProducer_cfi::exp, and x.
Referenced by analyse(), and CalibrationAlgorithm().
|
overrideprivatevirtual |
Extracts and organises histograms.
extract isha, vfs and calchan values, as well as filling the histogram objects
Implements CommissioningAlgorithm.
Definition at line 30 of file CalibrationAlgorithm.cc.
References CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), apvId_, cal_, calChan_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, CommissioningAlgorithm::extractFedKey(), CommissioningAnalysis::fedKey(), histo_, sistrip::mlCommissioning_, AlCaHLTBitMon_QueryRunRegistry::string, stripId_, runGCPTkAlMap::title, tmp, and sistrip::unexpectedTask_.
Referenced by CalibrationAlgorithm().
|
inline |
|
private |
Definition at line 452 of file CalibrationAlgorithm.cc.
References ntuplemaker::time.
Referenced by analyse(), and CalibrationAlgorithm().
|
private |
Definition at line 48 of file CalibrationAlgorithm.h.
|
private |
analysis object
Definition at line 51 of file CalibrationAlgorithm.h.
|
private |
Definition at line 47 of file CalibrationAlgorithm.h.
|
private |
pulse shape
Definition at line 45 of file CalibrationAlgorithm.h.
|
private |
Definition at line 46 of file CalibrationAlgorithm.h.