]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRecoParam.cxx
Coverity fixes.
[u/mrichter/AliRoot.git] / STEER / AliRecoParam.cxx
index 699db2e7d428b93c0e842ee24e00b2c768e4dbc7..d3d5cafa36f1732b786b50a50fcd924fcf12d731 100644 (file)
@@ -211,14 +211,16 @@ void AliRecoParam::SetEventSpecie(const AliRunInfo *runInfo, const AliEventInfo
     return;
   }
 
-    if ((strcmp(runInfo->GetLHCState(),"STABLE_BEAMS") == 0) &&
+    if (((strcmp(runInfo->GetLHCState(),"STABLE_BEAMS") == 0) ||
+         (strcmp(runInfo->GetLHCState(),"STABLE BEAMS") == 0)) &&
        ((strcmp(runInfo->GetBeamType(),"A-A") == 0) ||
        (strcmp(runInfo->GetBeamType(),"A-") == 0) ||
        (strcmp(runInfo->GetBeamType(),"-A") == 0))) {
       // Heavy ion run (any beam that is not pp, the event specie is set to kHighMult
       fEventSpecie = kHighMult;
     }
-    else if ((strcmp(runInfo->GetLHCState(),"STABLE_BEAMS") == 0) &&
+    else if (((strcmp(runInfo->GetLHCState(),"STABLE_BEAMS") == 0) ||
+             (strcmp(runInfo->GetLHCState(),"STABLE BEAMS") == 0)) &&
             ((strcmp(runInfo->GetBeamType(),"p-p") == 0) ||
              (strcmp(runInfo->GetBeamType(),"p-") == 0) ||
              (strcmp(runInfo->GetBeamType(),"-p") == 0) ||