]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDPreprocessor.cxx
changes in the code
[u/mrichter/AliRoot.git] / PMD / AliPMDPreprocessor.cxx
index b7c8660522be4194fdc8e7ea397b934f1814a7e6..6eac322a9a386c0a85da622016311721d2a656d6 100644 (file)
@@ -50,7 +50,7 @@ void AliPMDPreprocessor::Initialize(Int_t run, UInt_t startTime,
 UInt_t AliPMDPreprocessor::Process(TMap* pdaqAliasMap)
 {
 
- if(!pdaqAliasMap) return 0;
+ if(!pdaqAliasMap) return 1;
        
        AliPMDCalibData *calibda = new AliPMDCalibData();
 
@@ -58,7 +58,7 @@ UInt_t AliPMDPreprocessor::Process(TMap* pdaqAliasMap)
 
         if(!filesources) {
                 Log(Form("No sources found for PMDGAINS!"));
-                return 0;
+                return 1;
         }
 
         AliInfo("Here's the list of sources for PMDGAINS");
@@ -74,7 +74,7 @@ UInt_t AliPMDPreprocessor::Process(TMap* pdaqAliasMap)
                 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()));
@@ -84,13 +84,13 @@ UInt_t AliPMDPreprocessor::Process(TMap* pdaqAliasMap)
                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);