]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
SetChi2 is not yet implemented in STEER/AliAODPWG4Particle
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Dec 2010 15:12:57 +0000 (15:12 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Dec 2010 15:12:57 +0000 (15:12 +0000)
PWG4/GammaConv/AliAnalysisTaskGammaConversion.cxx

index abf0afd35097195a9e08d84d9b6e0f409b833026..9c337ffb6e1b2b282ee746a2908b84f8ac7572a6 100644 (file)
@@ -1959,7 +1959,7 @@ void AliAnalysisTaskGammaConversion::FillAODWithConversionGammas(){
       gamma.SetDetector("CTS"); //tag the gamma as reconstructed in the central barrel
       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
-      gamma.SetChi2(gammakf->Chi2());
+      //PH      gamma.SetChi2(gammakf->Chi2());
       
       AddToAODBranch(fAODGamma, gamma);
       
@@ -1970,7 +1970,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
-      gamma.SetChi2(gammakf->Chi2());
+      //PH      gamma.SetChi2(gammakf->Chi2());
       gamma.SetTrackLabels( fElectronv1[gammaIndex], fElectronv2[gammaIndex] );
       gamma.SetESDEvent(dynamic_cast<AliESDEvent*>(InputEvent()));    
       AddToAODBranch(fAODGamma, gamma);