X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWG%2FEMCAL%2Fmacros%2FAddTaskMatchingChain.C;fp=PWG%2FEMCAL%2Fmacros%2FAddTaskMatchingChain.C;h=1577eb5db80b85317faad06c961fb05dbdfa3909;hb=8e6699b7d6b45a018380c6444c030c3495d126fd;hp=ef129468402a975f3f352a849466fb3113c0ad05;hpb=afaba6e2d00794db0ef6269de9c2bb4471e67b4a;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWG/EMCAL/macros/AddTaskMatchingChain.C b/PWG/EMCAL/macros/AddTaskMatchingChain.C index ef129468402..1577eb5db80 100644 --- a/PWG/EMCAL/macros/AddTaskMatchingChain.C +++ b/PWG/EMCAL/macros/AddTaskMatchingChain.C @@ -6,7 +6,8 @@ AliAnalysisTaskSE * AddTaskMatchingChain( const Bool_t doAODTrackProp = kTRUE, const Double_t maxMatchR = 0.1, const Bool_t modifyMatchObjs = kTRUE, - const Bool_t doHistos = kFALSE + const Bool_t doHistos = kFALSE, + const Int_t nCentBins = 4 ) { // Add task macros for EMCal cluster track matching @@ -70,6 +71,7 @@ AliAnalysisTaskSE * AddTaskMatchingChain( gROOT->LoadMacro("$ALICE_ROOT/PWG/EMCAL/macros/AddTaskEmcalClusTrackMatcher.C"); AliEmcalClusTrackMatcherTask *emcalClus = AddTaskEmcalClusTrackMatcher(emctracks,emcclusters,maxMatchR,modifyMatchObjs,doHistos); emcalClus->SelectCollisionCandidates(pSel); + emcalClus->SetNCentBins(nCentBins); Printf("3-- inputTracks: %s emctracks: %s emcclusters: %s",inputTracks.Data(),emctracks.Data(),emcclusters.Data());