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"
13 ClassImp(AliTPCGenDBConf)
16 //______________________________________________________________________________________________
18 AliTPCGenDBConf::AliTPCGenDBConf():
23 //______________________________________________________________________________________________
25 AliTPCGenDBConf::AliTPCGenDBConf(const AliTPCGenDBConf& org):
33 ((AliTPCGenDBConf &) org).Copy(*this);
36 //______________________________________________________________________________________________
37 AliTPCGenDBConf::~AliTPCGenDBConf(){
43 //______________________________________________________________________________________________
44 AliTPCGenDBConf& AliTPCGenDBConf::operator= (const AliTPCGenDBConf& org )
47 // assignment operator
49 if (&org == this) return *this;
51 new (this) AliTPCGenDBConf(org);
56 //______________________________________________________________________________________________
58 void AliTPCGenDBConf::MakeConfig(const char *file, Int_t firstRun, Int_t lastRun, const char *confDir )
61 // Store Configuration file to OCDB
64 TEnv *confEnv = new TEnv(file);
65 SetFirstRun(firstRun);
68 StoreObject(confDir, confEnv, fMetaData);
71 //______________________________________________________________________________________________