Skip to content

Commit

Permalink
fix creation of the list of detectors (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt authored Aug 15, 2023
1 parent b52cd6d commit d6d214d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'Detector/DetFCCeeIDEA-LAr/compact/FCCee_DectMaster.xml',
]
for det in DETECTORS:
GEOSERVICE.detectors = [os.path.join(DETECTORPATH, det)]
GEOSERVICE.detectors += [os.path.join(DETECTORPATH, det)]
GEOSERVICE.OutputLevel = INFO
ApplicationMgr().ExtSvc += [GEOSERVICE]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
]
# prefix all xmls with path_to_detectors
for det in detectors:
geoservice.detectors = [os.path.join(path_to_detectors, det)]
geoservice.detectors += [os.path.join(path_to_detectors, det)]
geoservice.OutputLevel = WARNING


Expand Down

0 comments on commit d6d214d

Please sign in to comment.