From e546ebb17c3b23d3cce41ad0105848e1dd5d1821 Mon Sep 17 00:00:00 2001 From: hallc-online <hallconline@gmail.com> Date: Tue, 13 Mar 2018 10:29:26 -0400 Subject: [PATCH] Modify THcSpacePoint.h Add calls: + Double_t GetStubX() {return fStub[0];}; + Double_t GetStubXP() {return fStub[2];}; + Double_t GetStubY() {return fStub[1];}; + Double_t GetStubYP() {return fStub[3];}; --- src/THcSpacePoint.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/THcSpacePoint.h b/src/THcSpacePoint.h index 57c3ce2..b14740e 100644 --- a/src/THcSpacePoint.h +++ b/src/THcSpacePoint.h @@ -67,6 +67,10 @@ public: void IncCombos() { fNCombos++; }; void SetCombos(Int_t ncombos) { fNCombos=ncombos; }; Int_t GetCombos() { return fNCombos; }; + Double_t GetStubX() {return fStub[0];}; + Double_t GetStubXP() {return fStub[2];}; + Double_t GetStubY() {return fStub[1];}; + Double_t GetStubYP() {return fStub[3];}; // This is the chamber number (1,2), not index (0,1). Sometime // we need figure out how to avoid confusion between number and index. -- GitLab