do not divide chi2 by ndf, can be done later and need to check with Marian
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Apr 2011 15:22:14 +0000 (15:22 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Apr 2011 15:22:14 +0000 (15:22 +0000)
ANALYSIS/AliAnalysisTaskESDfilter.cxx

index 07a80a9..6557697 100644 (file)
@@ -1023,7 +1023,7 @@ void AliAnalysisTaskESDfilter::ConvertTPCOnlyTracks(const AliESDEvent& esd)
     aodTrack->SetTPCSharedMap (track->GetTPCSharedMap());\r
     Float_t ndf = track->GetTPCNcls()+1 - 5 ;\r
     if(ndf>0){\r
-      aodTrack->SetChi2perNDF(track->GetConstrainedChi2TPC()/ndf);\r
+      aodTrack->SetChi2perNDF(track->GetConstrainedChi2TPC());\r
     }\r
     else{\r
       aodTrack->SetChi2perNDF(-1);\r