Loading [MathJax]/jax/input/TeX/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DumpGeoConfigFlags.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 # Initial version: Feb 2025, Riccardo Maria BIANCHI
4 # <riccardo.maria.bianchi@cern.ch>
5 
6 from AthenaConfiguration.AthConfigFlags import AthConfigFlags
7 
9 
10  # Show the Treetop content
11  gcf.addFlag("GeoModel.DumpGeo.ShowTreetopContent", False, help = "Show the content of the Treetops --- (by default, only the list of Treetops is shown)")
12 
13  # Force overwrite the output .db file, if already existing
14  gcf.addFlag("GeoModel.DumpGeo.ForceOverwrite", False, help = "Force to overwrite an existing SQLite output file with the same name, if any")
15 
16  # Set a list of Detector Managers to dump.
17  gcf.addFlag("GeoModel.DumpGeo.FilterDetManagers", [], type = list, help = "Only output the GeoModel Detector Managers specified in the list")
18 
19  gcf.addFlag('GeoModel.DumpGeo.OutputFileName','', help='Provide a user defined filename for the output .db file, and override the file name built automatically from the geometry tag and the filtered Detector Managers (if any filter is applied)')
20 
21  return gcf
22 
23 if __name__ == "__main__":
24  dcf = AthConfigFlags()
26  flags.dump()
DumpGeoConfigFlags.createDumpGeoConfigFlags
def createDumpGeoConfigFlags(gcf)
Definition: DumpGeoConfigFlags.py:8