Skip to content
Merged
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
8 changes: 4 additions & 4 deletions PWGEM/Dilepton/Core/EMTrackCut.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Provide mandatory file documentation.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand All @@ -8,7 +8,7 @@
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

Check failure on line 11 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \author is missing, incorrect or misplaced.

Check failure on line 11 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \brief is missing, incorrect or misplaced.

Check failure on line 11 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.
//
// Class for track selection
//
Expand All @@ -31,7 +31,7 @@
#include <utility>
#include <vector>

using namespace o2::aod::pwgem::dilepton::utils::emtrackutil;

Check failure on line 34 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[using-directive]

Do not put using directives at global scope in headers.

class EMTrackCut : public TNamed
{
Expand Down Expand Up @@ -59,7 +59,7 @@
};

template <typename TTrack>
bool IsSelected(TTrack const& track) const

Check failure on line 62 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
// if (!track.hasITS() || !track.hasTPC()) {
// return false;
Expand Down Expand Up @@ -128,7 +128,7 @@
}

template <typename T>
bool IsSelectedTrack(T const& track, const EMTrackCuts& cut) const

Check failure on line 131 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
switch (cut) {
case EMTrackCuts::kTrackPtRange:
Expand All @@ -140,11 +140,11 @@
case EMTrackCuts::kTrackPhiRange:
return track.phi() > mMinTrackPhi && track.phi() < mMaxTrackPhi;

// case EMTrackCuts::kDCAxy:
// return std::fabs(track.dcaXY()) < ((mMaxDcaXYPtDep) ? mMaxDcaXYPtDep(track.pt()) : mMaxDcaXY);
// case EMTrackCuts::kDCAxy:
// return std::fabs(track.dcaXY()) < ((mMaxDcaXYPtDep) ? mMaxDcaXYPtDep(track.pt()) : mMaxDcaXY);

// case EMTrackCuts::kDCAz:
// return std::fabs(track.dcaZ()) < mMaxDcaZ;
// case EMTrackCuts::kDCAz:
// return std::fabs(track.dcaZ()) < mMaxDcaZ;

case EMTrackCuts::kTrackBit: {
// for (int i = 0; i < 10; i++) {
Expand Down Expand Up @@ -183,9 +183,9 @@
}

// Setters
void SetTrackPtRange(float minPt = 0.f, float maxPt = 1e10f);

Check failure on line 186 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetTrackEtaRange(float minEta = -1e10f, float maxEta = 1e10f);

Check failure on line 187 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetTrackPhiRange(float minPhi = 0.f, float maxPhi = 6.3f);

Check failure on line 188 in PWGEM/Dilepton/Core/EMTrackCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetMinNClustersTPC(int minNClustersTPC);
void SetMinNCrossedRowsTPC(int minNCrossedRowsTPC);
void SetMinNCrossedRowsOverFindableClustersTPC(float minNCrossedRowsOverFindableClustersTPC);
Expand Down
Loading