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) | |
virtual | ~SamplingAlgorithm () |
Public Member Functions inherited from CommissioningAlgorithm | |
void | analysis (const std::vector< TH1 * > &) |
CommissioningAlgorithm (CommissioningAnalysis *const ) | |
CommissioningAlgorithm () | |
virtual | ~CommissioningAlgorithm () |
Private Member Functions | |
void | analyse () |
void | correctBinning (TProfile *prof) const |
void | correctProfile (TProfile *profile, float SoNcut=3.) const |
virtual void | extract (const std::vector< TH1 * > &) |
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_.
|
inlinevirtual |
Definition at line 24 of file SamplingAlgorithm.h.
|
inlineprivate |
Definition at line 30 of file SamplingAlgorithm.h.
|
privatevirtual |
Performs histogram anaylsis.
Implements CommissioningAlgorithm.
Definition at line 118 of file SamplingAlgorithm.cc.
References sistrip::APV_LATENCY, correctBinning(), correctProfile(), deconv_fitter_, SamplingAnalysis::error_, histo_, i, latencyCode_, max(), SamplingAnalysis::max_, sistrip::mlCommissioning_, peak_fitterA_, peak_fitterB_, pruneProfile(), SamplingAnalysis::runType_, samp_, SamplingAnalysis::sOnCut_, and mathSSE::sqrt().
|
private |
Definition at line 215 of file SamplingAlgorithm.cc.
Referenced by analyse().
|
private |
Definition at line 223 of file SamplingAlgorithm.cc.
References newFWLiteAna::bin, SamplingAnalysis::correctMeasurement(), SamplingAnalysis::limit(), bookConverter::min, pileupCalc::nbins, and samp_.
Referenced by analyse().
|
privatevirtual |
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_, indexGen::title, tmp, and sistrip::unexpectedTask_.
Referenced by BeautifulSoup.PageElement::_invert(), and BeautifulSoup.Tag::decompose().
|
inline |
|
private |
Definition at line 198 of file SamplingAlgorithm.cc.
References newFWLiteAna::bin, max(), bookConverter::min, and pileupCalc::nbins.
Referenced by analyse().
|
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().