2 // .L /afs/cern.ch/user/h/haavard/alice/tpc/temperature/AliTPCGenDBConf.C+
5 // Int_t lastRun = 9999999
7 // db->Init(run,"TPC/Config/Preprocessor","TPC/*/*")
8 // db->MakeConfig("Preprocessor.txt",firstRun,lastRun,"TPC/Config/Preprocessor")
11 #include "AliTPCGenDBConf.h"
14 ClassImp(AliTPCGenDBConf)
17 //______________________________________________________________________________________________
19 AliTPCGenDBConf::AliTPCGenDBConf():
24 //______________________________________________________________________________________________
26 AliTPCGenDBConf::AliTPCGenDBConf(const char *defaultStorage, const char *specificStorage):
27 AliDCSGenDB(defaultStorage, specificStorage)
31 //______________________________________________________________________________________________
33 AliTPCGenDBConf::AliTPCGenDBConf(const AliTPCGenDBConf& org) : AliDCSGenDB(org)
39 AliError("copy constructor not implemented");
42 //______________________________________________________________________________________________
43 AliTPCGenDBConf::~AliTPCGenDBConf(){
49 //______________________________________________________________________________________________
50 AliTPCGenDBConf& AliTPCGenDBConf::operator= (const AliTPCGenDBConf& /*org*/ )
53 // assignment operator
55 AliError("assignment operator not implemented");
60 //______________________________________________________________________________________________
62 void AliTPCGenDBConf::MakeConfig(const char *file, Int_t firstRun, Int_t lastRun, const char *confDir )
65 // Store Configuration file to OCDB
68 TEnv *confEnv = new TEnv(file);
69 SetFirstRun(firstRun);
72 StoreObject(confDir, confEnv, fMetaData);
75 //______________________________________________________________________________________________