Analysis for latency run. More...
#include <SamplingAnalysis.h>
Public Member Functions | |
float | correctMeasurement (float mean, float SoNcut=3.) const |
const float & | error () const |
float | getSoNcut () const |
sistrip::Granularity | granularity () const |
float | limit (float SoNcut) const |
const float & | maximum () const |
void | print (std::stringstream &, uint32_t not_used=0) override |
void | reset () override |
SamplingAnalysis (const uint32_t &key) | |
SamplingAnalysis () | |
void | setSoNcut (const float sOnCut) |
~SamplingAnalysis () override | |
Public Member Functions inherited from CommissioningAnalysis | |
virtual void | addErrorCode (const std::string &error) |
CommissioningAnalysis (const uint32_t &key, const std::string &my_name) | |
CommissioningAnalysis (const std::string &my_name) | |
const uint32_t & | dcuId () const |
void | dcuId (const uint32_t &) |
const uint32_t & | detId () const |
void | detId (const uint32_t &) |
const uint32_t & | fecKey () const |
void | fecKey (const uint32_t &) |
const uint32_t & | fedKey () const |
void | fedKey (const uint32_t &) |
const VString & | getErrorCodes () const |
virtual void | header (std::stringstream &) const |
virtual bool | isValid () const |
const std::string & | myName () const |
void | setErrorCodes (const VString &errors) |
virtual void | summary (std::stringstream &) const |
virtual | ~CommissioningAnalysis () |
Private Attributes | |
float | error_ |
sistrip::Granularity | granularity_ |
float | max_ |
sistrip::RunType | runType_ |
float | sOnCut_ |
Friends | |
class | SamplingAlgorithm |
Additional Inherited Members | |
Public Types inherited from CommissioningAnalysis | |
typedef std::vector< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
typedef std::vector< VFloat > | VVFloat |
typedef std::vector< VInt > | VVInt |
Analysis for latency run.
Definition at line 17 of file SamplingAnalysis.h.
SamplingAnalysis::SamplingAnalysis | ( | const uint32_t & | key | ) |
Definition at line 14 of file SamplingAnalysis.cc.
SamplingAnalysis::SamplingAnalysis | ( | ) |
Definition at line 23 of file SamplingAnalysis.cc.
|
inlineoverride |
Definition at line 25 of file SamplingAnalysis.h.
float SamplingAnalysis::correctMeasurement | ( | float | mean, |
float | SoNcut = 3. |
||
) | const |
Definition at line 55 of file SamplingAnalysis.cc.
References limit(), and funct::pow().
Referenced by SamplingAlgorithm::correctProfile(), and getSoNcut().
|
inline |
Definition at line 31 of file SamplingAnalysis.h.
References error_.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag(), FineDelayHistosUsingDb::create(), and SamplingSummaryFactory::extract().
|
inline |
Definition at line 35 of file SamplingAnalysis.h.
References correctMeasurement(), limit(), SiStripPI::mean, print(), reset(), and sOnCut_.
|
inline |
float SamplingAnalysis::limit | ( | float | SoNcut | ) | const |
Definition at line 48 of file SamplingAnalysis.cc.
References funct::pow().
Referenced by correctMeasurement(), SamplingAlgorithm::correctProfile(), and getSoNcut().
|
inline |
Definition at line 29 of file SamplingAnalysis.h.
References max_.
Referenced by LatencyHistosUsingDb::create(), FineDelayHistosUsingDb::create(), SamplingSummaryFactory::extract(), and LatencyHistosUsingDb::update().
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 39 of file SamplingAnalysis.cc.
References error_, SiStripEnumsAndStrings::granularity(), granularity_, CommissioningAnalysis::header(), and max_.
Referenced by getSoNcut().
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 32 of file SamplingAnalysis.cc.
References error_, sistrip::invalid_, and max_.
Referenced by MatrixReader.MatrixReader::__init__(), getSoNcut(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 33 of file SamplingAnalysis.h.
References sOnCut_.
Referenced by SamplingHistograms::histoAnalysis().
|
friend |
Definition at line 27 of file SamplingAnalysis.h.
|
private |
Error on the position ( from the fit)
Definition at line 56 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), error(), print(), and reset().
|
private |
granularity
Definition at line 62 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::extract(), granularity(), and print().
|
private |
Delay corresponding to the maximum of the pulse shape
Definition at line 53 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), maximum(), print(), and reset().
|
private |
reconstruction mode
Definition at line 59 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), and SamplingAlgorithm::extract().
|
private |
s/n cut to be used
Definition at line 50 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), getSoNcut(), and setSoNcut().