]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCGenDBTemp.h
Additional protection. Do not issue AliFatal in case of corrupted data (cosmic test)
[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 class AliTPCGenDBTemp : public AliDCSGenDB {
21
22 public:
23
24 // constructors
25
26   AliTPCGenDBTemp();
27   AliTPCGenDBTemp(const char *defaultStorage, const char *specificStorage);
28   ~AliTPCGenDBTemp();
29   void            MakeCalib(const char *file, const char *fMap,
30                             const TTimeStamp& startTime,
31                             const TTimeStamp& endTime, Int_t run);
32
33 // functionality
34
35   static TClonesArray *  ReadList(const char* fname);
36   static TTree        *  ReadListTree(const char* fname);
37
38 // getters/setters
39
40
41 private:
42   AliTPCGenDBTemp(const AliTPCGenDBTemp& org);
43   AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& org);
44
45    ClassDef(AliTPCGenDBTemp,1)
46 };
47 #endif