AliRoot Core  3dc7879 (3dc7879)
AliTPCGenDBTemp.h
Go to the documentation of this file.
1 // 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:
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 
28  AliTPCGenDBTemp(const char *defaultStorage, const char *specificStorage);
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:
49 
50  ClassDef(AliTPCGenDBTemp,1)
51 };
52 #endif
void MakeConfig(const char *file, Int_t firstRun, Int_t lastRun, const char *confDir)
TTimeStamp startTime(2009, 8, 7, 0, 0, 0)
void MakeCalib(const char *file, const char *fMap, const TTimeStamp &startTime, const TTimeStamp &endTime, Int_t run, const TString &amandaString="")
AliTPCGenDBTemp & operator=(const AliTPCGenDBTemp &)
static TTree * ReadListTree(const char *fname, const char *title="tempConf")
static TClonesArray * ReadList(const char *fname, const char *title="tempConf", const TString &amandaString="")
char * fname