// "t" stores the token on this disk, otherwise the alien connection is not thread/process-safe
TGrid::Connect("alien://", 0, 0, "t");
// "t" stores the token on this disk, otherwise the alien connection is not thread/process-safe
TGrid::Connect("alien://", 0, 0, "t");
man->SetSpecificStorage("GRP/GRP/Data",
Form("local://%s",gSystem->pwd()));
man->SetSpecificStorage("GRP/CTP/Config",
Form("local://%s",gSystem->pwd()));
man->SetSpecificStorage("GRP/GRP/Data",
Form("local://%s",gSystem->pwd()));
man->SetSpecificStorage("GRP/CTP/Config",
Form("local://%s",gSystem->pwd()));
gSystem->mkdir(Form("run%d",run));
gSystem->cd(Form("run%d",run));
gSystem->mkdir(Form("run%d",run));
gSystem->cd(Form("run%d",run));
Int_t ret=AliGRPPreprocessor::ReceivePromptRecoParameters(run, "aldaqdb", 0, "LOGBOOK", "logbook", "alice",
Form("local://%s",gSystem->pwd()),
Int_t ret=AliGRPPreprocessor::ReceivePromptRecoParameters(run, "aldaqdb", 0, "LOGBOOK", "logbook", "alice",
Form("local://%s",gSystem->pwd()),
if(ret>0) cout << "Last run of the same type is: " << ret << endl;
else if(ret==0) cout << "No previous run of the same type found" << endl;
else if(ret<0) cout << "Error code while retrieving GRP parameters returned: " << ret << endl;
if(ret>0) cout << "Last run of the same type is: " << ret << endl;
else if(ret==0) cout << "No previous run of the same type found" << endl;
else if(ret<0) cout << "Error code while retrieving GRP parameters returned: " << ret << endl;