Skip to content

Commit a23664d

Browse files
authored
Update SecondaryTrackSmearer.h
1 parent 4a44e9e commit a23664d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎ALICE3/Core/SecondaryTrackSmearer.h‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,18 @@ class SecondaryTrackSmearer
5656

5757
/// Lookup clamps each coordinate to the table range; nHits must be nonnegative.
5858
/// The returned pointer is invalidated when its table is reloaded or destroyed.
59-
[[nodiscard]] const SecondaryLutEntry* getLUTEntry(int pdg, float nch, float eta, float pt, int nHits, float& interpolatedEff) const;
59+
[[nodiscard]] const SecondaryLutEntry* getLUTEntry(int pdg, float nch, float radius, float eta, float pt, int nHits, float& interpolatedEff) const;
6060
/// wasSmeared reports whether the track was modified, including rejected
6161
/// tracks when skipUnreconstructed is false.
6262
bool smearTrack(O2Track& track, const SecondaryLutEntry* entry, float interpolatedEff, bool* wasSmeared = nullptr);
63-
bool smearTrack(O2Track& track, int pdg, float nch, int nHits, bool* wasSmeared = nullptr);
63+
bool smearTrack(O2Track& track, int pdg, float nch, float radius, int nHits, bool* wasSmeared = nullptr);
6464

6565
/// Queries return NaN if no valid entry is available.
66-
[[nodiscard]] double getEfficiency(int pdg, float nch, float eta, float pt, int nHits) const;
67-
[[nodiscard]] double getPtRes(int pdg, float nch, float eta, float pt, int nHits) const;
68-
[[nodiscard]] double getEtaRes(int pdg, float nch, float eta, float pt, int nHits) const;
69-
[[nodiscard]] double getAbsPtRes(int pdg, float nch, float eta, float pt, int nHits) const;
70-
[[nodiscard]] double getAbsEtaRes(int pdg, float nch, float eta, float pt, int nHits) const;
66+
[[nodiscard]] double getEfficiency(int pdg, float nch, float radius, float eta, float pt, int nHits) const;
67+
[[nodiscard]] double getPtRes(int pdg, float nch, float radius, float eta, float pt, int nHits) const;
68+
[[nodiscard]] double getEtaRes(int pdg, float nch, float radius, float eta, float pt, int nHits) const;
69+
[[nodiscard]] double getAbsPtRes(int pdg, float nch, float radius, float eta, float pt, int nHits) const;
70+
[[nodiscard]] double getAbsEtaRes(int pdg, float nch, float radius, float eta, float pt, int nHits) const;
7171

7272
private:
7373
bool installTable(int pdg, std::unique_ptr<SecondaryLut> table, bool forceReload);

0 commit comments

Comments
 (0)