PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
#include <MCA_DAMM.h>
Public Member Functions | |
MCA_DAMM (PixieInterface *pif, const char *basename) | |
~MCA_DAMM () | |
bool | OpenFile (const char *basename) |
Abstract method to open a storage file. More... | |
bool | StoreData (int mod, int ch) |
Abstract method describing how the MCA data is stored. More... | |
void | Flush () |
Flush the current memory to disk. More... | |
![]() | |
MCA (PixieInterface *pif) | |
Default constructor. More... | |
virtual | ~MCA () |
Default destructor. More... | |
double | GetRunTime () |
Return the length of time the MCA has been running. More... | |
virtual bool | IsOpen () |
Check if the histogram construction was successful. More... | |
virtual void | Run (float duration, bool *stop=NULL) |
Start the MCA running. More... | |
virtual bool | Step () |
Update the MCA histograms. More... | |
Private Attributes | |
HisDrr * | _histogram |
Additional Inherited Members | |
![]() | |
time_t | start_time |
Timers for the MCA object. More... | |
time_t | stop_time |
bool | _isOpen |
Flag indicating if histogram construction was successful. More... | |
PixieInterface * | _pif |
Pointer to the PixieInterface. More... | |
![]() | |
static const size_t | HIS_SIZE = 16384 |
Default number of bins in histogram. More... | |
static const size_t | ADC_SIZE = 32768 |
Default number of channels in ADC. More... | |
Definition at line 8 of file MCA_DAMM.h.
MCA_DAMM::MCA_DAMM | ( | PixieInterface * | pif, |
const char * | basename | ||
) |
MCA_DAMM::~MCA_DAMM | ( | ) |
Definition at line 14 of file MCA_DAMM.cpp.
|
inlinevirtual |
|
virtual |
Abstract method to open a storage file.
Implements MCA.
Definition at line 18 of file MCA_DAMM.cpp.
|
virtual |
Abstract method describing how the MCA data is stored.
Implements MCA.
Definition at line 33 of file MCA_DAMM.cpp.
|
private |
Definition at line 10 of file MCA_DAMM.h.