// connection to the Grid
AliInfo("Connection to the Grid...");
if(gGrid){
- AliInfo(Form("gGrid = %x; fGridUrl = %s; gGrid->GridUrl() = %s",gGrid,fGridUrl.Data(), gGrid->GridUrl()));
+ AliInfo(Form("gGrid = %p; fGridUrl = %s; gGrid->GridUrl() = %s",gGrid,fGridUrl.Data(), gGrid->GridUrl()));
AliInfo(Form("fUser = %s; gGrid->GetUser() = %s",fUser.Data(), gGrid->GetUser()));
}
TGrid::Connect(fGridUrl.Data(),fUser.Data());
// default settings are: cacheSize=1GB, cleanupInterval = 0
if(!TFile::ShrinkCacheFileDir(fCacheSize, fCleanupInterval)) {
AliError(Form("Could not set following values "
- "to ShrinkCacheFileDir: cacheSize = %d, cleanupInterval = %d !",
+ "to ShrinkCacheFileDir: cacheSize = %ld, cleanupInterval = %ld !",
fCacheSize, fCleanupInterval));
}
}
AliDebug(2, Form("s.e.: %s", se.Data()));
AliDebug(2, Form("local cache folder: %s", cacheFolder.Data()));
AliDebug(2, Form("local cache operate disconnected: %d", operateDisconnected));
- AliDebug(2, Form("local cache size: %d", cacheSize));
- AliDebug(2, Form("local cache cleanup interval: %d", cleanupInterval));
+ AliDebug(2, Form("local cache size: %ld", cacheSize));
+ AliDebug(2, Form("local cache cleanup interval: %ld", cleanupInterval));
if(dbFolder == ""){
AliError("Base folder must be specified!");
SetType("alien");
TString uri = Form("%s?User=%s?DBFolder=%s?SE=%s?CacheFolder=%s"
- "?OperateDisconnected=%d?CacheSize=%d?CleanupInterval=%d",
+ "?OperateDisconnected=%d?CacheSize=%ld?CleanupInterval=%ld",
fGridUrl.Data(), fUser.Data(),
fDBFolder.Data(), fSE.Data(), fCacheFolder.Data(),
fOperateDisconnected, fCacheSize, fCleanupInterval);
TString bmString0 = beamModeString->String();
TString bmString1 = beamModeString1->String();
if (bmString0.CompareTo(bmString1.Data(),TString::kIgnoreCase) == -1){
- AliWarning(Form("The beam mode changed from %s to %s during the run at timestamp %f! Setting it to %s and keeping track of the time of the change to set MaxTimeLHCValidity afterward",bmString0.Data(), bmString1.Data(), bmString0.Data(), timeBeamModeEnd));
+ AliWarning(Form("The beam mode changed from %s to %s during the run at timestamp %f! Setting it to %s and keeping track of the time of the change to set MaxTimeLHCValidity afterward",bmString0.Data(), bmString1.Data(), timeBeamModeEnd, bmString0.Data()));
flagBeamMode = kTRUE;
}
}
TString mmString0 = machineModeString->String();
TString mmString1 = machineModeString1->String();
if (mmString0.CompareTo(mmString1.Data(),TString::kIgnoreCase) == -1){
- AliWarning(Form("The machine mode changed from %s to %s during the run at timestamp %f! Setting it to %s and keeping track of the time of the change to set MaxTimeLHCValidity afterward",mmString0.Data(),mmString1.Data(),mmString0.Data(),timeMachineModeEnd));
+ AliWarning(Form("The machine mode changed from %s to %s during the run at timestamp %f! Setting it to %s and keeping track of the time of the change to set MaxTimeLHCValidity afterward",mmString0.Data(),mmString1.Data(),timeMachineModeEnd,mmString0.Data()));
flagMachineMode = kTRUE;
}
}
TObjString* beamString1 = beam1->GetStringArray(0);
TString beamType1 = beamString1->String();
if (beamType.CompareTo(beamType1.Data(),TString::kIgnoreCase) == -1){
- AliWarning(Form("The Beam Type changed from %s to %s during the run at timestamp %f! Setting it to %s and keeping track of the time of the change to set MaxTimeLHCValidity afterward",beamType.Data(),(beamString1->String()).Data(),beamType.Data(),timeBeamEnd));
+ AliWarning(Form("The Beam Type changed from %s to %s during the run at timestamp %f! Setting it to %s and keeping track of the time of the change to set MaxTimeLHCValidity afterward",beamType.Data(),(beamString1->String()).Data(),timeBeamEnd,beamType.Data()));
flagBeam = kTRUE;
}
}