Update for shared cluster cut (from Leticia)
authormvl <marco.van.leeuwen@cern.ch>
Sun, 2 Feb 2014 20:53:58 +0000 (21:53 +0100)
committermvl <marco.van.leeuwen@cern.ch>
Sun, 2 Feb 2014 20:53:58 +0000 (21:53 +0100)
JETAN/AliAnalysisTaskJetCluster.cxx

index 6e5f04b..aac7806 100644 (file)
@@ -1929,6 +1929,12 @@ Int_t  AliAnalysisTaskJetCluster::GetListOfTracks(TList *list,Int_t type){
        else if(fFilterType == 2)bGood = trackAOD->IsHybridGlobalConstrainedGlobal();
        if((fFilterMask>0)&&((!trackAOD->TestFilterBit(fFilterMask)||(!bGood))))continue;
         if(fRequireITSRefit){if((trackAOD->GetStatus()&AliESDtrack::kITSrefit)==0)continue;}
+         if (fApplySharedClusterCut) {
+           Double_t frac = Double_t(trackAOD->GetTPCnclsS()) /Double_t(trackAOD->GetTPCncls());
+           if (frac > 0.4) continue;
+        }
+
+
        if(TMath::Abs(trackAOD->Eta())>fTrackEtaWindow) continue;
        if(trackAOD->Pt()<fTrackPtCut) continue;
        if(fDebug) printf("pt extra track %.2f \n", trackAOD->Pt());