1 #ifndef AliTRDPTRGLUT_H
2 #define AliTRDPTRGLUT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 // --------------------------------------------------------
10 // PTRG look up table definition
12 // --------------------------------------------------------
18 class AliTRDptrgLUT : public TObject {
22 Int_t LookUp(UInt_t input); // execute a look up
23 Int_t InitTable(Int_t inputWidth, Int_t outputWidth, Int_t *tableData,
24 Bool_t copy); // load look up table
25 Int_t GetInputWidth() { return fInputWidth; } // getter function
27 Int_t *fLUTData; // lut data storage
28 Int_t fInputWidth; // bit width of the input vector
29 Int_t fOutputWidth; // bit width of the output vector
30 Int_t fTableEntryCount; // table entry count
31 Bool_t fCopiedTable; // indicates whether the look up table was copied
33 AliTRDptrgLUT& operator=(const AliTRDptrgLUT &rhs); // not implemented
34 AliTRDptrgLUT(const AliTRDptrgLUT &rhs); // not implemented
36 ClassDef(AliTRDptrgLUT, 1);