ROOT logo
#ifndef AliTRDPTRGLUT_H
#define AliTRDPTRGLUT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

// --------------------------------------------------------
// 
// PTRG look up table definition
//
// --------------------------------------------------------

#include "TObject.h"

class AliRunLoader;

class AliTRDptrgLUT : public TObject {
 public:
  AliTRDptrgLUT();
  ~AliTRDptrgLUT();
  Int_t LookUp(UInt_t input); // execute a look up
  Int_t InitTable(Int_t inputWidth, Int_t outputWidth, Int_t *tableData, 
                  Bool_t copy); // load look up table
  Int_t GetInputWidth() { return fInputWidth; } // getter function
 protected:
  Int_t *fLUTData; // lut data storage
  Int_t fInputWidth; // bit width of the input vector
  Int_t fOutputWidth; // bit width of the output vector 
  Int_t fTableEntryCount; // table entry count
  Bool_t fCopiedTable; // indicates whether the look up table was copied
 private:
  AliTRDptrgLUT& operator=(const AliTRDptrgLUT &rhs); // not implemented
  AliTRDptrgLUT(const AliTRDptrgLUT &rhs); // not implemented

  ClassDef(AliTRDptrgLUT, 1);
};

#endif
 AliTRDptrgLUT.h:1
 AliTRDptrgLUT.h:2
 AliTRDptrgLUT.h:3
 AliTRDptrgLUT.h:4
 AliTRDptrgLUT.h:5
 AliTRDptrgLUT.h:6
 AliTRDptrgLUT.h:7
 AliTRDptrgLUT.h:8
 AliTRDptrgLUT.h:9
 AliTRDptrgLUT.h:10
 AliTRDptrgLUT.h:11
 AliTRDptrgLUT.h:12
 AliTRDptrgLUT.h:13
 AliTRDptrgLUT.h:14
 AliTRDptrgLUT.h:15
 AliTRDptrgLUT.h:16
 AliTRDptrgLUT.h:17
 AliTRDptrgLUT.h:18
 AliTRDptrgLUT.h:19
 AliTRDptrgLUT.h:20
 AliTRDptrgLUT.h:21
 AliTRDptrgLUT.h:22
 AliTRDptrgLUT.h:23
 AliTRDptrgLUT.h:24
 AliTRDptrgLUT.h:25
 AliTRDptrgLUT.h:26
 AliTRDptrgLUT.h:27
 AliTRDptrgLUT.h:28
 AliTRDptrgLUT.h:29
 AliTRDptrgLUT.h:30
 AliTRDptrgLUT.h:31
 AliTRDptrgLUT.h:32
 AliTRDptrgLUT.h:33
 AliTRDptrgLUT.h:34
 AliTRDptrgLUT.h:35
 AliTRDptrgLUT.h:36
 AliTRDptrgLUT.h:37
 AliTRDptrgLUT.h:38
 AliTRDptrgLUT.h:39