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