]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/PartCorrDep/AliAnaPi0EbE.cxx
TString comparison not done with strcmp
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPi0EbE.cxx
index 4bb2fa55f5e321f35fd126c668d612c25cfddaba..54899e8a5fad06cde70cec7b9c1f22238214e869 100755 (executable)
@@ -411,8 +411,8 @@ void  AliAnaPi0EbE::MakeInvMassInCalorimeter()
     
     //Get shower shape information of clusters
     TObjArray *clusters = 0;
-    if     (!strcmp(fCalorimeter,"EMCAL")) clusters = GetEMCALClusters();
-    else if(!strcmp(fCalorimeter,"PHOS")) clusters = GetPHOSClusters() ;
+    if     (fCalorimeter=="EMCAL") clusters = GetEMCALClusters();
+    else if(fCalorimeter=="PHOS")  clusters = GetPHOSClusters() ;
     
     Bool_t bFound1        = kFALSE;
     Int_t  caloLabel1     = photon1->GetCaloLabel(0);