#ifndef AliTPCGenDBTemp_h
#define AliTPCGenDBTemp_h
#include <TROOT.h>
#include <TFile.h>
#include <TObjArray.h>
#include "AliTPCSensorTempArray.h"
#include "AliLog.h"
#include "AliDCSGenDB.h"
class AliTPCGenDBTemp : public AliDCSGenDB {
public:
AliTPCGenDBTemp();
AliTPCGenDBTemp(const char *defaultStorage, const char *specificStorage);
~AliTPCGenDBTemp();
void MakeCalib(const char *file, const char *fMap,
const TTimeStamp& startTime,
const TTimeStamp& endTime, Int_t run,
const TString& amandaString="");
void MakeConfig(const char *file, Int_t firstRun, Int_t lastRun,
const char *confDir);
static TClonesArray* ReadList(const char* fname, const char *title="tempConf",
const TString& amandaString="");
static TTree* ReadListTree(const char* fname, const char *title="tempConf");
private:
AliTPCGenDBTemp(const AliTPCGenDBTemp& );
AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& );
ClassDef(AliTPCGenDBTemp,1)
};
#endif