From f0e86b0f9f569b7956e5added15bfd1a16cb9f26 Mon Sep 17 00:00:00 2001
From: hallc-online <hallconline@gmail.com>
Date: Mon, 16 Apr 2018 09:21:55 -0400
Subject: [PATCH] Updated THcDriftChamberPlane

Add call ConvertTimeToDist in SubtractStartTime method
---
 src/THcDriftChamberPlane.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/THcDriftChamberPlane.cxx b/src/THcDriftChamberPlane.cxx
index 263a3fc..6031e7f 100644
--- a/src/THcDriftChamberPlane.cxx
+++ b/src/THcDriftChamberPlane.cxx
@@ -365,6 +365,7 @@ Int_t THcDriftChamberPlane::SubtractStartTime()
      THcDCHit *thishit = (THcDCHit*) fHits->At(ihit);
      Double_t temptime= thishit->GetTime()-StartTime;
      thishit->SetTime(temptime);
+     thishit->ConvertTimeToDist();
    }
   return 0;
 }
-- 
GitLab