PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
#include <PixieInterface.h>
Public Types | |
enum | ErrorTypes { NO_ERROR, ERROR_SUBTRACT, ERROR_READ, ERROR_WRITE } |
Public Member Functions | |
Histogram () | |
Histogram (const Histogram &x) | |
const Histogram & | operator= (const Histogram &right) |
Histogram | operator+ (const Histogram &right) |
Histogram | operator- (const Histogram &right) |
const Histogram & | operator+= (const Histogram &right) |
const Histogram & | operator-= (const Histogram &right) |
ErrorTypes | GetError (void) const |
void | ClearError (void) |
bool | Read (PixieInterface &pif, unsigned int mod, unsigned int ch) |
bool | Write (std::ofstream &file) |
Private Attributes | |
word_t | data [HISTO_SIZE] |
ErrorTypes | error |
Definition at line 68 of file PixieInterface.h.
Enumerator | |
---|---|
NO_ERROR | |
ERROR_SUBTRACT | |
ERROR_READ | |
ERROR_WRITE |
Definition at line 70 of file PixieInterface.h.
PixieInterface::Histogram::Histogram | ( | ) |
Definition at line 26 of file PixieInterface.cpp.
PixieInterface::Histogram::Histogram | ( | const Histogram & | x | ) |
Definition at line 31 of file PixieInterface.cpp.
|
inline |
|
inline |
Definition at line 80 of file PixieInterface.h.
PixieInterface::Histogram PixieInterface::Histogram::operator+ | ( | const Histogram & | right | ) |
Definition at line 43 of file PixieInterface.cpp.
const PixieInterface::Histogram & PixieInterface::Histogram::operator+= | ( | const Histogram & | right | ) |
Definition at line 70 of file PixieInterface.cpp.
PixieInterface::Histogram PixieInterface::Histogram::operator- | ( | const Histogram & | right | ) |
Definition at line 54 of file PixieInterface.cpp.
const PixieInterface::Histogram & PixieInterface::Histogram::operator-= | ( | const Histogram & | right | ) |
Definition at line 75 of file PixieInterface.cpp.
const PixieInterface::Histogram & PixieInterface::Histogram::operator= | ( | const Histogram & | right | ) |
Definition at line 36 of file PixieInterface.cpp.
bool PixieInterface::Histogram::Read | ( | PixieInterface & | pif, |
unsigned int | mod, | ||
unsigned int | ch | ||
) |
Definition at line 80 of file PixieInterface.cpp.
bool PixieInterface::Histogram::Write | ( | std::ofstream & | file | ) |
|
private |
Definition at line 85 of file PixieInterface.h.
|
private |
Definition at line 86 of file PixieInterface.h.