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

#include <ReadMezzAFP.h>

Inheritance diagram for ReadMezzAFP:

Public Member Functions

virtual Int_t AttachInput (FrameBlock *, Int_t=-1)
 Attach a block as input for a given slot number. More...
 
virtual Int_t AttachOutput (FrameBlock *block, Int_t slot=-1)
 Attach a block as output for a given slot number. More...
 
const std::string & GetConfPath ()
 To get the algo path associated with the current actor. More...
 
FrameIO & GetFrameIO ()
 
virtual Int_t GetMaxInput () const
 for this actor, it gives the max number of entry lines it can handle (max included). More...
 
virtual Int_t GetMaxOutput () const
 for this actor, it gives the max number of output lines it can handle ==> Only one for a producer More...
 
virtual Int_t GetNbInput () const
 for this actor, it gives the current number of entry lines attached. More...
 
virtual Int_t GetNbOutput () const
 for this actor, it gives the current number of entry lines attached. More...
 
UInt_t GetPID () const
 To get the ID number for that algorithm. More...
 
bool IsUsingFiler ()
 
void PrintStats ()
 
virtual void process_block (void *output_buffer, UInt_t size_of_output_buffer, UInt_t *used_size_of_output_buffer, UInt_t *error_code)
 Ask the algorithm to process the data block. More...
 
virtual void process_initialise (unsigned int *error_code)
 Constructor implementation. More...
 
virtual void process_initialise (UInt_t *error_code)=0
 To init the internal values (real constructor) More...
 
virtual void process_pause (UInt_t *error_code)
 This method is called every time the system pauses data acquisition. More...
 
virtual void process_reset (unsigned int *error_code)
 Destructor implementation. More...
 
virtual void process_reset (UInt_t *error_code)=0
 To reset the internal values (real destructor) More...
 
virtual void process_resume (UInt_t *error_code)
 this method is called every time the system resumes data acquisition More...
 
virtual void process_start (UInt_t *error_code)
 This method is called every time the daq starts. More...
 
virtual void process_stop (UInt_t *error_code)
 This method is called every time the daq stops. More...
 
virtual unsigned int ProcessBlock (ADF::FrameBlock &)
 Produce one block of data. More...
 
virtual UInt_t ProcessBlocks ()
 process blocks attached by AttachInput/AttachOutput. No need to overwrite it if ProcessBlock(FrameBlock &). Otherwise both are to be implemented. More...
 
 ReadMezzAFP ()
 
void ResetStats ()
 
virtual ~ReadMezzAFP ()
 

Static Public Member Functions

static std::string GetGlobalConfPath ()
 global conf path keep since passed in static method and needed in init method More...
 
static Int_t GetGlobalParameter (const char *name, UShort_t &val)
 to get from narval a parameter () ... IS IT mandatory to have there a static method ???? More...
 
static Int_t GetGlobalParameter (const char *name, Int_t &val)
 
static Int_t GetGlobalParameter (const char *name, std::string &val)
 
static void process_config (const char *, unsigned int *)
 to init globals (static) from a directory More...
 
static void process_config (const Char_t *, UInt_t *, Short_t do_adf_conf=0)
 Have to be overwritten and called in your implementation. More...
 
static void process_config (const Char_t *, UInt_t *)
 Have to be overwritten and called in your implementation. More...
 
static Int_t SetGlobalParameter (const char *name, const UShort_t &)
 
static Int_t SetGlobalParameter (const char *name, const std::string &)
 

Static Public Attributes

static const int kNCC = ADF::CrystalInterface::kNbCores
 
static const int kNSG = ADF::CrystalInterface::kNbSegments
 

Protected Member Functions

virtual ConfAgent * GetConfAgent () const
 
bool NewFile ()
 
void NextKeyToFind ()
 
int ReadEvent ()
 

Protected Attributes

float CoreE [kNCC]
 
unsigned short CoreID [kNSG]
 
ADF::GeCorecoreMezz
 
unsigned short CoreStatus [kNSG]
 
unsigned short * CoreTraces [kNCC]
 
unsigned short crystal_id
 
unsigned short crystal_status
 
unsigned int evnumber
 
ADF::SharedFPfFrameCrystal_Out
 
FrameIO fFrameIO
 Frame IO ... should be private ... More...
 
unsigned long long FirstTimeStamp
 
ADF::BufferIOfKeyFilterBuffer
 
FILE * fKeyFilterFile
 
ADF::AgataKeyfKeyToLink
 
bool fLastKeyIsRead
 
unsigned int fNextEvtNbr
 
unsigned long long fNextTS
 
unsigned int fTraceLengthRaw
 
ADF::AgataFrameTrigger fTrigger
 
bool fUseKeyFilter
 
Version fVersion
 Algo version (used to check determine suitable frame version ?) More...
 
unsigned long long LastTimeStamp
 
LogMessage Log
 to send messages to the log server More...
 
float SegE [kNSG]
 
unsigned short SegID [kNSG]
 
unsigned short * SegmentTraces [kNSG]
 
ADF::GeSegmentsegMezz
 
unsigned short SegStatus [kNSG]
 
unsigned long long timestamp
 

Static Protected Attributes

static const int mezzanineChanHeader = 8
 
static const int mezzanineMezzHeader = 16
 Trigger for the input frame. More...
 
static const int MIN_1x6 = -32
 
static const int TOK_BINSIZE = 32
 

Detailed Description

Definition at line 43 of file ReadMezzAFP.h.


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