ATLAS Offline Software
Functions
python.InDetCaloClusterROISelectorConfig Namespace Reference

Functions

def CaloClusterROIPhiRZContainerMakerCfg (flags, name="CaloClusterROIPhiRZContainerMaker", **kwargs)
 
def ITkCaloClusterROIPhiRZContainerMakerCfg (flags, name="ITkCaloClusterROIPhiRZContainerMaker", **kwargs)
 
def HadCaloClusterROIPhiRZContainerMakerCfg (flags, name="HadCaloClusterROIPhiRZContainerMaker", **kwargs)
 
def ITkHadCaloClusterROIPhiRZContainerMakerCfg (flags, name="ITkHadCaloClusterROIPhiRZContainerMaker", **kwargs)
 

Function Documentation

◆ CaloClusterROIPhiRZContainerMakerCfg()

def python.InDetCaloClusterROISelectorConfig.CaloClusterROIPhiRZContainerMakerCfg (   flags,
  name = "CaloClusterROIPhiRZContainerMaker",
**  kwargs 
)

Definition at line 7 of file InDetCaloClusterROISelectorConfig.py.

8  flags, name="CaloClusterROIPhiRZContainerMaker", **kwargs):
9  from egammaAlgs.egammaTopoClusterCopierConfig import (
10  indetTopoClusterCopierCfg)
11  result = indetTopoClusterCopierCfg(flags)
12 
13  if "CaloSurfaceBuilder" not in kwargs:
14  from CaloTrackingGeometry.CaloTrackingGeometryConfig import (
15  CaloSurfaceBuilderEntranceCfg)
16  kwargs.setdefault("CaloSurfaceBuilder", result.popToolsAndMerge(
18 
19  kwargs.setdefault("InputClusterContainerName",
20  flags.Tracking.EgammaTopoClusters)
21  kwargs.setdefault("EMEnergyOnly", True)
22 
23  OutputROIContainerName = []
24  minPt = []
25  phiWidth = []
26 
27  if flags.Tracking.BackTracking.doRoISeeded:
28  # TRT_TrackSegmentsFinder
29  # TRT_SeededTrackFinder
30  pt_cut = flags.Tracking.BackTracking.minRoIClusterEt
31  OutputROIContainerName.append(
32  'InDetCaloClusterROIPhiRZ%.0fGeVBackTracking' % (pt_cut/Units.GeV))
33  minPt.append(pt_cut)
34  # no phi ordering, no Roi duplication close to +- pi
35  phiWidth.append(0.)
36 
37  if flags.Tracking.doCaloSeededBrem:
38  OutputROIContainerName.append('InDetCaloClusterROIPhiRZ0GeV')
39  minPt.append(0)
40  # must be equal or larger than phiWidth of its clients: InDetSiTrackMaker (phiWidt)
41  phiWidth.append(flags.Tracking.phiWidthBrem)
42 
43  OutputROIContainerName.append('InDetCaloClusterROIPhiRZ5GeV')
44  minPt.append(5000)
45  # must be equal or larger than phiWidth of its clients: InDetNNScoringTool (phiWidthEM)
46  phiWidth.append(0.075)
47 
48  if flags.Tracking.doCaloSeededAmbi:
49  OutputROIContainerName.append('InDetCaloClusterROIPhiRZ10GeV')
50  minPt.append(10000)
51  # must be equal or larger than phiWidth of its clients: InDetAmbiTrackSelectionTool
52  phiWidth.append(0.05)
53 
54  kwargs.setdefault("OutputROIContainerName", OutputROIContainerName)
55  kwargs.setdefault("minPt", minPt)
56  kwargs.setdefault("phiWidth", phiWidth)
57 
58  if "egammaCaloClusterSelector" not in kwargs:
59  from egammaCaloTools.egammaCaloToolsConfig import (
60  egammaCaloClusterSelectorCfg)
61  kwargs.setdefault("egammaCaloClusterSelector", result.popToolsAndMerge(
63 
64  result.addEventAlgo(CompFactory.InDet.CaloClusterROIPhiRZContainerMaker(
65  name, **kwargs), primary=True)
66  return result
67 
68 

◆ HadCaloClusterROIPhiRZContainerMakerCfg()

def python.InDetCaloClusterROISelectorConfig.HadCaloClusterROIPhiRZContainerMakerCfg (   flags,
  name = "HadCaloClusterROIPhiRZContainerMaker",
**  kwargs 
)

Definition at line 131 of file InDetCaloClusterROISelectorConfig.py.

132  flags,
133  name="HadCaloClusterROIPhiRZContainerMaker",
134  **kwargs):
135  from egammaAlgs.egammaTopoClusterCopierConfig import (
136  indetTopoClusterCopierCfg)
137  result = indetTopoClusterCopierCfg(flags)
138 
139  kwargs.setdefault("InputClusterContainerName", "CaloCalTopoClusters")
140 
141  if "CaloSurfaceBuilder" not in kwargs:
142  from CaloTrackingGeometry.CaloTrackingGeometryConfig import (
143  CaloSurfaceBuilderEntranceCfg)
144  kwargs.setdefault("CaloSurfaceBuilder", result.popToolsAndMerge(
146 
147  OutputROIContainerName = []
148  minPt = []
149  phiWidth = []
150 
151  if flags.Tracking.doHadCaloSeededSSS:
152  OutputROIContainerName.append("InDetHadCaloClusterROIPhiRZ")
153  minPt.append(0)
154  # must be equal or larger than phiWidth of its clients: InDetSiTrackMaker (phiWidth)
155  phiWidth.append(flags.Tracking.phiWidthBrem)
156 
157  if flags.Tracking.doCaloSeededAmbi:
158  OutputROIContainerName.append("InDetHadCaloClusterROIPhiRZBjet")
159  minPt.append(0)
160  # must be equal or larger than phiWidth of its clients: InDetAmbiTrackSelectionTool
161  phiWidth.append(0.05)
162 
163  kwargs.setdefault("OutputROIContainerName", OutputROIContainerName)
164  kwargs.setdefault("minPt", minPt)
165  kwargs.setdefault("phiWidth", phiWidth)
166 
167  if "egammaCaloClusterSelector" not in kwargs:
168  from egammaCaloTools.egammaCaloToolsConfig import (
169  egammaHadCaloClusterSelectorCfg)
170  kwargs.setdefault("egammaCaloClusterSelector", result.popToolsAndMerge(
172 
173  result.addEventAlgo(CompFactory.InDet.CaloClusterROIPhiRZContainerMaker(
174  name, **kwargs), primary=True)
175  return result
176 
177 

◆ ITkCaloClusterROIPhiRZContainerMakerCfg()

def python.InDetCaloClusterROISelectorConfig.ITkCaloClusterROIPhiRZContainerMakerCfg (   flags,
  name = "ITkCaloClusterROIPhiRZContainerMaker",
**  kwargs 
)

Definition at line 69 of file InDetCaloClusterROISelectorConfig.py.

70  flags,
71  name="ITkCaloClusterROIPhiRZContainerMaker",
72  **kwargs):
73 
74  from egammaAlgs.egammaTopoClusterCopierConfig import (
75  indetTopoClusterCopierCfg)
76  result = indetTopoClusterCopierCfg(flags)
77 
78  if "CaloSurfaceBuilder" not in kwargs:
79  from CaloTrackingGeometry.CaloTrackingGeometryConfig import (
80  CaloSurfaceBuilderEntranceCfg)
81  kwargs.setdefault("CaloSurfaceBuilder", result.popToolsAndMerge(
83 
84  kwargs.setdefault("InputClusterContainerName",
85  flags.Tracking.EgammaTopoClusters)
86  kwargs.setdefault("EMEnergyOnly", True)
87 
88  OutputROIContainerName = []
89  minPt = []
90  phiWidth = []
91 
92  if flags.Tracking.doCaloSeededBrem:
93  OutputROIContainerName.append('ITkCaloClusterROIPhiRZ0GeV')
94  minPt.append(0)
95  # value from central eta bin
96  phiWidth.append(flags.Tracking.phiWidthBrem)
97  # must be equal or larger than phiWidth of its clients: InDetSiTrackMaker (phiWidth)
98 
99  OutputROIContainerName.append('ITkCaloClusterROIPhiRZ5GeV')
100  minPt.append(5000)
101  # must be equal or larger than phiWidth of its clients: InDetNNScoringTool (phiWidthEM)
102  phiWidth.append(0.075)
103 
104  if flags.Tracking.doCaloSeededAmbi:
105  OutputROIContainerName.append('ITkCaloClusterROIPhiRZ10GeV')
106  minPt.append(10000)
107  # must be equal or larger than phiWidth of its clients: InDetAmbiTrackSelectionTool
108  phiWidth.append(0.05)
109 
110  if flags.Tracking.doITkConversion or flags.Acts.doITkConversion:
111  OutputROIContainerName.append('ITkCaloClusterROIPhiRZ15GeVUnordered')
112  minPt.append(15000)
113  # no phi ordering, no Roi duplication close to +- pi
114  phiWidth.append(0.)
115 
116  kwargs.setdefault("OutputROIContainerName", OutputROIContainerName)
117  kwargs.setdefault("minPt", minPt)
118  kwargs.setdefault("phiWidth", phiWidth)
119 
120  if "egammaCaloClusterSelector" not in kwargs:
121  from egammaCaloTools.egammaCaloToolsConfig import (
122  egammaCaloClusterSelectorCfg)
123  kwargs.setdefault("egammaCaloClusterSelector", result.popToolsAndMerge(
125 
126  result.addEventAlgo(CompFactory.InDet.CaloClusterROIPhiRZContainerMaker(
127  name, **kwargs), primary=True)
128  return result
129 
130 

◆ ITkHadCaloClusterROIPhiRZContainerMakerCfg()

def python.InDetCaloClusterROISelectorConfig.ITkHadCaloClusterROIPhiRZContainerMakerCfg (   flags,
  name = "ITkHadCaloClusterROIPhiRZContainerMaker",
**  kwargs 
)

Definition at line 178 of file InDetCaloClusterROISelectorConfig.py.

179  flags,
180  name="ITkHadCaloClusterROIPhiRZContainerMaker",
181  **kwargs):
182  from egammaAlgs.egammaTopoClusterCopierConfig import (
183  indetTopoClusterCopierCfg)
184  result = indetTopoClusterCopierCfg(flags)
185 
186  kwargs.setdefault("InputClusterContainerName", "CaloCalTopoClusters")
187 
188  if "CaloSurfaceBuilder" not in kwargs:
189  from CaloTrackingGeometry.CaloTrackingGeometryConfig import (
190  CaloSurfaceBuilderEntranceCfg)
191  kwargs.setdefault("CaloSurfaceBuilder", result.popToolsAndMerge(
193 
194  OutputROIContainerName = []
195  minPt = []
196  phiWidth = []
197 
198  if flags.Tracking.doHadCaloSeededSSS:
199  OutputROIContainerName.append("ITkHadCaloClusterROIPhiRZ")
200  minPt.append(0)
201  # value from central eta bin
202  phiWidth.append(flags.Tracking.phiWidthBrem)
203  # must be equal or larger than phiWidth of its clients: InDetSiTrackMaker (phiWidth)
204 
205  if flags.Tracking.doCaloSeededAmbi:
206  OutputROIContainerName.append("ITkHadCaloClusterROIPhiRZBjet")
207  minPt.append(0)
208  # must be equal or larger than phiWidth of its clients: InDetAmbiTrackSelectionTool
209  phiWidth.append(0.05)
210 
211  kwargs.setdefault("OutputROIContainerName", OutputROIContainerName)
212  kwargs.setdefault("minPt", minPt)
213  kwargs.setdefault("phiWidth", phiWidth)
214 
215  if "egammaCaloClusterSelector" not in kwargs:
216  from egammaCaloTools.egammaCaloToolsConfig import (
217  egammaHadCaloClusterSelectorCfg)
218  kwargs.setdefault("egammaCaloClusterSelector", result.popToolsAndMerge(
220 
221  result.addEventAlgo(CompFactory.InDet.CaloClusterROIPhiRZContainerMaker(
222  name, **kwargs), primary=True)
223  return result
python.egammaCaloToolsConfig.egammaHadCaloClusterSelectorCfg
def egammaHadCaloClusterSelectorCfg(flags, name="caloClusterHadROISelector", **kwargs)
Definition: egammaCaloToolsConfig.py:70
python.InDetCaloClusterROISelectorConfig.CaloClusterROIPhiRZContainerMakerCfg
def CaloClusterROIPhiRZContainerMakerCfg(flags, name="CaloClusterROIPhiRZContainerMaker", **kwargs)
Definition: InDetCaloClusterROISelectorConfig.py:7
egammaTopoClusterCopierConfig.indetTopoClusterCopierCfg
def indetTopoClusterCopierCfg(flags, name='', **kwargs)
Definition: egammaTopoClusterCopierConfig.py:36
python.InDetCaloClusterROISelectorConfig.ITkCaloClusterROIPhiRZContainerMakerCfg
def ITkCaloClusterROIPhiRZContainerMakerCfg(flags, name="ITkCaloClusterROIPhiRZContainerMaker", **kwargs)
Definition: InDetCaloClusterROISelectorConfig.py:69
python.InDetCaloClusterROISelectorConfig.HadCaloClusterROIPhiRZContainerMakerCfg
def HadCaloClusterROIPhiRZContainerMakerCfg(flags, name="HadCaloClusterROIPhiRZContainerMaker", **kwargs)
Definition: InDetCaloClusterROISelectorConfig.py:131
python.InDetCaloClusterROISelectorConfig.ITkHadCaloClusterROIPhiRZContainerMakerCfg
def ITkHadCaloClusterROIPhiRZContainerMakerCfg(flags, name="ITkHadCaloClusterROIPhiRZContainerMaker", **kwargs)
Definition: InDetCaloClusterROISelectorConfig.py:178
python.egammaCaloToolsConfig.egammaCaloClusterSelectorCfg
def egammaCaloClusterSelectorCfg(flags, name="caloClusterROISelector", **kwargs)
Definition: egammaCaloToolsConfig.py:53
CaloTrackingGeometryConfig.CaloSurfaceBuilderEntranceCfg
def CaloSurfaceBuilderEntranceCfg(flags, name="CaloSurfaceBuilderEntrance", **kwargs)
Definition: Calorimeter/CaloTrackingGeometry/python/CaloTrackingGeometryConfig.py:11