GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BufferGANIL Class Reference

Simple Class thats decode Ganil DAQ format for simple VME module as QDC, ADC, TDC, etc... More...

#include <BufferGANIL.h>

Public Member Functions

 BufferGANIL (size_t s=16 *KBYTE)
 
Char_t * GetBuffer ()
 
const char * GetDate () const
 
int GetRun () const
 
bool InitReading ()
 
bool IsType (const char *)
 
unsigned short * NextEvent (unsigned short &)
 
void SetRun (int run)
 
 ~BufferGANIL ()
 

Static Public Member Functions

static const Char_t * GetModuleName (UShort_t add)
 
static void InitTable (Char_t *)
 
static void InitTable (TString &data)
 

Static Public Attributes

static const Int_t BYTE = 8
 
static const unsigned short fEndDataBlockToken = 0xFF00
 
static std::map< UShort_t,
TString > * 
fgMap = 0x0
 
static const unsigned short fStartEventToken = 0xFF60
 
static const Int_t GBYTE = 1024*1024*1024
 
static const Int_t KBYTE = 1024
 
static const Int_t MBYTE = 1024*1024
 

Detailed Description

Simple Class thats decode Ganil DAQ format for simple VME module as QDC, ADC, TDC, etc...

Write into a file the parameters reads from parameter buffer. Buffer are read out by 16kB wise. Only of the information are decoded and their place is hard coded. Up to the user to customized this class for getting more info. The InitReading reads block wise and return the sub event as short vector when the type of the event is EBYEDAT. This class is a simplified version of the BufferGanil class of GWGANIL library (author Olivier Stezowski)

Author
Christian Finck

Definition at line 21 of file BufferGANIL.h.


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