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 () | |
SamplingAnalysis (const uint32_t &key) | |
void | setSoNcut (const float sOnCut) |
~SamplingAnalysis () override | |
Public Member Functions inherited from CommissioningAnalysis | |
virtual void | addErrorCode (const std::string &error) |
CommissioningAnalysis (const std::string &my_name) | |
CommissioningAnalysis (const uint32_t &key, 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< bool > | VBool |
typedef std::vector< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
typedef std::vector< VBool > | VVBool |
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 21 of file SamplingAnalysis.cc.
|
inlineoverride |
Definition at line 23 of file SamplingAnalysis.h.
float SamplingAnalysis::correctMeasurement | ( | float | mean, |
float | SoNcut = 3. |
||
) | const |
Definition at line 50 of file SamplingAnalysis.cc.
References limit(), SiStripPI::mean, and funct::pow().
Referenced by SamplingAlgorithm::correctProfile().
|
inline |
Definition at line 29 of file SamplingAnalysis.h.
References error_.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
inline |
|
inline |
float SamplingAnalysis::limit | ( | float | SoNcut | ) | const |
Definition at line 44 of file SamplingAnalysis.cc.
References funct::pow().
Referenced by correctMeasurement(), and SamplingAlgorithm::correctProfile().
|
inline |
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 35 of file SamplingAnalysis.cc.
References error_, SiStripEnumsAndStrings::granularity(), granularity_, CommissioningAnalysis::header(), max_, and contentValuesCheck::ss.
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 28 of file SamplingAnalysis.cc.
References error_, sistrip::invalid_, and max_.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
|
friend |
Definition at line 25 of file SamplingAnalysis.h.
|
private |
Error on the position ( from the fit)
Definition at line 53 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), error(), print(), and reset().
|
private |
granularity
Definition at line 59 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::extract(), granularity(), and print().
|
private |
Delay corresponding to the maximum of the pulse shape
Definition at line 50 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), maximum(), print(), and reset().
|
private |
reconstruction mode
Definition at line 56 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), and SamplingAlgorithm::extract().
|
private |
s/n cut to be used
Definition at line 47 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), getSoNcut(), and setSoNcut().