]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCGenDBTemp.h
Removing obsolete functions not realted to the calibration
[u/mrichter/AliRoot.git] / TPC / AliTPCGenDBTemp.h
1 /////////////////////////////////////////////////////////////////
2 // Class to generate temperature sensor data base entries.
3 //
4 // Existing data base structure read at start of processsing.
5 // 20/12-2006 HH.
6 // Modification log:
7 /////////////////////////////////////////////////////////////////
8
9 #ifndef AliTPCGenDBTemp_h
10 #define AliTPCGenDBTemp_h
11
12 #include <TROOT.h>
13 #include <TFile.h>
14 #include <TObjArray.h>
15
16 #include "AliTPCSensorTempArray.h"
17 #include "AliLog.h"
18 #include "AliDCSGenDB.h"
19
20
21 class AliTPCGenDBTemp : public AliDCSGenDB {
22
23 public:
24
25 // constructors
26
27   AliTPCGenDBTemp();
28   AliTPCGenDBTemp(const char *defaultStorage, const char *specificStorage);
29   ~AliTPCGenDBTemp();
30   void            MakeCalib(const char *file, const char *fMap,
31                             const TTimeStamp& startTime,
32                             const TTimeStamp& endTime, Int_t run,
33                             const TString& amandaString="");
34   void            MakeConfig(const char *file, Int_t firstRun, Int_t lastRun, 
35                             const char *confDir);
36
37 // functionality
38
39   static TClonesArray* ReadList(const char* fname, const char *title="tempConf", 
40                                  const TString& amandaString="");
41   static TTree*   ReadListTree(const char* fname, const char *title="tempConf");
42
43 // getters/setters
44  
45
46 private:
47   AliTPCGenDBTemp(const AliTPCGenDBTemp& );
48   AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& );
49
50    ClassDef(AliTPCGenDBTemp,1)
51 };
52 #endif