Line data Source code
1 : #ifndef ALITPCTEMPMAP_H
2 : #define ALITPCTEMPMAP_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 :
7 : /// \class AliTPCTempMap
8 : /// \brief TPC calibration class for temperature maps and tendencies
9 :
10 : #include "TSystem.h"
11 :
12 : class TGraph;
13 : class TGraph2D;
14 : class TLinearFitter;
15 : class TString;
16 : class AliTPCSensorTempArray;
17 : class TTimeStamp;
18 :
19 : class AliTPCTempMap : public TNamed {
20 : public:
21 : AliTPCTempMap(AliTPCSensorTempArray *SensorsDCS);
22 : AliTPCTempMap(const AliTPCTempMap &c);
23 : virtual ~AliTPCTempMap();
24 : AliTPCTempMap &operator=(const AliTPCTempMap &c);
25 : virtual void Copy (TObject &c) const;
26 : TLinearFitter *GetLinearFitter(Int_t type, Int_t side, UInt_t timeSec);
27 : TLinearFitter *GetLinearFitter(Int_t type, Int_t side, TTimeStamp& stamp);
28 : //
29 : Double_t GetTempGradientY(UInt_t timeSec, Int_t side);
30 : TGraph2D *GetTempMapsViaSensors(Int_t type, Int_t side, UInt_t timeSec);
31 : TGraph *MakeGraphGradient(Int_t axis, Int_t side, Int_t nPoints);
32 :
33 : Double_t GetTemperature(Double_t x, Double_t y, Double_t z, UInt_t timeSec);
34 : Double_t GetTemperature(Double_t x, Double_t y, Double_t z, TTimeStamp &stamp);
35 : Bool_t IsOK(Float_t value);
36 : protected:
37 :
38 : AliTPCSensorTempArray *fTempArray; ///< Array of Sensors (initialized in Constructor)
39 : TString fStringFEsimulation; ///< Placeholder for file of FiniteElement Simulation under ideal conditions - not existing yet
40 :
41 : private:
42 :
43 : AliTPCTempMap(const char *fname);
44 :
45 : /// \cond CLASSIMP
46 24 : ClassDef(AliTPCTempMap,2) //
47 : /// \endcond
48 :
49 : };
50 :
51 : #endif
|