adding some cuts for systematic study
[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////////////////////////////////////////////////
8f1790c4 8// class for T0 amplitude calibration //
a2ad8166 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);}
c883fdf2 26 TObjArray* GetfWalk() {return &fWalk;}
27
ebe8d8de 28 TGraph *GetQTC(Int_t ipmt ) const {return (TGraph*)fQTC.At(ipmt);}
29 TGraph *GetAmpLED(Int_t ipmt ) const {return (TGraph*)fAmpLED.At(ipmt);}
d95247c3 30 Bool_t MakeWalkCorrGraph(const char *laserFile);
a2ad8166 31 TGraph * GetAmpLEDRec(Int_t ipmt) const {return (TGraph*)fAmpLEDRec.At(ipmt);}
ebe8d8de 32 void GetMeanAndSigma(TH1F* hist, Float_t &mean, Float_t &sigma);
d0f0bf2a 33 void SetCalibByData(Bool_t calib) {fCalibByData=calib;}
a2ad8166 34 protected:
35
36 TObjArray fWalk; //time - amp. walk
8f1790c4 37 TObjArray fAmpLEDRec; //time - amp. LED-CFD for reconstruction
c883fdf2 38 TObjArray fQTC; //time - amp. walk
8f1790c4 39 TObjArray fAmpLED; //time - amp. LED-CFD for reconstruction
d0f0bf2a 40 Bool_t fCalibByData;
a2ad8166 41 //
d0f0bf2a 42 ClassDef(AliT0CalibWalk,6) // T0 Amplitude Calibration data
a2ad8166 43 };
44
45 typedef AliT0CalibWalk AliSTARTCalibWalk; // for backward compatibility
46
47#endif
48