Correct LG time for LHC13bcdef
[u/mrichter/AliRoot.git] / OADB / test.C
CommitLineData
cc336771 1void test()
2{
3 gSystem->Load("libOADB");
4 con = new AliOADBContainer("OADB");
5 //
6 obj1 = new TNamed("obj1", "");
7 obj2 = new TNamed("obj2", "");
8 obj3 = new TNamed("obj3", "");
9 obj4 = new TNamed("obj4", "");
10 //
11 con->AppendObject(obj1, 1, 10);
12 con->AppendObject(obj2, 11, 20);
13 con->AppendObject(obj3, 21, 30);
14 con->UpdateObject(1, obj4, 100, 101);
15 con->RemoveObject(0);
16 //
17 con->WriteToFile("test.root");
18 //
5dc8a01b 19 AliOADBContainer cont0("");
78ca83ca 20 cont0.InitFromFile("test.root", "OADB");
21 cont0.Dump();
22 cont0.List();
cc336771 23}