Skip to content
Snippets Groups Projects
Commit 152a6f45 authored by Dave Casper's avatar Dave Casper
Browse files

Correct test failures

parent 19aa2620
No related branches found
No related tags found
1 merge request!34Add dipoles to geometry, simulation and display
...@@ -26,6 +26,11 @@ if __name__ == "__main__": ...@@ -26,6 +26,11 @@ if __name__ == "__main__":
ConfigFlags.GeoModel.FaserVersion = "FASER-00" ConfigFlags.GeoModel.FaserVersion = "FASER-00"
ConfigFlags.GeoModel.GeoExportFile = "faserGeo.db" ConfigFlags.GeoModel.GeoExportFile = "faserGeo.db"
ConfigFlags.GeoModel.Align.Dynamic = False ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.Detector.SimulateVeto = True
ConfigFlags.Detector.SimulateFaserSCT = True
ConfigFlags.Detector.SimulateUpstreamDipole = True
ConfigFlags.Detector.SimulateCentralDipole = True
ConfigFlags.Detector.SimulateDownstreamDipole = True
ConfigFlags.lock() ConfigFlags.lock()
# ConfigFlags.dump() # ConfigFlags.dump()
......
#!/usr/bin/env python
"""Run tests on SCT_GeoModel configuration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
"""
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from CalypsoConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.HITS
ConfigFlags.IOVDb.GlobalTag = "OFLCOND-MC16-SDR-16"
ConfigFlags.Detector.SimulateDipole = True
ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.lock()
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from DipoleGeoModel.DipoleGeoModelConfig import DipoleGeometryCfg
acc = DipoleGeometryCfg(ConfigFlags)
f=open('DipoleGeometryCfg.pkl','w')
acc.store(f)
f.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment