From a700f6203bc09cbbd2ae6ed97f88efb700f2091f Mon Sep 17 00:00:00 2001 From: gconesab Date: Fri, 10 Feb 2012 19:12:30 +0000 Subject: [PATCH] add filling of MC histograms forgot in previous commit --- .../AliAnaInsideClusterInvariantMass.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PWGGA/CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx b/PWGGA/CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx index 64159e45339..b97954b9438 100755 --- a/PWGGA/CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx +++ b/PWGGA/CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx @@ -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) -- 2.43.0