From 5795a608bdf1bd57628277c7ebc0bc3918cd7ac3 Mon Sep 17 00:00:00 2001 From: Chengdong Fu Date: Thu, 28 Dec 2023 11:16:15 +0800 Subject: [PATCH] fix for lcg102 --- Detector/DetCEPCv4/src/tracker/FTD_cepc_geo.cpp | 3 +++ Examples/options/sim-rec-trackerecal.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Detector/DetCEPCv4/src/tracker/FTD_cepc_geo.cpp b/Detector/DetCEPCv4/src/tracker/FTD_cepc_geo.cpp index 3bb1ae757..053371aac 100644 --- a/Detector/DetCEPCv4/src/tracker/FTD_cepc_geo.cpp +++ b/Detector/DetCEPCv4/src/tracker/FTD_cepc_geo.cpp @@ -563,6 +563,9 @@ static Ref_t create_element(Detector& theDetector, xml_h e, SensitiveDetector se { _dbParDisk.ZStartOuterCylinder = _z_position; } + + _dbParDisk.ZStopOuterCylinder = _zEnd; + _dbParDisk.ZStopInnerCylinder = _zEnd; break; case 7: diff --git a/Examples/options/sim-rec-trackerecal.py b/Examples/options/sim-rec-trackerecal.py index c3a8f6d68..49e79a931 100644 --- a/Examples/options/sim-rec-trackerecal.py +++ b/Examples/options/sim-rec-trackerecal.py @@ -2,6 +2,8 @@ from Gaudi.Configuration import * +import os + NTupleSvc().Output = ["MyTuples DATAFILE='sim-rec-trackerEcal.root' OPT='NEW' TYP='ROOT'"] from Configurables import RndmGenSvc, HepRndm__Engine_CLHEP__RanluxEngine_