|
Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
Class to store statistics data from data stream in original format. More...
#include <StatsData.hpp>

Public Member Functions | |
| StatsData (void) | |
| ~StatsData () | |
| void | DoStatisticsBlock (pixie::word_t *buf, int vsn) |
| double | GetCurrTime (unsigned int id) const |
| double | GetDiffPeaks (unsigned int id) const |
| double | GetDiffTime (unsigned int id) const |
| double | GetRealTime (unsigned int mod=0) const |
Static Public Attributes | |
| static const pixie::word_t | headerLength = 1 |
| the header length | |
Private Attributes | |
| double | firstTime |
| pixie::word_t | oldData [maxVsn][statSize] |
| pixie::word_t | data [maxVsn][statSize] |
Static Private Attributes | |
| static const size_t | statSize = N_DSP_PAR - DSP_IO_BORDER |
| Size of the start. | |
| static const size_t | maxVsn = 14 |
| maximum value of the vsn | |
Class to store statistics data from data stream in original format.
| StatsData::StatsData | ( | void | ) |
Default Constructor that clears the data structures
|
inline |
Default Destructor
| void StatsData::DoStatisticsBlock | ( | pixie::word_t * | buf, |
| int | vsn | ||
| ) |
Copy the statistics data from the data stream to a memory block, preserving a copy of the old statistics data so that the incremental change can be determined
| [in] | buf | : the buffer to get the stats from |
| [in] | vsn | : the vsn of the buffer |
| double StatsData::GetCurrTime | ( | unsigned int | id | ) | const |
| [in] | id | : the id you want the time for |
| double StatsData::GetDiffPeaks | ( | unsigned int | id | ) | const |
| [in] | id | : the id you want the different peaks from |
| double StatsData::GetDiffTime | ( | unsigned int | id | ) | const |
| [in] | id | : the id you want the time diff for |
| double StatsData::GetRealTime | ( | unsigned int | mod = 0 | ) | const |
| [in] | mod | : the module you want the time for |
|
private |
Statistics data from each module
|
private |
Store the time of the first statistics block
|
private |
Older statistics data to calculate the change in statistics