1 void TestMultialiases(){
2 // Simple test for the multi request query
4 gSystem->Load("$ALICE_ROOT/SHUTTLE/DCSClient/AliDCSClient.so");
5 AliDCSClient client("aldcs053.cern.ch",4242,1000,5,100);
7 //TObjArray *arr = new TObjArray();
9 //client.GetAliasValues("tpc_PT_322.Temperature", 1180686465, 1180686575, arr);
14 list.Add(new TObjString("tof_hv_vp_00"));
15 list.Add(new TObjString("tof_hv_vp_01"));
16 list.Add(new TObjString("tof_hv_vp_02"));
17 list.Add(new TObjString("tof_hv_vp_03"));
18 list.Add(new TObjString("tof_hv_vp_04"));
20 TMap *map = client.GetAliasValues(&list, 1180586575, 1180686575, 0, 5);
25 while(objstr = dynamic_cast<TObjString*>(iter.Next())){
27 cout << objstr->GetName() << endl;
28 TObjArray *arr = map->GetValue(objstr->GetName());
30 cout << "N of values: " << arr->GetEntries() << endl;