PAASS
Software suite to Acquire and Analyze Data from Pixie16
MCA_DAMM Class Reference

#include <MCA_DAMM.h>

Inheritance diagram for MCA_DAMM:
Collaboration diagram for MCA_DAMM:

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...
 
- Public Member Functions inherited from MCA
 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

- Protected Attributes inherited from MCA
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 Protected Attributes inherited from MCA
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...
 

Detailed Description

Definition at line 8 of file MCA_DAMM.h.

Constructor & Destructor Documentation

§ MCA_DAMM()

MCA_DAMM::MCA_DAMM ( PixieInterface pif,
const char *  basename 
)

Definition at line 8 of file MCA_DAMM.cpp.

Here is the call graph for this function:

§ ~MCA_DAMM()

MCA_DAMM::~MCA_DAMM ( )

Definition at line 14 of file MCA_DAMM.cpp.

Member Function Documentation

§ Flush()

void MCA_DAMM::Flush ( )
inlinevirtual

Flush the current memory to disk.

Implements MCA.

Definition at line 16 of file MCA_DAMM.h.

§ OpenFile()

bool MCA_DAMM::OpenFile ( const char *  basename)
virtual

Abstract method to open a storage file.

Implements MCA.

Definition at line 18 of file MCA_DAMM.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ StoreData()

bool MCA_DAMM::StoreData ( int  mod,
int  ch 
)
virtual

Abstract method describing how the MCA data is stored.

Implements MCA.

Definition at line 33 of file MCA_DAMM.cpp.

Here is the call graph for this function:

Field Documentation

§ _histogram

HisDrr* MCA_DAMM::_histogram
private

Definition at line 10 of file MCA_DAMM.h.


The documentation for this class was generated from the following files: