if(GetReader()->ReadAODMCParticles()){\r
//Get the list of MC particles \r
mcparticles0 = GetReader()->GetAODMCParticles(0);\r
- if(!mcparticles0 && GetDebug() > 0) {\r
- printf("AliAnaBtag::MakeAnalysisFillHistograms() - Standard MCParticles not available!\n");\r
+ if(!mcparticles0) {\r
+ if(GetDebug() > 0)printf("AliAnaBtag::MakeAnalysisFillHistograms() - Standard MCParticles not available!\n");\r
}\r
else{\r
Int_t npart0 = mcparticles0->GetEntriesFast();\r
}
else
htmp->Draw("same HE");
-
- delete [] hNCellsCluster1D;
-
}
+ delete [] hNCellsCluster1D;
+
snprintf(name,buffersize,"QA_%s_NumberCaloClustersAndCaloCells.eps",fCalorimeter.Data());
cN->Print(name); printf("Print plot %s\n",name);