Fixes in order to write correct raw-data on big-endian platforms (Marco)
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibrator.h
1 #ifndef ALIPMDCALIBRATOR_H
2 #define ALIPMDCALIBRATOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 class TTask;
7 class TObjArray;
8 class TH1F;  
9
10 class AliPMDCalibData;
11
12 class AliPMDCalibrator
13 {
14  public:
15   AliPMDCalibrator() ;              // ctor
16   AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator);  // copy constructor
17   AliPMDCalibrator &operator=(const AliPMDCalibrator &pmdcalibrator); // assignment op
18
19   virtual ~AliPMDCalibrator() ;     // dtor
20   virtual void Exec();
21   void CalculateIsoCell();          //calculates gains
22   void Init();
23   Bool_t Store();
24   
25  private:
26   Float_t fGainFact[2][24][96][96];
27   TH1F *fHsmIso[2][24];             //histos of isolated cell modulewise
28   TH1F *fHadcIso[2][24][96][96];    // histos of isolated cells cellwise
29   AliPMDCalibData *fCalibData;
30
31 ClassDef(AliPMDCalibrator,2)        // description 
32 };
33 #endif // AliPMDCALIBRATOR_H