1 #ifndef ALITRDPRFINFO_H
2 #define ALITRDPRFINFO_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDPrfInfo.h 27946 2008-08-13 15:26:24Z cblume $ */
8 //////////////////////////////////////////////////
10 // TRD calibration base class for one ROC //
12 //////////////////////////////////////////////////
17 //_____________________________________________________________________________
18 class AliTRDPrfInfo : public TObject
24 AliTRDPrfInfo(Int_t n);
25 AliTRDPrfInfo(const AliTRDPrfInfo &c);
26 virtual ~AliTRDPrfInfo();
27 AliTRDPrfInfo &operator=(const AliTRDPrfInfo &c);
28 virtual void Copy(TObject &c) const;
30 Int_t GetSize() const { return fSize; };
31 Float_t At(Int_t bin) const { return (Float_t) (fData[bin]/255.0); };
33 void AddAt(Float_t value, Int_t bin) { fData[bin] = (UChar_t) (value*255.0); };
34 void SetSize(Int_t size);
39 UChar_t *fData; //[fSize] Data
41 ClassDef(AliTRDPrfInfo, 2)