ROOT logo
void TestDPs(const char* detector, int tsFrom, int tsTo)
{
	// Query amanda for DPs for detector from timestamp tsFrom to tsTo
	//
	gSystem->Load("libRLDAP.so");
	gSystem->Load("libMonaLisa");
	gSystem->Load("libSHUTTLE");

	AliDCSClient client("alidcsamanda.cern.ch",1337,1000,500,100);

	AliShuttleConfig config("pcalishuttle01.cern.ch", 389, "", "", "o=shuttle_prod,dc=cern,dc=ch");

	TObjArray* list = config.GetDCSAliases(detector, 0);
	for (Int_t i=0; i<list->GetEntries(); i++)
	{
	  //Printf("%s", list->At(i)->GetName());
	  client.GetAliasValues(list, tsFrom, tsTo, i, i+1);
	}
}
 TestDPs.C:1
 TestDPs.C:2
 TestDPs.C:3
 TestDPs.C:4
 TestDPs.C:5
 TestDPs.C:6
 TestDPs.C:7
 TestDPs.C:8
 TestDPs.C:9
 TestDPs.C:10
 TestDPs.C:11
 TestDPs.C:12
 TestDPs.C:13
 TestDPs.C:14
 TestDPs.C:15
 TestDPs.C:16
 TestDPs.C:17
 TestDPs.C:18
 TestDPs.C:19
 TestDPs.C:20