ATLAS Offline Software
Functions
python.PostIncludes Namespace Reference

Functions

def VolumeDebuggerAtlas (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def VolumeDebuggerAtlasDumpOnly (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def VolumeDebuggerITk (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def VolumeDebuggerITkPixel (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def VolumeDebuggerITkStrip (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def VolumeDebuggerHGTD (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def LengthIntegrator (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 
def ITkHitAnalysis (flags)
 
def HGTDHitAnalysis (flags)
 
def IDHitAnalysis (flags)
 
def ITkRDOAnalysis (configFlags)
 

Function Documentation

◆ HGTDHitAnalysis()

def python.PostIncludes.HGTDHitAnalysis (   flags)

Definition at line 21 of file Tools/HitAnalysis/python/PostIncludes.py.

21 def HGTDHitAnalysis(flags):
22  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
23  from HitAnalysis.HitAnalysisConfig import HGTD_HitAnalysisCfg
24 
25  result = ComponentAccumulator()
26 
27  if flags.Detector.EnableHGTD:
28  result.merge(HGTD_HitAnalysisCfg(flags))
29 
30  return result
31 
32 

◆ IDHitAnalysis()

def python.PostIncludes.IDHitAnalysis (   flags)

Definition at line 33 of file Tools/HitAnalysis/python/PostIncludes.py.

33 def IDHitAnalysis(flags):
34 
35  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
36  from HitAnalysis.HitAnalysisConfig import PixelHitAnalysisCfg, SCTHitAnalysisCfg, TRTHitAnalysisCfg
37  result = ComponentAccumulator()
38  if flags.Detector.EnablePixel:
39  result.merge(PixelHitAnalysisCfg(flags))
40  if flags.Detector.EnableSCT:
41  result.merge(SCTHitAnalysisCfg(flags))
42  if flags.Detector.EnableTRT:
43  result.merge(TRTHitAnalysisCfg(flags))
44 
45  result.getService("THistSvc").Output = []
46  if flags.Detector.EnablePixel or flags.Detector.EnableSCT:
47  result.getService("THistSvc").Output += [
48  "SiHitAnalysis DATAFILE='SiHitValid.root' OPT='RECREATE'"]
49  if flags.Detector.EnableTRT:
50  result.getService("THistSvc").Output += [
51  "TRTHitAnalysis DATAFILE='TRTHitValid.root' OPT='RECREATE'"]
52 
53  return result

◆ ITkHitAnalysis()

def python.PostIncludes.ITkHitAnalysis (   flags)

Definition at line 4 of file Tools/HitAnalysis/python/PostIncludes.py.

4 def ITkHitAnalysis(flags):
5  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6  from HitAnalysis.HitAnalysisConfig import ITkPixelHitAnalysisCfg, ITkStripHitAnalysisCfg, PLR_HitAnalysisCfg
7 
8  result = ComponentAccumulator()
9 
10  if flags.Detector.EnableITkPixel:
11  result.merge(ITkPixelHitAnalysisCfg(flags))
12 
13  if flags.Detector.EnableITkStrip:
14  result.merge(ITkStripHitAnalysisCfg(flags))
15 
16  if flags.Detector.EnablePLR:
17  result.merge(PLR_HitAnalysisCfg(flags))
18 
19  return result
20 

◆ ITkRDOAnalysis()

def python.PostIncludes.ITkRDOAnalysis (   configFlags)

Definition at line 4 of file Tools/RDOAnalysis/python/PostIncludes.py.

4 def ITkRDOAnalysis(configFlags):
5 
6  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 
8  result = ComponentAccumulator()
9 
10  if configFlags.Detector.EnableITkStrip:
11  from RDOAnalysis.RDOAnalysisConfig import ITkStripRDOAnalysisCfg
12  result.merge(ITkStripRDOAnalysisCfg(configFlags))
13 
14  if configFlags.Detector.EnableITkPixel:
15  from RDOAnalysis.RDOAnalysisConfig import ITkPixelRDOAnalysisCfg
16  result.merge(ITkPixelRDOAnalysisCfg(configFlags))
17 
18  if configFlags.Detector.EnablePLR:
19  from RDOAnalysis.RDOAnalysisConfig import PLR_RDOAnalysisCfg
20  result.merge(PLR_RDOAnalysisCfg(configFlags))
21 
22  return result

◆ LengthIntegrator()

def python.PostIncludes.LengthIntegrator (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 3 of file G4Utilities/G4UserActions/python/PostIncludes.py.

3 def LengthIntegrator(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
4  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5  from AthenaConfiguration.ComponentFactory import CompFactory
6 
7  result = ComponentAccumulator()
8 
9  #Setting up the CA for the LengthIntegrator
10  from G4UserActions.G4UserActionsConfig import LengthIntegratorToolCfg
11  actionAcc = ComponentAccumulator()
12  actions = []
13  actions += [actionAcc.popToolsAndMerge(LengthIntegratorToolCfg(configFlags))]
14  actionAcc.setPrivateTools(actions)
15  lengthIntegratorAction = result.popToolsAndMerge(actionAcc)
16 
17  actionList = lengthIntegratorAction
18  #Setting up UserActionsService
19  kwargs.setdefault("UserActionTools",actionList)
20  result.addService(CompFactory.G4UA.UserActionSvc(name, **kwargs))
21 
22  return result
23 

◆ VolumeDebuggerAtlas()

def python.PostIncludes.VolumeDebuggerAtlas (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 5 of file G4Utilities/G4DebuggingTools/python/PostIncludes.py.

5 def VolumeDebuggerAtlas(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
6  kwargs.setdefault("TargetVolume","")
7  result = VolumeDebugger(configFlags,name,**kwargs)
8  return result
9 

◆ VolumeDebuggerAtlasDumpOnly()

def python.PostIncludes.VolumeDebuggerAtlasDumpOnly (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 10 of file G4Utilities/G4DebuggingTools/python/PostIncludes.py.

10 def VolumeDebuggerAtlasDumpOnly(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
11  kwargs.setdefault("RunGeoTest", False)
12  kwargs.setdefault("TargetVolume", "")
13  kwargs.setdefault("OutputPath", "AtlasFullDump.gdml")
14  result = VolumeDebugger(configFlags,name,**kwargs)
15  return result
16 

◆ VolumeDebuggerHGTD()

def python.PostIncludes.VolumeDebuggerHGTD (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 33 of file G4Utilities/G4DebuggingTools/python/PostIncludes.py.

33 def VolumeDebuggerHGTD(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
34  kwargs.setdefault("TargetVolume","HGTD::HGTD")
35  result = VolumeDebugger(configFlags,name,**kwargs)
36  return result

◆ VolumeDebuggerITk()

def python.PostIncludes.VolumeDebuggerITk (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 17 of file G4Utilities/G4DebuggingTools/python/PostIncludes.py.

17 def VolumeDebuggerITk(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
18  kwargs.setdefault("TargetVolume","ITK::ITK")
19  result = VolumeDebugger(configFlags,name,**kwargs)
20  return result
21 

◆ VolumeDebuggerITkPixel()

def python.PostIncludes.VolumeDebuggerITkPixel (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 22 of file G4Utilities/G4DebuggingTools/python/PostIncludes.py.

22 def VolumeDebuggerITkPixel(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
23  kwargs.setdefault("TargetVolume","ITkPixel::ITkPixel")
24  result = VolumeDebugger(configFlags,name,**kwargs)
25  return result
26 

◆ VolumeDebuggerITkStrip()

def python.PostIncludes.VolumeDebuggerITkStrip (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 27 of file G4Utilities/G4DebuggingTools/python/PostIncludes.py.

27 def VolumeDebuggerITkStrip(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
28  kwargs.setdefault("TargetVolume","ITkStrip::SCT")
29  #change this eventually away from SCT once geometry tag is updated...
30  result = VolumeDebugger(configFlags,name,**kwargs)
31  return result
32 
python.PostIncludes.VolumeDebuggerHGTD
def VolumeDebuggerHGTD(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4DebuggingTools/python/PostIncludes.py:33
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.HitAnalysisConfig.SCTHitAnalysisCfg
def SCTHitAnalysisCfg(flags, name='SCTHitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:56
python.G4DebuggingToolsConfig.VolumeDebugger
def VolumeDebugger(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4DebuggingToolsConfig.py:24
python.PostIncludes.ITkHitAnalysis
def ITkHitAnalysis(flags)
Definition: Tools/HitAnalysis/python/PostIncludes.py:4
python.PostIncludes.VolumeDebuggerITkStrip
def VolumeDebuggerITkStrip(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4DebuggingTools/python/PostIncludes.py:27
python.PostIncludes.VolumeDebuggerAtlas
def VolumeDebuggerAtlas(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4DebuggingTools/python/PostIncludes.py:5
python.G4UserActionsConfig.LengthIntegratorToolCfg
def LengthIntegratorToolCfg(flags, name="G4UA::UserActionSvc.LengthIntegratorTool", **kwargs)
Definition: G4UserActionsConfig.py:107
python.RDOAnalysisConfig.ITkPixelRDOAnalysisCfg
def ITkPixelRDOAnalysisCfg(flags, name="ITkPixelRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:123
python.HitAnalysisConfig.TRTHitAnalysisCfg
def TRTHitAnalysisCfg(flags, name='TRTHitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:69
python.HitAnalysisConfig.PixelHitAnalysisCfg
def PixelHitAnalysisCfg(flags, name='PixelHitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:43
python.HitAnalysisConfig.ITkStripHitAnalysisCfg
def ITkStripHitAnalysisCfg(flags, name='ITkStripHitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:95
python.HitAnalysisConfig.HGTD_HitAnalysisCfg
def HGTD_HitAnalysisCfg(flags, name='HGTD_HitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:109
python.RDOAnalysisConfig.ITkStripRDOAnalysisCfg
def ITkStripRDOAnalysisCfg(flags, name="ITkStripRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:146
python.HitAnalysisConfig.PLR_HitAnalysisCfg
def PLR_HitAnalysisCfg(flags, name='PLR_HitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:126
python.PostIncludes.HGTDHitAnalysis
def HGTDHitAnalysis(flags)
Definition: Tools/HitAnalysis/python/PostIncludes.py:21
python.PostIncludes.VolumeDebuggerITkPixel
def VolumeDebuggerITkPixel(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4DebuggingTools/python/PostIncludes.py:22
python.PostIncludes.VolumeDebuggerITk
def VolumeDebuggerITk(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4DebuggingTools/python/PostIncludes.py:17
python.RDOAnalysisConfig.PLR_RDOAnalysisCfg
def PLR_RDOAnalysisCfg(flags, name="PLR_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:192
python.PostIncludes.LengthIntegrator
def LengthIntegrator(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4UserActions/python/PostIncludes.py:3
python.HitAnalysisConfig.ITkPixelHitAnalysisCfg
def ITkPixelHitAnalysisCfg(flags, name='ITkPixelHitAnalysis', **kwargs)
Definition: HitAnalysisConfig.py:81
python.PostIncludes.IDHitAnalysis
def IDHitAnalysis(flags)
Definition: Tools/HitAnalysis/python/PostIncludes.py:33
python.PostIncludes.ITkRDOAnalysis
def ITkRDOAnalysis(configFlags)
Definition: Tools/RDOAnalysis/python/PostIncludes.py:4
python.PostIncludes.VolumeDebuggerAtlasDumpOnly
def VolumeDebuggerAtlasDumpOnly(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4Utilities/G4DebuggingTools/python/PostIncludes.py:10