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

#include <Skeleton.hpp>

Inheritance diagram for skeletonUnpacker:
Collaboration diagram for skeletonUnpacker:

Public Member Functions

 skeletonUnpacker ()
 Default constructor. More...
 
 ~skeletonUnpacker ()
 Destructor. More...
 
- Public Member Functions inherited from Unpacker
 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)
 
ScanInterfaceSetInterface (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

- Protected Member Functions inherited from Unpacker
int ReadBuffer (unsigned int *buf)
 
- Protected Attributes inherited from Unpacker
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...
 
ScanInterfaceinterface
 The list of all events in the event window. More...
 

Detailed Description

Definition at line 13 of file Skeleton.hpp.

Constructor & Destructor Documentation

§ skeletonUnpacker()

skeletonUnpacker::skeletonUnpacker ( )
inline

Default constructor.

Definition at line 16 of file Skeleton.hpp.

§ ~skeletonUnpacker()

skeletonUnpacker::~skeletonUnpacker ( )
inline

Destructor.

Definition at line 19 of file Skeleton.hpp.

Here is the call graph for this function:

Member Function Documentation

§ ProcessRawEvent()

void skeletonUnpacker::ProcessRawEvent ( ScanInterface addr_ = NULL)
privatevirtual

Process all events in the event list.

Parameters
[in]addr_Pointer to a ScanInterface object.
Returns
Nothing.

Process all events in the event list.

Parameters
[in]addr_Pointer to a location in memory.
Returns
Nothing.

Reimplemented from Unpacker.

Definition at line 30 of file Skeleton.cpp.

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

§ RawStats()

virtual void skeletonUnpacker::RawStats ( XiaData event_,
ScanInterface addr_ = NULL 
)
inlineprivatevirtual

Add an event to generic statistics output.

Parameters
[in]event_Pointer to the current XIA event.
[in]addr_Pointer to a ScanInterface object.
Returns
Nothing.

Reimplemented from Unpacker.

Definition at line 33 of file Skeleton.hpp.


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