ATLAS Offline Software
Functions | Variables
MuonHitTestConfig Namespace Reference

Functions

def MuonHitTesterCfg (flags, name="MuonHitTester", outFile="SimHitTest.root", **kwargs)
 
def MuonDigiTestCfg (flags, name="MuonDigiTester", outFile="DigiTest.root", **kwargs)
 
def MuonPileUpTestCfg (flags, name="MuonDigiTester", outFile="DigiTest.root", **kwargs)
 

Variables

 parser = SetupArgParser()
 
 help
 
 default
 
 choices
 
 nEvents
 
 inputFile
 
 outRootFile
 
 eventPrintoutLevel
 
 args = parser.parse_args()
 
 flags
 
 cfg
 

Function Documentation

◆ MuonDigiTestCfg()

def MuonHitTestConfig.MuonDigiTestCfg (   flags,
  name = "MuonDigiTester",
  outFile = "DigiTest.root",
**  kwargs 
)

Definition at line 45 of file MuonHitTestConfig.py.

45 def MuonDigiTestCfg(flags, name="MuonDigiTester", outFile="DigiTest.root", **kwargs):
46  kwargs.setdefault("MdtSimHitKey", "MDT_SDO")
47  kwargs.setdefault("RpcSimHitKey", "RPC_SDO")
48  kwargs.setdefault("TgcSimHitKey", "TGC_SDO")
49  kwargs.setdefault("MmSimHitKey", "MM_SDO")
50  kwargs.setdefault("sTgcSimHitKey", "sTGC_SDO")
51  kwargs.setdefault("dumpDigits", True)
52  return MuonHitTesterCfg(flags, name = name, outFile = outFile, **kwargs)
53 

◆ MuonHitTesterCfg()

def MuonHitTestConfig.MuonHitTesterCfg (   flags,
  name = "MuonHitTester",
  outFile = "SimHitTest.root",
**  kwargs 
)

Definition at line 6 of file MuonHitTestConfig.py.

6 def MuonHitTesterCfg(flags, name="MuonHitTester", outFile="SimHitTest.root", **kwargs):
7  result = ComponentAccumulator()
8  from MuonGeoModelTestR4.testGeoModel import setupHistSvcCfg
9  result.merge(setupHistSvcCfg(flags,outFile=outFile, outStream="MuonR4HitTest"))
10  from ActsAlignmentAlgs.AlignmentAlgsConfig import ActsGeometryContextAlgCfg
11  result.merge(ActsGeometryContextAlgCfg(flags))
12  kwargs.setdefault("isMC", flags.Input.isMC)
13 
14 
15  kwargs.setdefault("dumpPrds", False)
16  kwargs.setdefault("dumpDigits", False)
17  kwargs.setdefault("dumpSimHits", True)
18 
19 
22  kwargs.setdefault("dumpMdtSimHits", flags.Detector.GeometryMDT)
23  kwargs.setdefault("dumpRpcSimHits", flags.Detector.GeometryRPC)
24  kwargs.setdefault("dumpTgcSimHits", flags.Detector.GeometryTGC)
25  kwargs.setdefault("dumpStgcSimHits",flags.Detector.GeometrysTGC)
26  kwargs.setdefault("dumpMmSimHits", flags.Detector.GeometryMM)
27 
28 
29  kwargs.setdefault("dumpMdtDigits", flags.Detector.GeometryMDT)
30  kwargs.setdefault("dumpRpcDigits", flags.Detector.GeometryRPC)
31  kwargs.setdefault("dumpTgcDigits", flags.Detector.GeometryTGC)
32  kwargs.setdefault("dumpStgcDigits",flags.Detector.GeometrysTGC)
33  kwargs.setdefault("dumpMmDigits", flags.Detector.GeometryMM)
34 
35  kwargs.setdefault("dumpMdtPrds", flags.Detector.GeometryMDT)
36  kwargs.setdefault("dumpRpcPrds", flags.Detector.GeometryRPC)
37  kwargs.setdefault("dumpTgcPrds", flags.Detector.GeometryTGC)
38  kwargs.setdefault("dumpMmPrds", flags.Detector.GeometryMM)
39 
40  theAlg = CompFactory.MuonValR4.MuonHitTesterAlg(name, **kwargs)
41  result.addEventAlgo(theAlg, primary = True)
42  return result
43 
44 

◆ MuonPileUpTestCfg()

def MuonHitTestConfig.MuonPileUpTestCfg (   flags,
  name = "MuonDigiTester",
  outFile = "DigiTest.root",
**  kwargs 
)

Definition at line 54 of file MuonHitTestConfig.py.

54 def MuonPileUpTestCfg(flags, name="MuonDigiTester", outFile="DigiTest.root", **kwargs):
55  kwargs.setdefault("MdtSimHitKey", "Bkg_MDT_SDO")
56  kwargs.setdefault("RpcSimHitKey", "Bkg_RPC_SDO")
57  kwargs.setdefault("TgcSimHitKey", "Bkg_TGC_SDO")
58  kwargs.setdefault("MmSimHitKey", "Bkg_MM_SDO")
59  kwargs.setdefault("sTgcSimHitKey", "Bkg_sTGC_SDO")
60  kwargs.setdefault("EvtInfoKey", "Bkg_EventInfo")
61  kwargs.setdefault("dumpDigits", True)
62  return MuonHitTesterCfg(flags, name = name, outFile = outFile, **kwargs)
63 
64 

Variable Documentation

◆ args

MuonHitTestConfig.args = parser.parse_args()

Definition at line 74 of file MuonHitTestConfig.py.

◆ cfg

MuonHitTestConfig.cfg

Definition at line 75 of file MuonHitTestConfig.py.

◆ choices

MuonHitTestConfig.choices

Definition at line 68 of file MuonHitTestConfig.py.

◆ default

MuonHitTestConfig.default

Definition at line 68 of file MuonHitTestConfig.py.

◆ eventPrintoutLevel

MuonHitTestConfig.eventPrintoutLevel

Definition at line 72 of file MuonHitTestConfig.py.

◆ flags

MuonHitTestConfig.flags

Definition at line 75 of file MuonHitTestConfig.py.

◆ help

MuonHitTestConfig.help

Definition at line 68 of file MuonHitTestConfig.py.

◆ inputFile

MuonHitTestConfig.inputFile

Definition at line 70 of file MuonHitTestConfig.py.

◆ nEvents

MuonHitTestConfig.nEvents

Definition at line 69 of file MuonHitTestConfig.py.

◆ outRootFile

MuonHitTestConfig.outRootFile

Definition at line 71 of file MuonHitTestConfig.py.

◆ parser

MuonHitTestConfig.parser = SetupArgParser()

Definition at line 67 of file MuonHitTestConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.testGeoModel.setupHistSvcCfg
def setupHistSvcCfg(flags, outFile="MdtGeoDump.root", outStream="GEOMODELTESTER")
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:58
MuonHitTestConfig.MuonPileUpTestCfg
def MuonPileUpTestCfg(flags, name="MuonDigiTester", outFile="DigiTest.root", **kwargs)
Definition: MuonHitTestConfig.py:54
MuonHitTestConfig.MuonHitTesterCfg
def MuonHitTesterCfg(flags, name="MuonHitTester", outFile="SimHitTest.root", **kwargs)
Definition: MuonHitTestConfig.py:6
AlignmentAlgsConfig.ActsGeometryContextAlgCfg
def ActsGeometryContextAlgCfg(flags, name="GeometryContextAlg", **kwargs)
Setup the Geometry context algorithm.
Definition: AlignmentAlgsConfig.py:125
MuonHitTestConfig.MuonDigiTestCfg
def MuonDigiTestCfg(flags, name="MuonDigiTester", outFile="DigiTest.root", **kwargs)
Definition: MuonHitTestConfig.py:45