UInt_t AliPMDPreprocessor::Process(TMap* pdaqAliasMap)
{
- if(!pdaqAliasMap) return 0;
+ if(!pdaqAliasMap) return 1;
AliPMDCalibData *calibda = new AliPMDCalibData();
if(!filesources) {
Log(Form("No sources found for PMDGAINS!"));
- return 0;
+ return 1;
}
AliInfo("Here's the list of sources for PMDGAINS");
if(filename.Length() == 0) {
Log(Form("Error retrieving file from source %s failed!", source->GetName()));
delete filesources;
- return 0;
+ return 1;
}
Log(Form("File with id PMDGAINS got from %s", source->GetName()));
if(!f || !f->IsOpen())
{
Log(Form("Error opening file with Id PMDGAINS from source %s!", source->GetName()));
- return 0;
+ return 1;
}
TTree *tree = dynamic_cast<TTree *> (f->Get("ic"));
if (!tree)
{
Log("Could not find object \"ic\" in DAQ file!");
- return 0;
+ return 1;
}
tree->SetBranchAddress("DET", &DET);