case kDCS: sys = "DCS"; break;
default: sys = "unknown"; break;
}
- Log(Form("Failed to get file sources for %s/%s", sys.Data(), system));
+ Log(Form("Failed to get file sources for %s/%d", sys.Data(), system));
return kFALSE;
}
return kTRUE;
//____________________________________________________________________
AliFMDCalibPedestal*
-AliFMDPreprocessor::GetPedestalCalibration(TList* pedFiles)
+AliFMDPreprocessor::GetPedestalCalibration(const TList* pedFiles)
{
// Read DAQ DA produced CSV files of pedestals, and return a
// calibration object.
TObjString* fileSource;
while((fileSource = dynamic_cast<TObjString*>(iter.Next()))) {
- const Char_t* filename = GetFile(kDAQ, pars->GetPedestalShuttleID(), fileSource->GetName());
+ const Char_t* filename = GetFile(kDAQ, pars->GetPedestalShuttleID(),
+ fileSource->GetName());
std::ifstream in(filename);
if(!in) {
Log(Form("File %s not found!", filename));
//____________________________________________________________________
AliFMDCalibGain*
-AliFMDPreprocessor::GetGainCalibration(TList* gainFiles)
+AliFMDPreprocessor::GetGainCalibration(const TList* gainFiles)
{
// Read DAQ DA produced CSV files of pedestals, and return a
// calibration object.
TIter iter(gainFiles);
TObjString* fileSource;
while((fileSource = dynamic_cast<TObjString *>(iter.Next()))) {
- const Char_t* filename = GetFile(kDAQ, pars->GetGainShuttleID(), fileSource->GetName());
+ const Char_t* filename = GetFile(kDAQ, pars->GetGainShuttleID(),
+ fileSource->GetName());
std::ifstream in(filename);
if(!in) {
Log(Form("File %s not found!", filename));