Skip to content

Commit

Permalink
Added pointer (0 in default version) for revertexing cuts
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 authored and hristov committed Jan 27, 2014
1 parent b99f866 commit 4383deb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ANALYSIS/macros/AODtrain.C
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ Bool_t doPIDqa = 1; //new
//==============================================================================
TString configPWGHFd2h = (iCollision==0)?"$ALICE_ROOT/PWGHF/vertexingHF/ConfigVertexingHF.C"
:"$ALICE_ROOT/PWGHF/vertexingHF/ConfigVertexingHF_highmult.C";



Double_t *cutsESDfilterReVtx = 0; // optional cuts for revertexing

// Temporaries.
void AODmerge();
void AddAnalysisTasks();
Expand Down Expand Up @@ -217,7 +220,7 @@ void AddAnalysisTasks(const char *cdb_location){
} else {
taskesdfilter = AddTaskESDFilter(useKFILTER, kFALSE, kFALSE, kFALSE /*usePhysicsSelection*/,kFALSE,kTRUE,kFALSE,kFALSE,run_flag); // others
}
if (iESDfilterReVtx>=0 && taskesdfilter) taskesdfilter->SetRefitVertexTracks(iESDfilterReVtx);
if (iESDfilterReVtx>=0 && taskesdfilter) taskesdfilter->SetRefitVertexTracks(iESDfilterReVtx, cutsESDfilterReVtx);
}

// ********** PWG3 wagons ******************************************************
Expand Down

0 comments on commit 4383deb

Please sign in to comment.