]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Set Chi2 for AliAODConversionParticle
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Feb 2011 12:35:49 +0000 (12:35 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Feb 2011 12:35:49 +0000 (12:35 +0000)
PWG4/GammaConv/AliAnalysisTaskGammaConversion.cxx

index d12495058a5956968aea66ff7d266d1a732b92c0..e65b616ddda707865ad4a1a52bde7e365dc45d0c 100644 (file)
@@ -2114,7 +2114,7 @@ void AliAnalysisTaskGammaConversion::FillAODWithConversionGammas(){
       gamma.SetTrackLabels( fElectronv1[gammaIndex], fElectronv2[gammaIndex] ); //How to get the MC label of the 2 electrons that form the gamma?
       //gamma.SetPdg(AliPID::kEleCon); //photon id
       //gamma.SetTag(-1); //Here I usually put a flag saying that montecarlo says it is prompt, decay fragmentation photon, or hadrons or whatever
-      //PH      gamma.SetChi2(gammakf->Chi2());
+      gamma.SetChi2(gammakf->Chi2());
       gamma.SetTrackLabels( fElectronv1[gammaIndex], fElectronv2[gammaIndex] );
       gamma.SetESDEvent(dynamic_cast<AliESDEvent*>(InputEvent()));    
       AddToAODBranch(fAODGamma, gamma);