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 30 of file SamplingAlgorithm.h.
References analyse(), correctBinning(), correctProfile(), extract(), PostProcessor_cff::profile, and pruneProfile().
|
overrideprivatevirtual |
Performs histogram anaylsis.
Implements CommissioningAlgorithm.
Definition at line 118 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 215 of file SamplingAlgorithm.cc.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
Definition at line 223 of file SamplingAlgorithm.cc.
References stringResolutionProvider_cfi::bin, SamplingAnalysis::correctMeasurement(), SamplingAnalysis::limit(), min(), pileupCalc::nbins, and samp_.
Referenced by analyse(), and SamplingAlgorithm().
|
overrideprivatevirtual |
Extracts and organises histograms.
Implements CommissioningAlgorithm.
Definition at line 58 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_, fftjetcommon_cfi::title, tmp, and sistrip::unexpectedTask_.
Referenced by SamplingAlgorithm().
|
inline |
Referenced by ~SamplingAlgorithm().
|
private |
Definition at line 198 of file SamplingAlgorithm.cc.
References stringResolutionProvider_cfi::bin, SiStripPI::max, min(), and pileupCalc::nbins.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
Fitter in peak and deconvolution mode
Definition at line 48 of file SamplingAlgorithm.h.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
pulse shape
Definition at line 45 of file SamplingAlgorithm.h.
|
private |
latency code for fine delay scans
Definition at line 53 of file SamplingAlgorithm.h.
Referenced by analyse().
|
private |
Definition at line 49 of file SamplingAlgorithm.h.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
Definition at line 50 of file SamplingAlgorithm.h.
Referenced by analyse(), and SamplingAlgorithm().
|
private |
SamplingAnalysis object
Definition at line 56 of file SamplingAlgorithm.h.
Referenced by analyse(), correctProfile(), and extract().