PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
#include <Skeleton.hpp>
Public Member Functions | |
skeletonUnpacker () | |
Default constructor. More... | |
~skeletonUnpacker () | |
Destructor. More... | |
![]() | |
Unpacker () | |
Default constructor. More... | |
virtual | ~Unpacker () |
Destructor. More... | |
size_t | GetMaxModule () |
Return the maximum module read from the input file. More... | |
unsigned int | GetNumRawEvents () |
Return the number of raw events read from the file. More... | |
double | GetEventWidth () |
Return the width of the raw event window in pixie16 clock ticks. More... | |
double | GetFirstTime () |
Return the time of the first fired channel event. More... | |
double | GetEventStartTime () |
Get the start time of the current raw event. More... | |
double | GetEventStopTime () |
Get the stop time of the current raw event. More... | |
double | GetRealStartTime () |
Get the time of the first xia event in the raw event. More... | |
double | GetRealStopTime () |
Get the time of the last xia event in the raw event. More... | |
bool | IsRunning () |
Return true if the scan is running and false otherwise. More... | |
bool | SetDebugMode (bool state_=true) |
Toggle debug mode on / off. More... | |
double | SetEventWidth (double width_) |
Set the width of events in pixie16 clock ticks. More... | |
void | InitializeDataMask (const std::string &firmware, const unsigned int &frequency) |
ScanInterface * | SetInterface (ScanInterface *interface_) |
Set the address of the scan interface used for file operations. More... | |
bool | ReadSpill (unsigned int *data, unsigned int nWords, bool is_verbose=true) |
void | Write () |
void | Stop () |
void | Run () |
Private Member Functions | |
virtual void | ProcessRawEvent (ScanInterface *addr_=NULL) |
virtual void | RawStats (XiaData *event_, ScanInterface *addr_=NULL) |
Additional Inherited Members | |
![]() | |
int | ReadBuffer (unsigned int *buf) |
![]() | |
XiaListModeDataMask | mask_ |
double | eventWidth |
bool | debug_mode |
The width of the raw event in pixie clock ticks (8 ns). More... | |
bool | running |
True if debug mode is set. More... | |
std::vector< std::deque< XiaData * > > | eventList |
True if the scan is running. More... | |
std::deque< XiaData * > | rawEvent |
The list of all events in a spill. More... | |
ScanInterface * | interface |
The list of all events in the event window. More... | |
Definition at line 13 of file Skeleton.hpp.
|
inline |
Default constructor.
Definition at line 16 of file Skeleton.hpp.
|
inline |
|
privatevirtual |
Process all events in the event list.
[in] | addr_ | Pointer to a ScanInterface object. |
Process all events in the event list.
[in] | addr_ | Pointer to a location in memory. |
Reimplemented from Unpacker.
Definition at line 30 of file Skeleton.cpp.
|
inlineprivatevirtual |
Add an event to generic statistics output.
[in] | event_ | Pointer to the current XIA event. |
[in] | addr_ | Pointer to a ScanInterface object. |
Reimplemented from Unpacker.
Definition at line 33 of file Skeleton.hpp.