]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/EMCAL/AliEmcalPicoTrackMaker.h
use new GetTPCncls call on AOD
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalPicoTrackMaker.h
index 9ef049380dbd7f708abb18412632ff8971d0f02b..11271d34991eb84446842c194b21b0128fcc2a8f 100644 (file)
@@ -30,6 +30,7 @@ class AliEmcalPicoTrackMaker : public AliAnalysisTaskSE {
   void SetIncludeNoITS(Bool_t f)                         { fIncludeNoITS     = f   ; }
   void SetUseNegativeLabels(Bool_t f)                    { fUseNegativeLabels= f   ; }
   void SetMC(Bool_t a)                                   { fIsMC             = a   ; }
+  void SetCutMaxFractionSharedTPCClusters(Double_t c = 0.4)        { fCutMaxFractionSharedTPCClusters  = c ; }
 
  protected:
   Int_t              fAODfilterBits[2];     // AOD track filter bit map
@@ -46,6 +47,7 @@ class AliEmcalPicoTrackMaker : public AliAnalysisTaskSE {
   Bool_t             fIncludeNoITS;         // includes tracks with failed ITS refit
   Bool_t             fUseNegativeLabels;    // whether or not should use negative MC labels
   Bool_t             fIsMC;                 // whether it is a MC event or not
+  Double_t           fCutMaxFractionSharedTPCClusters;  // max fraction of shared TPC clusters
   TClonesArray      *fTracksIn;             //!track array in
   TClonesArray      *fTracksOut;            //!track array out