1 void TestDPs(const char* detector, int tsFrom, int tsTo)
3 // Query amanda for DPs for detector from timestamp tsFrom to tsTo
5 gSystem->Load("libRLDAP.so");
6 gSystem->Load("libMonaLisa");
7 gSystem->Load("libSHUTTLE");
9 AliDCSClient client("alidcsamanda.cern.ch",1337,1000,500,4000);
11 AliShuttleConfig config("pcalishuttle01.cern.ch", 389, "", "", "o=shuttle,dc=cern,dc=ch");
13 TObjArray* list = config.GetDCSAliases(detector, 0);
14 for (Int_t i=0; i<list->GetEntries(); i++)
16 //Printf("%s", list->At(i)->GetName());
17 client.GetAliasValues(list, tsFrom, tsTo, i, i+1);