Skip to content

Commit

Permalink
Add configurable to disable 3body tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
creetz16 committed Mar 26, 2024
1 parent d685dc8 commit 98a48a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ struct StrangenessTrackingParamConfig : public o2::conf::ConfigurableParamHelper
float mMaxChi2 = 50; // Maximum matching chi2
bool mVertexMatching = true; // Flag to enable/disable vertex matching
bool mSkipTPC = true; // Flag to enable/disable TPC only tracks
bool mSkip3Body = false; // Flag to enable/disable Decay3Body tracking

O2ParamDef(StrangenessTrackingParamConfig, "strtracker");
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,11 @@ void StrangenessTracker::process()
}

// Loop over 3bodys
for (int i3Body{0}; i3Body < mInput3BodyTracks.size(); i3Body++) {
LOG(debug) << "Analysing 3-Body: " << i3Body + 1 << "/" << mInput3BodyTracks.size();
process3Body(i3Body, mInput3BodyTracks[i3Body], mInput3BodyIndices[i3Body]);
if (!mStrParams->mSkip3Body) {
for (int i3Body{0}; i3Body < mInput3BodyTracks.size(); i3Body++) {
LOG(debug) << "Analysing 3-Body: " << i3Body + 1 << "/" << mInput3BodyTracks.size();
process3Body(i3Body, mInput3BodyTracks[i3Body], mInput3BodyIndices[i3Body]);
}
}
}

Expand Down

0 comments on commit 98a48a8

Please sign in to comment.