//#-*- Mode: c++ -*- #ifndef ALIALTRODECODER_H #define ALIALTRODECODER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ #include #define DDL_32BLOCK_SIZE 5 #define MAX_BRANCHES 2 #define MAX_FEE_PER_BRANCH 16 #define MAX_ALTROS_PER_FEE 8 #define CHANNELS_PER_ALTRO 16 #define MAX_SAMPLES_PER_CHANNEL 1024 #define ALTRO_TRAILER_SIZE 4 #define MAX_TRAILER_WORDS 3 class AliAltroData; class AliAltroDecoder: public TObject { public: /* *Default constructor **/ AliAltroDecoder(); /* *Default destructor **/ virtual ~AliAltroDecoder(); /* *Decode the RCU/DDL payload **/ Bool_t Decode(); /* *Reads the next altro channels **/ Bool_t NextChannel(AliAltroData *altroDataPtr); /* * DONT use ! * For debugging purphoses only, will be removed in near future **/ template void DumpData(T *array, Int_t N, Int_t nPerLine) { cout << "DumpData N= " << N <