Script supersceeded by AliForwarddNdetaTask.C and
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibVdrift.h
CommitLineData
1209231c 1#ifndef AliTPCCalibVdrift_H
2#define AliTPCCalibVdrift_H
3/* Copyright(c) 2006-07, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6////////////////////////////////////////////////////////////////////////
7// Class AliTPCCalibVdrift
8////////////////////////////////////////////////////////////////////////
9
10
11class TObject;
12class AliTPCSensorTempArray;
13class TGraph;
9430b11a 14class AliTPCTempMap;
1209231c 15class AliTPCCalibVdrift : public TNamed {
16
17public:
da6c0bc9 18 AliTPCCalibVdrift(AliTPCSensorTempArray *SensTemp, AliDCSSensor *SensPres, TObject *SensGasComp);
1209231c 19 AliTPCCalibVdrift(const AliTPCCalibVdrift& source);
20 virtual ~AliTPCCalibVdrift();
21 AliTPCCalibVdrift& operator=(const AliTPCCalibVdrift& source);
da6c0bc9 22 //
23 // Interface for the reconstruction
24 //
f1ea1647 25 Double_t GetPTRelative(UInt_t absTimeSec, Int_t side);
da6c0bc9 26
27 //
28 // Stefan interfaces - for v drift study
29 //
1209231c 30 Double_t VdriftLinearHyperplaneApprox(Double_t dE, Double_t dT, Double_t dP, Double_t dCco2, Double_t dCn2);
31
32 Double_t GetVdriftNominal();
f1ea1647 33 Double_t GetVdriftChange(Double_t x, Double_t y, Double_t z, UInt_t absTimeSec);
1209231c 34
f1ea1647 35 Double_t GetMeanZVdriftChange(Double_t x, Double_t y, UInt_t absTimeSec);
1209231c 36
37 TGraph *MakeGraphMeanZVdriftChange(Double_t x, Double_t y, Int_t nPoints);
9430b11a 38 Float_t GetNominalTemperature(){return fNominalTemp;}
39 Float_t GetNominalPressure(){return fNominalPress;}
1209231c 40
41protected:
9430b11a 42 //
1209231c 43 AliTPCSensorTempArray *fSensTemp; // Temperature sensors
f1ea1647 44 AliDCSSensor *fSensPres; // pressure sensor (cavernpress in GRP)
45 AliTPCTempMap *fTempMap; // Temperature Map
1209231c 46 TObject *fSensGasComp; // placeholder for GasConzentration infos
9430b11a 47 //
48 // Nominal values
49 //
50 Float_t fNominalTemp; // nominal temperature in Kelvin
51 Float_t fNominalPress; // nominal pressure in mbar
1209231c 52 ClassDef(AliTPCCalibVdrift,1);
53
54};
55#endif