]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCGenDBConf.cxx
AddTasdk for v2 with EP modified to run in the lego train
[u/mrichter/AliRoot.git] / TPC / AliTPCGenDBConf.cxx
CommitLineData
077d9d0a 1
2// .L /afs/cern.ch/user/h/haavard/alice/tpc/temperature/AliTPCGenDBConf.C+
3// Int_t run=2546
4// Int_t firstRun =0
5// Int_t lastRun = 9999999
6// AliTPCGenDBConf db
7// db->Init(run,"TPC/Config/Preprocessor","TPC/*/*")
8// db->MakeConfig("Preprocessor.txt",firstRun,lastRun,"TPC/Config/Preprocessor")
9
10
11#include "AliTPCGenDBConf.h"
9f016d99 12#include "AliLog.h"
077d9d0a 13
14ClassImp(AliTPCGenDBConf)
15
16
17//______________________________________________________________________________________________
18
19AliTPCGenDBConf::AliTPCGenDBConf():
20 AliDCSGenDB()
21{
22}
23
24//______________________________________________________________________________________________
25
9f016d99 26AliTPCGenDBConf::AliTPCGenDBConf(const char *defaultStorage, const char *specificStorage):
27 AliDCSGenDB(defaultStorage, specificStorage)
28{
29}
30
31//______________________________________________________________________________________________
32
33AliTPCGenDBConf::AliTPCGenDBConf(const AliTPCGenDBConf& org) : AliDCSGenDB(org)
077d9d0a 34{
35
36//
37// Copy constructor
38//
9f016d99 39 AliError("copy constructor not implemented");
077d9d0a 40}
41
42//______________________________________________________________________________________________
43AliTPCGenDBConf::~AliTPCGenDBConf(){
44//
45// destructor
46//
47
48}
49//______________________________________________________________________________________________
9389f9a4 50AliTPCGenDBConf& AliTPCGenDBConf::operator= (const AliTPCGenDBConf& /*org*/ )
077d9d0a 51{
52 //
53 // assignment operator
54 //
9f016d99 55 AliError("assignment operator not implemented");
077d9d0a 56 return *this;
57}
58
59
60//______________________________________________________________________________________________
61
62void AliTPCGenDBConf::MakeConfig(const char *file, Int_t firstRun, Int_t lastRun, const char *confDir )
63{
64 //
65 // Store Configuration file to OCDB
66 //
67
68 TEnv *confEnv = new TEnv(file);
69 SetFirstRun(firstRun);
70 SetLastRun(lastRun);
71
72 StoreObject(confDir, confEnv, fMetaData);
73}
74
75//______________________________________________________________________________________________
76