]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/AliTPCGenDBConf.cxx
Removing obsolete mapping macro
[u/mrichter/AliRoot.git] / TPC / AliTPCGenDBConf.cxx
... / ...
CommitLineData
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"
12#include "AliLog.h"
13
14ClassImp(AliTPCGenDBConf)
15
16
17//______________________________________________________________________________________________
18
19AliTPCGenDBConf::AliTPCGenDBConf():
20 AliDCSGenDB()
21{
22}
23
24//______________________________________________________________________________________________
25
26AliTPCGenDBConf::AliTPCGenDBConf(const char *defaultStorage, const char *specificStorage):
27 AliDCSGenDB(defaultStorage, specificStorage)
28{
29}
30
31//______________________________________________________________________________________________
32
33AliTPCGenDBConf::AliTPCGenDBConf(const AliTPCGenDBConf& org) : AliDCSGenDB(org)
34{
35
36//
37// Copy constructor
38//
39 AliError("copy constructor not implemented");
40}
41
42//______________________________________________________________________________________________
43AliTPCGenDBConf::~AliTPCGenDBConf(){
44//
45// destructor
46//
47
48}
49//______________________________________________________________________________________________
50AliTPCGenDBConf& AliTPCGenDBConf::operator= (const AliTPCGenDBConf& /*org*/ )
51{
52 //
53 // assignment operator
54 //
55 AliError("assignment operator not implemented");
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