From 04242df6f237c9b11d3e1b902459d69e5810115e Mon Sep 17 00:00:00 2001
From: hallc-online <hallconline@gmail.com>
Date: Sun, 15 Apr 2018 10:45:33 -0400
Subject: [PATCH] Modify THcDCTrack.h

Fix type in GetSp2_ID()
---
 src/THcDCTrack.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/THcDCTrack.h b/src/THcDCTrack.h
index e899e74..35168c9 100644
--- a/src/THcDCTrack.h
+++ b/src/THcDCTrack.h
@@ -44,7 +44,7 @@ public:
   Double_t GetXP()                 const {return fXp_fp;}
   Double_t GetYP()                 const {return fYp_fp;}
   Double_t GetSp1_ID()                 const {return fSp1_ID;}
-  Double_t GetSp2_ID()                 const {return fSp1_ID;}
+  Double_t GetSp2_ID()                 const {return fSp2_ID;}
   Double_t GetChisq()              const {return fChi2_fp;}
   void SetNFree(Int_t nfree)           {fNfree = nfree;}
   void SetCoord(Int_t ip, Double_t coord) {fCoords[ip] = coord;}
-- 
GitLab