Protection against wrong trigger bc mask pattern
[u/mrichter/AliRoot.git] / T0 / AliT0CalibWalk.h
CommitLineData
a2ad8166 1#ifndef AliT0CalibWalk_H
2#define AliT0CalibWalk_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7////////////////////////////////////////////////
8// class for T0 calibration //
9////////////////////////////////////////////////
10
11#include "TNamed.h"
12#include "TGraph.h"
13#include "TObjArray.h"
14
15class AliT0CalibWalk: public TNamed {
16
17 public:
18 AliT0CalibWalk();
19 AliT0CalibWalk(const char* name);
20 AliT0CalibWalk(const AliT0CalibWalk &calibda);
21 AliT0CalibWalk& operator= (const AliT0CalibWalk &calibda);
22 virtual ~AliT0CalibWalk();
23
24
083f0bec 25 TGraph *GetWalk(Int_t ipmt ) const {return (TGraph*)fWalk.At(ipmt);}
a2ad8166 26 void SetWalk(Int_t ipmt) ;
c883fdf2 27 TObjArray* GetfWalk() {return &fWalk;}
28
29 TGraph *GetQTC(Int_t ipmt ) const {return (TGraph*)fQTC.At(ipmt);}
30 // void SetQTC(Int_t ipmt) ;
31
32 TGraph *GetAmpLED(Int_t ipmt ) const {return (TGraph*)fAmpLED.At(ipmt);}
33 // void SetAmpLED(Int_t ipmt) ;
34
a2ad8166 35 void MakeWalkCorrGraph(const char *laserFile);
36
c883fdf2 37
a2ad8166 38
39 TGraph * GetAmpLEDRec(Int_t ipmt) const {return (TGraph*)fAmpLEDRec.At(ipmt);}
a2ad8166 40 void SetAmpLEDRec(Int_t ipmt) ;
a2ad8166 41
42 protected:
43
44 TObjArray fWalk; //time - amp. walk
45 TObjArray fAmpLEDRec; //time - amp. LED-CFD for reconstruction
c883fdf2 46 TObjArray fQTC; //time - amp. walk
47 TObjArray fAmpLED; //time - amp. LED-CFD for reconstruction
48
a2ad8166 49 //
c883fdf2 50 ClassDef(AliT0CalibWalk,2) // T0 Sensor Calibration data
a2ad8166 51 };
52
53 typedef AliT0CalibWalk AliSTARTCalibWalk; // for backward compatibility
54
55#endif
56