From 3b8e2a9ea9a408333ed8eb27c0b566ebd89a744c Mon Sep 17 00:00:00 2001 From: Norbert Herrmann <n.herrmann@physi.uni-heidelberg.de> Date: Mon, 4 Jan 2021 17:18:07 +0100 Subject: [PATCH] add Setter for HitIndex --- core/data/tof/CbmTofTracklet.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/data/tof/CbmTofTracklet.h b/core/data/tof/CbmTofTracklet.h index f2cad23c2e..8e7c3e6544 100644 --- a/core/data/tof/CbmTofTracklet.h +++ b/core/data/tof/CbmTofTracklet.h @@ -69,6 +69,7 @@ public: } Int_t GetTofHitIndex(Int_t ind) const { return fTofHit[ind]; } + inline void SetTofHitIndex(Int_t ind, Int_t i) { fTofHit[ind]=i; } CbmTofHit* GetTofHitPointer(Int_t ind) { return &fhit[ind]; } Int_t GetTofDetIndex(Int_t ind) const { return fTofDet[ind]; } -- GitLab