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