add filling of MC histograms forgot in previous commit
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Feb 2012 19:12:30 +0000 (19:12 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Feb 2012 19:12:30 +0000 (19:12 +0000)
PWGGA/CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx

index 64159e4..b97954b 100755 (executable)
@@ -825,6 +825,8 @@ void  AliAnaInsideClusterInvariantMass::MakeAnalysisFillHistograms()
       if( en > 7 ) 
       {      
         fhMassM02NLocMax1[0]  [matched]->Fill(l0,  mass ); 
+        if(IsDataMC()) 
+          fhMassM02NLocMax1[mcindex][matched]->Fill(l0,  mass ); 
       }
       
       if(!matched)
@@ -840,6 +842,8 @@ void  AliAnaInsideClusterInvariantMass::MakeAnalysisFillHistograms()
       if( en > 7 )
       {
         fhMassM02NLocMax2[0][matched]  ->Fill(l0,  mass ); 
+        if(IsDataMC()) 
+          fhMassM02NLocMax2[mcindex][matched]->Fill(l0,  mass ); 
       }
       
       if(!matched)
@@ -855,6 +859,8 @@ void  AliAnaInsideClusterInvariantMass::MakeAnalysisFillHistograms()
       if( en > 7 ) 
       {      
         fhMassM02NLocMaxN[0]  [matched]->Fill(l0  ,mass );
+        if(IsDataMC()) 
+          fhMassM02NLocMaxN[mcindex][matched]->Fill(l0,  mass ); 
       }
       
       if(!matched)