Coverity fixes
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Oct 2011 06:53:34 +0000 (06:53 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Oct 2011 06:53:34 +0000 (06:53 +0000)
ZDC/AliZDCQADataMakerRec.cxx

index 82393e8..dc176e4 100644 (file)
@@ -864,7 +864,7 @@ void AliZDCQADataMakerRec::EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArr
          h18->SetLineColor(kBlue); h18->SetLineWidth(2);
          h19->SetLineColor(kAzure-3); h19->SetLineWidth(2);
         }
-       if(!h20){
+       if(!h20 || !h21){
         AliWarning("AliZDCQADataMakerRec -> RAW histos 20||21 not found!"); 
         AliWarning(Form("for specie %s and trigger class %s",
                         AliRecoParam::GetEventSpecieName(specie), AliQADataMaker::GetTrigClassName(itc)));