|
Jpp
15.0.1-rc.1-highqe
the software that should make you happy
|
Data storage class for rate measurement of one PMT. More...
#include <JDAQSummaryFrame.hh>
Public Types | |
| typedef unsigned char | JRate_t |
Public Member Functions | |
| JDAQRate () | |
| Default constructor. More... | |
| JRate_t | getValue () const |
| Get value. More... | |
| void | setValue (const int numberOfHits, const double frameTime_ns) |
| Set value. More... | |
| void | setValue (const double rate_Hz) |
| Set value. More... | |
| double | getRate () const |
| Get count rate. More... | |
| double | getWeight () const |
| Get weight. More... | |
| JDAQRate & | mul (const double factor) |
| Scale rate. More... | |
| JDAQRate & | div (const double factor) |
| Scale rate. More... | |
Static Public Member Functions | |
| static double | getMinimalRate () |
| Get minimal rate (below this, value is set to zero) More... | |
| static double | getMaximalRate () |
| Get maximal rate (above this, value is set to maximum) More... | |
| static JRate_t | getValue (const int numberOfHits, const double frameTime_ns) |
| Get value. More... | |
| static JRate_t | getValue (const double rate_Hz) |
| Get value. More... | |
| static double | getRate (const JRate_t value) |
| Get count rate. More... | |
| static double | getWeight (const JRate_t value) |
| Get weight. More... | |
| static int | getN () |
| Get number of bins. More... | |
| static const double * | getData (const double factor=1.0) |
| Get abscissa values. More... | |
Protected Attributes | |
| JRate_t | value |
Static Private Member Functions | |
| static const double | getFactor () |
| Get conversion factor. More... | |
| static double | get_rate (const double value) |
| Get count rate. More... | |
Friends | |
| class | JDAQSummaryFrame |
Data storage class for rate measurement of one PMT.
Note that the rate value is compressed. The number of bins and corresponding abscissa values can be obtained with methods JDAQRare::getN and JDAQRate::getData, respectively.
Definition at line 36 of file JDAQSummaryFrame.hh.
| typedef unsigned char KM3NETDAQ::JDAQRate::JRate_t |
Definition at line 42 of file JDAQSummaryFrame.hh.
|
inline |
|
inlinestatic |
Get minimal rate (below this, value is set to zero)
Definition at line 50 of file JDAQSummaryFrame.hh.
|
inlinestatic |
Get maximal rate (above this, value is set to maximum)
Definition at line 61 of file JDAQSummaryFrame.hh.
|
inlinestatic |
Get value.
| numberOfHits | number of hits |
| frameTime_ns | frame time [ns] |
Definition at line 74 of file JDAQSummaryFrame.hh.
|
inlinestatic |
Get value.
| rate_Hz | rate [Hz] |
Definition at line 86 of file JDAQSummaryFrame.hh.
|
inlinestatic |
Get count rate.
| value | value |
Definition at line 103 of file JDAQSummaryFrame.hh.
|
inlinestatic |
Get weight.
| value | value |
Definition at line 118 of file JDAQSummaryFrame.hh.
|
inlinestatic |
|
inlinestatic |
Get abscissa values.
| factor | scaling factor |
Definition at line 150 of file JDAQSummaryFrame.hh.
|
inline |
|
inline |
Set value.
| numberOfHits | number of hits |
| frameTime_ns | frame time [ns] |
Definition at line 193 of file JDAQSummaryFrame.hh.
|
inline |
Set value.
| rate_Hz | rate [Hz] |
Definition at line 204 of file JDAQSummaryFrame.hh.
|
inline |
Get count rate.
Definition at line 215 of file JDAQSummaryFrame.hh.
|
inline |
Get weight.
Definition at line 226 of file JDAQSummaryFrame.hh.
|
inline |
Scale rate.
| factor | multiplication factor |
Definition at line 238 of file JDAQSummaryFrame.hh.
|
inline |
Scale rate.
| factor | multiplication factor |
Definition at line 252 of file JDAQSummaryFrame.hh.
|
inlinestaticprivate |
Get conversion factor.
Definition at line 270 of file JDAQSummaryFrame.hh.
|
inlinestaticprivate |
Get count rate.
| value | value |
Definition at line 282 of file JDAQSummaryFrame.hh.
|
friend |
Definition at line 39 of file JDAQSummaryFrame.hh.
|
protected |
Definition at line 261 of file JDAQSummaryFrame.hh.
1.8.5