3 #ifndef ALIL3TPCBEAMTESTMEMHANDLER_H
4 #define ALIL3TPCBEAMTESTMEMHANDLER_H
6 #include "AliL3MemHandler.h"
8 class AliL3TPCBeamTestMemHandler : public AliL3MemHandler{
11 AliL3TPCBeamTestMemHandler(Char_t *fPathToMappingFile="./MappingHWAdress.data");
12 virtual ~AliL3TPCBeamTestMemHandler();
14 void SetInputPointer(Short_t *ptr, Int_t s) {fInputPtr=ptr;fInputSize=s;}
15 void SetNTimeBins(Int_t i) {
16 fNTimeBins=i;AliL3Transform::SetNTimeBins(i);
18 void SetMinTimeBin(Int_t i) {
22 Int_t MappingGetPadRow(Int_t channel) {
24 if(channel < fNumOfChannels)
25 retval = fMapping[channel][2]-fRowMin;
31 Int_t MappingGetPad(Int_t channel) {
33 if(channel < fNumOfChannels)
34 retval = fMapping[channel][3];
40 AliL3DigitRowData* RawData2Memory(UInt_t &nrow,Int_t event=-1);
41 Bool_t RawData2CompBinary(Int_t event=-1);
47 Int_t fNDigits; //digits
48 Int_t *fPadPos; // pad position
51 Short_t **fMapping;//! // mapping of channels to pads
52 Short_t *fMappingEmptyRow;//! // helper field
53 Int_t fNumOfChannels; // number of channels
55 Short_t *fInputPtr;//! // input pointer from shared memory
56 Int_t fInputSize;//! // size of input data
57 RowStructure *fRows;//! // rows
58 Int_t fNTimeBins; // number of timebins
59 Int_t fMinTimeBin; // min timebin (not zero because of altro)
61 ClassDef(AliL3TPCBeamTestMemHandler,1) //RawData Filehandler class