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 () | |
CommissioningAlgorithm (CommissioningAnalysis *const) | |
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_, peak_fitterB_, and tools::TF1.
|
inlineoverride |
Definition at line 22 of file SamplingAlgorithm.h.
|
inlineprivate |
Definition at line 27 of file SamplingAlgorithm.h.
|
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().
|
private |
|
private |
Definition at line 211 of file SamplingAlgorithm.cc.
References newFWLiteAna::bin, SamplingAnalysis::correctMeasurement(), SamplingAnalysis::limit(), min(), LaserClient_cfi::nbins, PostProcessor_cff::profile, and samp_.
Referenced by analyse().
|
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_, combine::histos, sistrip::mlCommissioning_, sistrip::numberOfHistos_, SamplingAnalysis::runType_, samp_, overlapproblemtsosanalyzer_cfi::title, createJobs::tmp, and sistrip::unexpectedTask_.
|
inline |
|
private |
Definition at line 187 of file SamplingAlgorithm.cc.
References newFWLiteAna::bin, SiStripPI::max, min(), LaserClient_cfi::nbins, and PostProcessor_cff::profile.
Referenced by analyse().
|
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().