Analysis for scope mode data. More...
#include <DaqScopeModeAnalysis.h>
Public Member Functions | |
DaqScopeModeAnalysis (const uint32_t &key) | |
DaqScopeModeAnalysis () | |
const float & | entries () const |
const float & | max () const |
const float & | mean () const |
const float & | median () const |
const float & | min () const |
const float & | mode () const |
void | print (std::stringstream &, uint32_t not_used=0) override |
void | reset () override |
const float & | rms () const |
~DaqScopeModeAnalysis () 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 | entries_ |
float | max_ |
float | mean_ |
float | median_ |
float | min_ |
float | mode_ |
float | rms_ |
Friends | |
class | DaqScopeModeAlgorithm |
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 scope mode data.
Definition at line 16 of file DaqScopeModeAnalysis.h.
DaqScopeModeAnalysis::DaqScopeModeAnalysis | ( | const uint32_t & | key | ) |
Definition at line 13 of file DaqScopeModeAnalysis.cc.
DaqScopeModeAnalysis::DaqScopeModeAnalysis | ( | ) |
Definition at line 26 of file DaqScopeModeAnalysis.cc.
|
inlineoverride |
Definition at line 24 of file DaqScopeModeAnalysis.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 51 of file DaqScopeModeAnalysis.cc.
References entries_, CommissioningAnalysis::header(), max_, mean_, median_, min_, mode_, and rms_.
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 39 of file DaqScopeModeAnalysis.cc.
References entries_, sistrip::invalid_, max_, mean_, median_, min_, mode_, and rms_.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
|
friend |
Definition at line 26 of file DaqScopeModeAnalysis.h.
|
private |
Definition at line 48 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), entries(), print(), and reset().
|
private |
Definition at line 60 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), max(), print(), and reset().
|
private |
Definition at line 50 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), mean(), print(), and reset().
|
private |
Definition at line 52 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), median(), print(), and reset().
|
private |
Definition at line 58 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), min(), print(), and reset().
|
private |
Definition at line 54 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), mode(), print(), and reset().
|
private |
Definition at line 56 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), print(), reset(), and rms().