ATLAS Offline Software
Functions | Variables
testGeoModel Namespace Reference

Functions

def SetupArgParser ()
 
def setupHistSvc (flags, out_file="MdtGeoDump.root")
 
def GeoModelMdtTestCfg (flags, name="GeoModelMdtTest", **kwargs)
 
def GeoModelRpcTestCfg (flags, name="GeoModelRpcTest", **kwargs)
 
def GeoModelTgcTestCfg (flags, name="GeoModelTgcTest", **kwargs)
 
def GeoModelMmTestCfg (flags, name="GeoModelMmTest", **kwargs)
 
def GeoModelsTgcTestCfg (flags, name="GeoModelsTgcTest", **kwargs)
 
def GeoModelCscTestCfg (flags, name="GeoModelCscTest", **kwargs)
 

Variables

def args = SetupArgParser().parse_args()
 
 flags = initConfigFlags()
 
 NumThreads
 
 NumConcurrentEvents
 
 Files
 
 AtlasVersion
 
 GlobalTag
 
 ShowDataDeps
 
 ShowDataFlow
 
 cfg = setupServicesCfg(flags)
 
def chambToTest = 0 else []
 
 withDetails
 
 True
 
 summariseProps
 
 evaluate
 

Function Documentation

◆ GeoModelCscTestCfg()

def testGeoModel.GeoModelCscTestCfg (   flags,
  name = "GeoModelCscTest",
**  kwargs 
)

Definition at line 77 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

77 def GeoModelCscTestCfg(flags, name = "GeoModelCscTest", **kwargs):
78  result = ComponentAccumulator()
79  if not flags.Detector.GeometryCSC: return result
80  the_alg = CompFactory.MuonGM.GeoModelCscTest(name, **kwargs)
81  result.addEventAlgo(the_alg)
82  return result
83 

◆ GeoModelMdtTestCfg()

def testGeoModel.GeoModelMdtTestCfg (   flags,
  name = "GeoModelMdtTest",
**  kwargs 
)

Definition at line 41 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

41 def GeoModelMdtTestCfg(flags, name = "GeoModelMdtTest", **kwargs):
42  result = ComponentAccumulator()
43  if not flags.Detector.GeometryMDT: return result
44  from MuonConfig.MuonCablingConfig import MDTCablingConfigCfg
45  result.merge(MDTCablingConfigCfg(flags))
46  the_alg = CompFactory.MuonGM.GeoModelMdtTest(name, **kwargs)
47  result.addEventAlgo(the_alg)
48  return result
49 

◆ GeoModelMmTestCfg()

def testGeoModel.GeoModelMmTestCfg (   flags,
  name = "GeoModelMmTest",
**  kwargs 
)

Definition at line 63 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

63 def GeoModelMmTestCfg(flags,name = "GeoModelMmTest", **kwargs):
64  result = ComponentAccumulator()
65  if not flags.Detector.GeometryMM: return result
66  the_alg = CompFactory.MuonGM.GeoModelMmTest(name, **kwargs)
67  result.addEventAlgo(the_alg)
68  return result
69 

◆ GeoModelRpcTestCfg()

def testGeoModel.GeoModelRpcTestCfg (   flags,
  name = "GeoModelRpcTest",
**  kwargs 
)

Definition at line 50 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

50 def GeoModelRpcTestCfg(flags,name = "GeoModelRpcTest", **kwargs):
51  result = ComponentAccumulator()
52  if not flags.Detector.GeometryRPC: return result
53  the_alg = CompFactory.MuonGM.GeoModelRpcTest(name, **kwargs)
54  result.addEventAlgo(the_alg)
55  return result
56 

◆ GeoModelsTgcTestCfg()

def testGeoModel.GeoModelsTgcTestCfg (   flags,
  name = "GeoModelsTgcTest",
**  kwargs 
)

Definition at line 70 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

70 def GeoModelsTgcTestCfg(flags, name = "GeoModelsTgcTest", **kwargs):
71  result = ComponentAccumulator()
72  if not flags.Detector.GeometrysTGC: return result
73  the_alg = CompFactory.MuonGM.GeoModelsTgcTest(name, **kwargs)
74  result.addEventAlgo(the_alg)
75  return result
76 

◆ GeoModelTgcTestCfg()

def testGeoModel.GeoModelTgcTestCfg (   flags,
  name = "GeoModelTgcTest",
**  kwargs 
)

Definition at line 57 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

57 def GeoModelTgcTestCfg(flags,name = "GeoModelTgcTest", **kwargs):
58  result = ComponentAccumulator()
59  if not flags.Detector.GeometryTGC: return result
60  the_alg = CompFactory.MuonGM.GeoModelTgcTest(name, **kwargs)
61  result.addEventAlgo(the_alg)
62  return result

◆ SetupArgParser()

def testGeoModel.SetupArgParser ( )

Definition at line 6 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

6 def SetupArgParser():
7  from argparse import ArgumentParser
8 
9  parser = ArgumentParser()
10  parser.add_argument("--threads", type=int, help="number of threads", default=1)
11  parser.add_argument("--inputFile", "-i", default=[
12  #"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/data17_13TeV.00330470.physics_Main.daq.RAW._lb0310._SFO-1._0001.data"
13  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/EVGEN_ParticleGun_FourMuon_Pt10to500.root"
14  ],
15  help="Input file to run on ", nargs="+")
16  parser.add_argument("--geoTag", default="ATLAS-R3S-2021-03-02-00", help="Geometry tag to use", choices=["ATLAS-R2-2016-01-02-01",
17  "ATLAS-R3S-2021-03-02-00"])
18  parser.add_argument("--condTag", default="OFLCOND-MC23-SDR-RUN3-02", help="Conditions tag to use",
19  choices=["OFLCOND-MC16-SDR-RUN2-11",
20  "OFLCOND-MC23-SDR-RUN3-02",
21  "CONDBR2-BLKPA-2023-02",
22  "CONDBR2-BLKPA-RUN2-11"])
23  parser.add_argument("--chambers", default=["all"
24  ], nargs="+", help="Chambers to check. If string is all, all chambers will be checked")
25  parser.add_argument("--outRootFile", default="LegacyGeoModelDump.root", help="Output ROOT file to dump the geomerty")
26  parser.add_argument("--noMdt", help="Disable the Mdts from the geometry", action='store_true', default = False)
27  parser.add_argument("--noRpc", help="Disable the Rpcs from the geometry", action='store_true', default = False)
28  parser.add_argument("--noTgc", help="Disable the Tgcs from the geometry", action='store_true', default = False)
29  parser.add_argument("--noMM", help="Disable the MMs from the geometry", action='store_true', default = False)
30  parser.add_argument("--noSTGC", help="Disable the sTgcs from the geometry", action='store_true', default = False)
31 
32  return parser
33 

◆ setupHistSvc()

def testGeoModel.setupHistSvc (   flags,
  out_file = "MdtGeoDump.root" 
)

Definition at line 34 of file MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py.

34 def setupHistSvc(flags, out_file="MdtGeoDump.root"):
35  result = ComponentAccumulator()
36  if len(out_file) == 0: return result
37  histSvc = CompFactory.THistSvc(Output=["GEOMODELTESTER DATAFILE='{out_file}', OPT='RECREATE'".format(out_file = out_file)])
38  result.addService(histSvc, primary=True)
39  return result
40 

Variable Documentation

◆ args

def testGeoModel.args = SetupArgParser().parse_args()

◆ AtlasVersion

testGeoModel.AtlasVersion

◆ cfg

testGeoModel.cfg = setupServicesCfg(flags)

◆ chambToTest

def testGeoModel.chambToTest = 0 else []

◆ evaluate

testGeoModel.evaluate

◆ Files

testGeoModel.Files

◆ flags

testGeoModel.flags = initConfigFlags()

◆ GlobalTag

testGeoModel.GlobalTag

◆ NumConcurrentEvents

testGeoModel.NumConcurrentEvents

◆ NumThreads

testGeoModel.NumThreads

◆ ShowDataDeps

testGeoModel.ShowDataDeps

◆ ShowDataFlow

testGeoModel.ShowDataFlow

◆ summariseProps

testGeoModel.summariseProps

◆ True

testGeoModel.True

◆ withDetails

testGeoModel.withDetails
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
vtune_athena.format
format
Definition: vtune_athena.py:14
testGeoModel.SetupArgParser
def SetupArgParser()
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:6
testGeoModel.GeoModelCscTestCfg
def GeoModelCscTestCfg(flags, name="GeoModelCscTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:77
python.MuonCablingConfig.MDTCablingConfigCfg
def MDTCablingConfigCfg(flags, name="MuonMDT_CablingAlg", **kwargs)
Definition: MuonCablingConfig.py:91
testGeoModel.GeoModelTgcTestCfg
def GeoModelTgcTestCfg(flags, name="GeoModelTgcTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:57
testGeoModel.GeoModelMdtTestCfg
def GeoModelMdtTestCfg(flags, name="GeoModelMdtTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:41
testGeoModel.GeoModelRpcTestCfg
def GeoModelRpcTestCfg(flags, name="GeoModelRpcTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:50
testGeoModel.GeoModelsTgcTestCfg
def GeoModelsTgcTestCfg(flags, name="GeoModelsTgcTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:70
testGeoModel.setupHistSvc
def setupHistSvc(flags, out_file="MdtGeoDump.root")
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:34
testGeoModel.GeoModelMmTestCfg
def GeoModelMmTestCfg(flags, name="GeoModelMmTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:63