1 #ifndef AliT0CalibWalk_H
2 #define AliT0CalibWalk_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////
8 // class for T0 amplitude calibration //
9 ////////////////////////////////////////////////
13 #include "TObjArray.h"
15 class AliT0CalibWalk: public TNamed {
19 AliT0CalibWalk(const char* name);
20 AliT0CalibWalk(const AliT0CalibWalk &calibda);
21 AliT0CalibWalk& operator= (const AliT0CalibWalk &calibda);
22 virtual ~AliT0CalibWalk();
25 TGraph *GetWalk(Int_t ipmt ) const {return (TGraph*)fWalk.At(ipmt);}
26 TObjArray* GetfWalk() {return &fWalk;}
28 TGraph *GetQTC(Int_t ipmt ) const {return (TGraph*)fQTC.At(ipmt);}
30 TGraph *GetAmpLED(Int_t ipmt ) const {return (TGraph*)fAmpLED.At(ipmt);}
32 Bool_t MakeWalkCorrGraph(const char *laserFile);
36 TGraph * GetAmpLEDRec(Int_t ipmt) const {return (TGraph*)fAmpLEDRec.At(ipmt);}
40 TObjArray fWalk; //time - amp. walk
41 TObjArray fAmpLEDRec; //time - amp. LED-CFD for reconstruction
42 TObjArray fQTC; //time - amp. walk
43 TObjArray fAmpLED; //time - amp. LED-CFD for reconstruction
46 ClassDef(AliT0CalibWalk,5) // T0 Amplitude Calibration data
49 typedef AliT0CalibWalk AliSTARTCalibWalk; // for backward compatibility