Fixes for wrong use of const causing PW.CAST_TO_QUALIFIED_TYPE defect in Coverity
[u/mrichter/AliRoot.git] / TPC / Base / 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:
d8819a18 18 AliTPCCalibVdrift();
da6c0bc9 19 AliTPCCalibVdrift(AliTPCSensorTempArray *SensTemp, AliDCSSensor *SensPres, TObject *SensGasComp);
1209231c 20 AliTPCCalibVdrift(const AliTPCCalibVdrift& source);
21 virtual ~AliTPCCalibVdrift();
22 AliTPCCalibVdrift& operator=(const AliTPCCalibVdrift& source);
da6c0bc9 23 //
24 // Interface for the reconstruction
25 //
f1ea1647 26 Double_t GetPTRelative(UInt_t absTimeSec, Int_t side);
da6c0bc9 27
28 //
29 // Stefan interfaces - for v drift study
30 //
1209231c 31 Double_t VdriftLinearHyperplaneApprox(Double_t dE, Double_t dT, Double_t dP, Double_t dCco2, Double_t dCn2);
32
33 Double_t GetVdriftNominal();
f1ea1647 34 Double_t GetVdriftChange(Double_t x, Double_t y, Double_t z, UInt_t absTimeSec);
1209231c 35
f1ea1647 36 Double_t GetMeanZVdriftChange(Double_t x, Double_t y, UInt_t absTimeSec);
1209231c 37
38 TGraph *MakeGraphMeanZVdriftChange(Double_t x, Double_t y, Int_t nPoints);
9430b11a 39 Float_t GetNominalTemperature(){return fNominalTemp;}
40 Float_t GetNominalPressure(){return fNominalPress;}
1209231c 41
42protected:
9430b11a 43 //
1209231c 44 AliTPCSensorTempArray *fSensTemp; // Temperature sensors
f1ea1647 45 AliDCSSensor *fSensPres; // pressure sensor (cavernpress in GRP)
46 AliTPCTempMap *fTempMap; // Temperature Map
1209231c 47 TObject *fSensGasComp; // placeholder for GasConzentration infos
9430b11a 48 //
49 // Nominal values
50 //
51 Float_t fNominalTemp; // nominal temperature in Kelvin
52 Float_t fNominalPress; // nominal pressure in mbar
1209231c 53 ClassDef(AliTPCCalibVdrift,1);
54
55};
56#endif