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) |
void | reset () |
const float & | rms () const |
virtual | ~DaqScopeModeAnalysis () |
Private Attributes | |
float | entries_ |
float | max_ |
float | mean_ |
float | median_ |
float | min_ |
float | mode_ |
float | rms_ |
Friends | |
class | DaqScopeModeAlgorithm |
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.
: CommissioningAnalysis(key,"DaqScopeModeAnalysis"), entries_(sistrip::invalid_), mean_(sistrip::invalid_), median_(sistrip::invalid_), mode_(sistrip::invalid_), rms_(sistrip::invalid_), min_(sistrip::invalid_), max_(sistrip::invalid_) {;}
DaqScopeModeAnalysis::DaqScopeModeAnalysis | ( | ) |
Definition at line 26 of file DaqScopeModeAnalysis.cc.
: CommissioningAnalysis("DaqScopeModeAnalysis"), entries_(sistrip::invalid_), mean_(sistrip::invalid_), median_(sistrip::invalid_), mode_(sistrip::invalid_), rms_(sistrip::invalid_), min_(sistrip::invalid_), max_(sistrip::invalid_) {;}
virtual DaqScopeModeAnalysis::~DaqScopeModeAnalysis | ( | ) | [inline, virtual] |
Definition at line 24 of file DaqScopeModeAnalysis.h.
{;}
const float & DaqScopeModeAnalysis::entries | ( | ) | const [inline] |
const float & DaqScopeModeAnalysis::max | ( | ) | const [inline] |
const float & DaqScopeModeAnalysis::mean | ( | ) | const [inline] |
const float & DaqScopeModeAnalysis::median | ( | ) | const [inline] |
const float & DaqScopeModeAnalysis::min | ( | ) | const [inline] |
const float & DaqScopeModeAnalysis::mode | ( | ) | const [inline] |
void DaqScopeModeAnalysis::print | ( | std::stringstream & | , |
uint32_t | not_used = 0 |
||
) | [virtual] |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 51 of file DaqScopeModeAnalysis.cc.
References entries_, CommissioningAnalysis::header(), max_, mean_, median_, min_, mode_, and rms_.
void DaqScopeModeAnalysis::reset | ( | ) | [virtual] |
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_.
{ entries_ = 1. * sistrip::invalid_; mean_ = 1.*sistrip::invalid_; median_ = 1.*sistrip::invalid_; mode_ = 1.*sistrip::invalid_; rms_ = 1.*sistrip::invalid_; min_ = 1.*sistrip::invalid_; max_ = 1.*sistrip::invalid_; }
const float & DaqScopeModeAnalysis::rms | ( | ) | const [inline] |
friend class DaqScopeModeAlgorithm [friend] |
Definition at line 26 of file DaqScopeModeAnalysis.h.
float DaqScopeModeAnalysis::entries_ [private] |
Definition at line 48 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), entries(), print(), and reset().
float DaqScopeModeAnalysis::max_ [private] |
Definition at line 60 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), max(), print(), and reset().
float DaqScopeModeAnalysis::mean_ [private] |
Definition at line 50 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), mean(), print(), and reset().
float DaqScopeModeAnalysis::median_ [private] |
Definition at line 52 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), median(), print(), and reset().
float DaqScopeModeAnalysis::min_ [private] |
Definition at line 58 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), min(), print(), and reset().
float DaqScopeModeAnalysis::mode_ [private] |
Definition at line 54 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), mode(), print(), and reset().
float DaqScopeModeAnalysis::rms_ [private] |
Definition at line 56 of file DaqScopeModeAnalysis.h.
Referenced by DaqScopeModeAlgorithm::analyse(), print(), reset(), and rms().