From 7fde24bbdc2208dca6c2436f62ee1cb5eb9eb7b0 Mon Sep 17 00:00:00 2001
From: Janis Streib <me@janis-streib.de>
Date: Fr., 19 Mai 2023 17:25:10 +0200
Subject: [PATCH] ADD: digio support

---
 src/G4Trk.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/G4Trk.cpp b/src/G4Trk.cpp
index 958b378..bdea402 100644
--- a/src/G4Trk.cpp
+++ b/src/G4Trk.cpp
@@ -125,6 +125,7 @@
     for (int a=0;a<m_numHubs;a++){
       if ((unsigned int)prs->hubList[a].GetId()==m_pframeData[i].hub){
 	prs->hubreadmap|=(0x01<<a);
+	prs->hubList[a].SetDigIOData(m_pframeData[i].dig_io);	// set digio
 	for (int j=0;j<G4_SENSORS_PER_HUB;j++){
 	  if (m_pframeData[i].stationMap&(0x01<<j))
 	    prs->hubList[a].SetPnoData(m_pframeData[i].sfd[j].pos,j);	// set it

--
Gitblit v1.9.1