Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
testGeoModel Namespace Reference

Functions

def SetupArgParser ()
 
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 []
 
def chambToExclude = args.excludedChambers
 
 withDetails
 
 True
 
 summariseProps
 
 evaluate
 

Function Documentation

◆ GeoModelCscTestCfg()

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

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

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

◆ GeoModelMdtTestCfg()

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

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

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

◆ GeoModelMmTestCfg()

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

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

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

◆ GeoModelRpcTestCfg()

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

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

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

◆ GeoModelsTgcTestCfg()

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

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

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

◆ GeoModelTgcTestCfg()

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

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

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

◆ SetupArgParser()

def testGeoModel.SetupArgParser ( )

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

6 def SetupArgParser():
7  from AthenaConfiguration.TestDefaults import defaultConditionsTags, defaultGeometryTags
8 
9  from argparse import ArgumentParser
10 
11  parser = ArgumentParser()
12  parser.add_argument("--threads", type=int, help="number of threads", default=1)
13  parser.add_argument("--inputFile", "-i", default=[
14  #"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/data17_13TeV.00330470.physics_Main.daq.RAW._lb0310._SFO-1._0001.data"
15  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/EVGEN_ParticleGun_FourMuon_Pt10to500.root"
16  ],
17  help="Input file to run on ", nargs="+")
18  parser.add_argument("--geoTag", default=defaultGeometryTags.RUN3, help="Geometry tag to use", choices=[defaultGeometryTags.RUN2_BEST_KNOWLEDGE ,
19  defaultGeometryTags.RUN3])
20  parser.add_argument("--condTag", default=defaultConditionsTags.RUN3_MC, help="Conditions tag to use",
21  choices=[defaultConditionsTags.RUN3_MC,
22  defaultConditionsTags.RUN3_DATA,
23  defaultConditionsTags.RUN2_DATA,
24  defaultConditionsTags.RUN2_MC])
25  parser.add_argument("--chambers", default=["all"
26  ], nargs="+", help="Chambers to check. If string is all, all chambers will be checked")
27  parser.add_argument("--excludedChambers", default=[], nargs="+", help="Chambers to exclude. If string contains 'none', all chambers will be checked. Note: adding a chamber to --excludedChambers will overwrite it being in --chambers.")
28  parser.add_argument("--outRootFile", default="LegacyGeoModelDump.root", help="Output ROOT file to dump the geomerty")
29  parser.add_argument("--noMdt", help="Disable the Mdts from the geometry", action='store_true', default = False)
30  parser.add_argument("--noRpc", help="Disable the Rpcs from the geometry", action='store_true', default = False)
31  parser.add_argument("--noTgc", help="Disable the Tgcs from the geometry", action='store_true', default = False)
32  parser.add_argument("--noMM", help="Disable the MMs from the geometry", action='store_true', default = False)
33  parser.add_argument("--noSTGC", help="Disable the sTgcs from the geometry", action='store_true', default = False)
34 
35  return parser
36 
37 

Variable Documentation

◆ args

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

◆ AtlasVersion

testGeoModel.AtlasVersion

◆ cfg

testGeoModel.cfg = setupServicesCfg(flags)

◆ chambToExclude

def testGeoModel.chambToExclude = args.excludedChambers

◆ 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
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:74
python.MuonCablingConfig.MDTCablingConfigCfg
def MDTCablingConfigCfg(flags, name="MuonMDT_CablingAlg", **kwargs)
Definition: MuonCablingConfig.py:100
testGeoModel.GeoModelTgcTestCfg
def GeoModelTgcTestCfg(flags, name="GeoModelTgcTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:54
testGeoModel.GeoModelMdtTestCfg
def GeoModelMdtTestCfg(flags, name="GeoModelMdtTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:38
testGeoModel.GeoModelRpcTestCfg
def GeoModelRpcTestCfg(flags, name="GeoModelRpcTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:47
testGeoModel.GeoModelsTgcTestCfg
def GeoModelsTgcTestCfg(flags, name="GeoModelsTgcTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:67
testGeoModel.GeoModelMmTestCfg
def GeoModelMmTestCfg(flags, name="GeoModelMmTest", **kwargs)
Definition: MuonDetDescr/MuonGeoModelTest/python/testGeoModel.py:60