Skip to content
Snippets Groups Projects

fix: rework of track reconstruction for new EPIC tracking layout

Merged Wouter Deconinck requested to merge rework-new-epic-tracking-layout into master
Files
15
@@ -9,19 +9,15 @@ import ROOT
from Configurables import ApplicationMgr, EICDataSvc, PodioInput, PodioOutput, GeoSvc
from GaudiKernel.SystemOfUnits import MeV, GeV, mm, cm, mrad
detector_name = str(os.environ.get("DETECTOR", "athena"))
detector_name = str(os.environ.get("DETECTOR", "epic"))
detector_config = str(os.environ.get("DETECTOR_CONFIG", detector_name))
detector_version = str(os.environ.get("DETECTOR_VERSION", "master"))
detector_version = str(os.environ.get("DETECTOR_VERSION", "main"))
detector_path = str(os.environ.get("DETECTOR_PATH", "."))
compact_path = os.path.join(detector_path, detector_config)
# Detector features that affect reconstruction
has_ecal_barrel_scfi = False
if 'athena' in detector_name:
has_ecal_barrel_scfi = True
if 'ecce' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
@@ -266,7 +262,7 @@ else:
algs.append(cb_ecal_clreco)
# Central Barrel Ecal SciFi
if 'athena' in detector_name:
if has_ecal_barrel_scfi:
scfi_barrel_daq = dict(
dynamicRangeADC=50.*MeV,
capacityADC=32768,
Loading