]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | class TObject; | |
12 | class AliTPCSensorTempArray; | |
13 | class TGraph; | |
14 | class AliTPCTempMap; | |
15 | class AliTPCCalibVdrift : public TNamed { | |
16 | ||
17 | public: | |
18 | AliTPCCalibVdrift(AliTPCSensorTempArray *SensTemp, AliDCSSensor *SensPres, TObject *SensGasComp); | |
19 | AliTPCCalibVdrift(const AliTPCCalibVdrift& source); | |
20 | virtual ~AliTPCCalibVdrift(); | |
21 | AliTPCCalibVdrift& operator=(const AliTPCCalibVdrift& source); | |
22 | // | |
23 | // Interface for the reconstruction | |
24 | // | |
25 | Double_t GetPTRelative(UInt_t absTimeSec, Int_t side); | |
26 | ||
27 | // | |
28 | // Stefan interfaces - for v drift study | |
29 | // | |
30 | Double_t VdriftLinearHyperplaneApprox(Double_t dE, Double_t dT, Double_t dP, Double_t dCco2, Double_t dCn2); | |
31 | ||
32 | Double_t GetVdriftNominal(); | |
33 | Double_t GetVdriftChange(Double_t x, Double_t y, Double_t z, UInt_t absTimeSec); | |
34 | ||
35 | Double_t GetMeanZVdriftChange(Double_t x, Double_t y, UInt_t absTimeSec); | |
36 | ||
37 | TGraph *MakeGraphMeanZVdriftChange(Double_t x, Double_t y, Int_t nPoints); | |
38 | Float_t GetNominalTemperature(){return fNominalTemp;} | |
39 | Float_t GetNominalPressure(){return fNominalPress;} | |
40 | ||
41 | protected: | |
42 | // | |
43 | AliTPCSensorTempArray *fSensTemp; // Temperature sensors | |
44 | AliDCSSensor *fSensPres; // pressure sensor (cavernpress in GRP) | |
45 | AliTPCTempMap *fTempMap; // Temperature Map | |
46 | TObject *fSensGasComp; // placeholder for GasConzentration infos | |
47 | // | |
48 | // Nominal values | |
49 | // | |
50 | Float_t fNominalTemp; // nominal temperature in Kelvin | |
51 | Float_t fNominalPress; // nominal pressure in mbar | |
52 | ClassDef(AliTPCCalibVdrift,1); | |
53 | ||
54 | }; | |
55 | #endif |