Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions PWGEM/Dilepton/Core/DielectronCut.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ class DielectronCut : public TNamed
template <bool dont_require_pteta = false, typename TTrack>
bool IsSelectedTrack(TTrack const& track) const
{
if (!track.hasITS() || !track.hasTPC()) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the PR to remove these lines.
As there is a check, requiring a ITS and TPC hit if standalone ITS tracks not used [1], this should not have an effect for analysis in which the flag is not used.

For future PRs, there is still some need to introduce a TPC only case.
And currently there is no check for hasITS() when ITS standalone tracks are used.

[1] Line 238-240

return false;
}

if (!dont_require_pteta) {
if (!IsSelectedTrack(track, DielectronCuts::kTrackPtRange)) {
return false;
Expand Down
Loading