Fixes for building of DA (Anshul)
[u/mrichter/AliRoot.git] / TPC / AliTPCGenDBTemp.h
CommitLineData
9312398d 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
e03a46ac 20
9312398d 21class AliTPCGenDBTemp : public AliDCSGenDB {
22
23public:
24
25// constructors
26
27 AliTPCGenDBTemp();
9f016d99 28 AliTPCGenDBTemp(const char *defaultStorage, const char *specificStorage);
9312398d 29 ~AliTPCGenDBTemp();
9312398d 30 void MakeCalib(const char *file, const char *fMap,
31 const TTimeStamp& startTime,
5a163c08 32 const TTimeStamp& endTime, Int_t run,
9b4aee57 33 const TString& amandaString="");
e03a46ac 34 void MakeConfig(const char *file, Int_t firstRun, Int_t lastRun,
453bd596 35 const char *confDir);
9312398d 36
37// functionality
38
e03a46ac 39 static TClonesArray* ReadList(const char* fname, const char *title="tempConf",
9b4aee57 40 const TString& amandaString="");
453bd596 41 static TTree* ReadListTree(const char* fname, const char *title="tempConf");
9312398d 42
43// getters/setters
e03a46ac 44
9312398d 45
46private:
f4a89669 47 AliTPCGenDBTemp(const AliTPCGenDBTemp& );
48 AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& );
9312398d 49
50 ClassDef(AliTPCGenDBTemp,1)
51};
52#endif