From 4fed1d8526465465d8fb26ea2113bf19bcd96831 Mon Sep 17 00:00:00 2001
From: Tadeas Bilka <TadeasB@users.noreply.github.com>
Date: Mon, 11 Feb 2019 02:44:46 +0100
Subject: [PATCH] Pass scatTheta to controller

---
 GBL/src/GblFitter.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GBL/src/GblFitter.cc b/GBL/src/GblFitter.cc
index dc34f6de..408ed0b2 100644
--- a/GBL/src/GblFitter.cc
+++ b/GBL/src/GblFitter.cc
@@ -460,7 +460,7 @@ double GblFitter::constructGblInfo(Track* trk, const AbsTrackRep* rep)
     
     // Call segment controller to set MS options:    
     if (m_segmentController)
-      m_segmentController->controlTrackSegment(segmentEntry, segmentExit, this);    
+      m_segmentController->controlTrackSegment(segmentEntry, segmentExit, scatTheta, this);    
     
     // Scattering options: OFF / THIN / THICK
     if (m_enableScatterers && !m_enableIntermediateScatterer) {
-- 
GitLab