ATLAS Offline Software
Functions | Variables
python.InDetCosmicsEventPhaseConfig Namespace Reference

Functions

def InDetCosmicsEventPhaseToolCfg (flags, name='InDetCosmicsEventPhaseTool', **kwargs)
 
def InDetFixedWindowTrackTimeToolCfg (flags, name='InDetFixedWindowTrackTimeTool', **kwargs)
 
def InDetSlidingWindowTrackTimeToolCfg (flags, name='InDetSlidingWindowTrackTimeTool', **kwargs)
 
def InDetCosmicsEventPhaseCfg (flags, name='InDetCosmicsEventPhase', **kwargs)
 

Variables

 flags = initConfigFlags()
 
int numThreads = 1
 
 NumThreads
 
 NumConcurrentEvents
 
 Files
 
 top_acc = MainServicesCfg(flags)
 
 iovsvc = top_acc.getService('IOVDbSvc')
 
 OutputLevel
 

Function Documentation

◆ InDetCosmicsEventPhaseCfg()

def python.InDetCosmicsEventPhaseConfig.InDetCosmicsEventPhaseCfg (   flags,
  name = 'InDetCosmicsEventPhase',
**  kwargs 
)

Definition at line 55 of file InDetCosmicsEventPhaseConfig.py.

55 def InDetCosmicsEventPhaseCfg(flags, name='InDetCosmicsEventPhase', **kwargs):
56  acc = ComponentAccumulator()
57 
58  if "TRTCalDbTool" not in kwargs:
59  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_CalDbToolCfg
60  kwargs.setdefault("TRTCalDbTool", acc.popToolsAndMerge(
61  TRT_CalDbToolCfg(flags)))
62 
63  if "TrackSummaryTool" not in kwargs:
64  from TrkConfig.TrkTrackSummaryToolConfig import InDetTrackSummaryToolCfg
65  InDetTrackSummaryTool = acc.popToolsAndMerge(InDetTrackSummaryToolCfg(flags))
66  acc.addPublicTool(InDetTrackSummaryTool)
67  kwargs.setdefault("TrackSummaryTool" , InDetTrackSummaryTool)
68 
69  if "EventPhaseTool" not in kwargs:
70  EventPhaseTool = acc.popToolsAndMerge(InDetCosmicsEventPhaseToolCfg(flags))
71  acc.addPublicTool(EventPhaseTool)
72  kwargs.setdefault("EventPhaseTool", EventPhaseTool)
73 
74  acc.addEventAlgo(CompFactory.InDet.InDetCosmicsEventPhase(name, **kwargs))
75  return acc
76 
77 

◆ InDetCosmicsEventPhaseToolCfg()

def python.InDetCosmicsEventPhaseConfig.InDetCosmicsEventPhaseToolCfg (   flags,
  name = 'InDetCosmicsEventPhaseTool',
**  kwargs 
)

Definition at line 6 of file InDetCosmicsEventPhaseConfig.py.

6 def InDetCosmicsEventPhaseToolCfg(flags, name='InDetCosmicsEventPhaseTool', **kwargs) :
7  from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig import TRTPhaseCondCfg
8  acc = TRTPhaseCondCfg(flags) # To produce input TRTCond::AverageT0 conditions
9 
10  kwargs.setdefault("UseNewEP", True)
11  kwargs.setdefault("GlobalOffset", -3.125 if flags.Input.isMC else 8)
12 
13  if "TRTCalDbTool" not in kwargs:
14  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_CalDbToolCfg
15  kwargs.setdefault("TRTCalDbTool", acc.popToolsAndMerge(
16  TRT_CalDbToolCfg(flags)))
17 
18  acc.setPrivateTools(CompFactory.InDet.InDetCosmicsEventPhaseTool(name, **kwargs))
19  return acc
20 

◆ InDetFixedWindowTrackTimeToolCfg()

def python.InDetCosmicsEventPhaseConfig.InDetFixedWindowTrackTimeToolCfg (   flags,
  name = 'InDetFixedWindowTrackTimeTool',
**  kwargs 
)

Definition at line 21 of file InDetCosmicsEventPhaseConfig.py.

21 def InDetFixedWindowTrackTimeToolCfg(flags, name='InDetFixedWindowTrackTimeTool', **kwargs) :
22  from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig import TRTPhaseCondCfg
23  acc = TRTPhaseCondCfg(flags) # To produce input TRTCond::AverageT0 conditions
24 
25  kwargs.setdefault("UseNewEP" , True)
26  kwargs.setdefault("WindowCenter" , -8.5)
27  kwargs.setdefault("WindowSize" , 7)
28  kwargs.setdefault("GlobalOffset", -3.125 if flags.Input.isMC else 8)
29 
30  if "TRTCalDbTool" not in kwargs:
31  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_CalDbToolCfg
32  kwargs.setdefault("TRTCalDbTool", acc.popToolsAndMerge(
33  TRT_CalDbToolCfg(flags)))
34 
35  acc.setPrivateTools(CompFactory.InDet.InDetFixedWindowTrackTimeTool(name, **kwargs))
36  return acc
37 

◆ InDetSlidingWindowTrackTimeToolCfg()

def python.InDetCosmicsEventPhaseConfig.InDetSlidingWindowTrackTimeToolCfg (   flags,
  name = 'InDetSlidingWindowTrackTimeTool',
**  kwargs 
)

Definition at line 38 of file InDetCosmicsEventPhaseConfig.py.

38 def InDetSlidingWindowTrackTimeToolCfg(flags, name='InDetSlidingWindowTrackTimeTool', **kwargs) :
39  from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig import TRTPhaseCondCfg
40  acc = TRTPhaseCondCfg(flags) # To produce input TRTCond::AverageT0 conditions
41 
42  kwargs.setdefault("UseNewEP" , True)
43  kwargs.setdefault("NumberIterations" , 5)
44  kwargs.setdefault("WindowSize" , 7)
45  kwargs.setdefault("GlobalOffset", -3.125 if flags.Input.isMC else 8)
46 
47  if "TRTCalDbTool" not in kwargs:
48  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_CalDbToolCfg
49  kwargs.setdefault("TRTCalDbTool", acc.popToolsAndMerge(
50  TRT_CalDbToolCfg(flags)))
51 
52  acc.setPrivateTools(CompFactory.InDet.InDetSlidingWindowTrackTimeTool(name, **kwargs))
53  return acc
54 

Variable Documentation

◆ Files

python.InDetCosmicsEventPhaseConfig.Files

Definition at line 87 of file InDetCosmicsEventPhaseConfig.py.

◆ flags

python.InDetCosmicsEventPhaseConfig.flags = initConfigFlags()

Definition at line 80 of file InDetCosmicsEventPhaseConfig.py.

◆ iovsvc

python.InDetCosmicsEventPhaseConfig.iovsvc = top_acc.getService('IOVDbSvc')

Definition at line 103 of file InDetCosmicsEventPhaseConfig.py.

◆ NumConcurrentEvents

python.InDetCosmicsEventPhaseConfig.NumConcurrentEvents

Definition at line 84 of file InDetCosmicsEventPhaseConfig.py.

◆ numThreads

int python.InDetCosmicsEventPhaseConfig.numThreads = 1

Definition at line 82 of file InDetCosmicsEventPhaseConfig.py.

◆ NumThreads

python.InDetCosmicsEventPhaseConfig.NumThreads

Definition at line 83 of file InDetCosmicsEventPhaseConfig.py.

◆ OutputLevel

python.InDetCosmicsEventPhaseConfig.OutputLevel

Definition at line 104 of file InDetCosmicsEventPhaseConfig.py.

◆ top_acc

python.InDetCosmicsEventPhaseConfig.top_acc = MainServicesCfg(flags)

Definition at line 92 of file InDetCosmicsEventPhaseConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetCosmicsEventPhaseConfig.InDetSlidingWindowTrackTimeToolCfg
def InDetSlidingWindowTrackTimeToolCfg(flags, name='InDetSlidingWindowTrackTimeTool', **kwargs)
Definition: InDetCosmicsEventPhaseConfig.py:38
python.InDetCosmicsEventPhaseConfig.InDetFixedWindowTrackTimeToolCfg
def InDetFixedWindowTrackTimeToolCfg(flags, name='InDetFixedWindowTrackTimeTool', **kwargs)
Definition: InDetCosmicsEventPhaseConfig.py:21
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.InDetCosmicsEventPhaseConfig.InDetCosmicsEventPhaseCfg
def InDetCosmicsEventPhaseCfg(flags, name='InDetCosmicsEventPhase', **kwargs)
Definition: InDetCosmicsEventPhaseConfig.py:55
python.TRT_ConditionsAlgsConfig.TRTPhaseCondCfg
def TRTPhaseCondCfg(flags, name="TRTPhaseCondAlg", **kwargs)
Definition: TRT_ConditionsAlgsConfig.py:68
python.InDetCosmicsEventPhaseConfig.InDetCosmicsEventPhaseToolCfg
def InDetCosmicsEventPhaseToolCfg(flags, name='InDetCosmicsEventPhaseTool', **kwargs)
Definition: InDetCosmicsEventPhaseConfig.py:6
python.TRT_ConditionsServicesConfig.TRT_CalDbToolCfg
def TRT_CalDbToolCfg(flags, name="TRT_CalDbTool", **kwags)
Definition: TRT_ConditionsServicesConfig.py:9