Algorithm for latency run. More...
#include <SamplingAlgorithm.h>
Public Member Functions | |
const Histo & | histo () const |
SamplingAlgorithm (const edm::ParameterSet &pset, SamplingAnalysis *const, uint32_t latencyCode=0) | |
~SamplingAlgorithm () 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 |
void | correctBinning (TProfile *prof) const |
void | correctProfile (TProfile *profile, float SoNcut=3.) const |
void | extract (const std::vector< TH1 * > &) override |
void | pruneProfile (TProfile *profile) const |
SamplingAlgorithm () | |
Private Attributes | |
TF1 * | deconv_fitter_ |
Histo | histo_ |
uint32_t | latencyCode_ |
TF1 * | peak_fitterA_ |
TF1 * | peak_fitterB_ |
SamplingAnalysis * | samp_ |
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 latency run.
Definition at line 18 of file SamplingAlgorithm.h.
SamplingAlgorithm::SamplingAlgorithm | ( | const edm::ParameterSet & | pset, |
SamplingAnalysis * const | anal, | ||
uint32_t | latencyCode = 0 |
||
) |
Definition at line 18 of file SamplingAlgorithm.cc.
References deconv_fitter_, fdeconv_convoluted(), fpeak_convoluted(), peak_fitterA_, and peak_fitterB_.
|
inlineoverride |
|
inlineprivate |
Definition at line 27 of file SamplingAlgorithm.h.
References analyse(), correctBinning(), correctProfile(), extract(), PostProcessor_cff::profile, and pruneProfile().
|
overrideprivatevirtual |
Performs histogram anaylsis.
Implements CommissioningAlgorithm.
Definition at line 113 of file SamplingAlgorithm.cc.
References sistrip::APV_LATENCY, correctBinning(), correctProfile(), deconv_fitter_, SamplingAnalysis::error_, histo_, mps_fire::i, latencyCode_, SiStripPI::max, SamplingAnalysis::max_, sistrip::mlCommissioning_, peak_fitterA_, peak_fitterB_, pruneProfile(), SamplingAnalysis::runType_, samp_, SamplingAnalysis::sOnCut_, and mathSSE::sqrt().
Referenced by SamplingAlgorithm().
|
private |
Definition at line 204 of file SamplingAlgorithm.cc.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
Definition at line 211 of file SamplingAlgorithm.cc.
References newFWLiteAna::bin, SamplingAnalysis::correctMeasurement(), SamplingAnalysis::limit(), min(), LaserClient_cfi::nbins, and samp_.
Referenced by analyse(), and SamplingAlgorithm().
|
overrideprivatevirtual |
Extracts and organises histograms.
Implements CommissioningAlgorithm.
Definition at line 57 of file SamplingAlgorithm.cc.
References CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), sistrip::APV_LATENCY, sistrip::extrainfo::clusterCharge_, CommissioningAlgorithm::extractFedKey(), CommissioningAnalysis::fedKey(), sistrip::FINE_DELAY, SamplingAnalysis::granularity_, histo_, sistrip::mlCommissioning_, sistrip::numberOfHistos_, SamplingAnalysis::runType_, samp_, overlapproblemtsosanalyzer_cfi::title, createJobs::tmp, and sistrip::unexpectedTask_.
Referenced by SamplingAlgorithm().
|
inline |
Referenced by ~SamplingAlgorithm().
|
private |
Definition at line 187 of file SamplingAlgorithm.cc.
References newFWLiteAna::bin, SiStripPI::max, min(), and LaserClient_cfi::nbins.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
Fitter in peak and deconvolution mode
Definition at line 44 of file SamplingAlgorithm.h.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
pulse shape
Definition at line 41 of file SamplingAlgorithm.h.
|
private |
latency code for fine delay scans
Definition at line 49 of file SamplingAlgorithm.h.
Referenced by analyse().
|
private |
Definition at line 45 of file SamplingAlgorithm.h.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
Definition at line 46 of file SamplingAlgorithm.h.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
SamplingAnalysis object
Definition at line 52 of file SamplingAlgorithm.h.
Referenced by analyse(), correctProfile(), and extract().