ATLAS Offline Software
Functions
python.RDOAnalysisConfig Namespace Reference

Functions

def RDOAnalysisOutputCfg (flags, output_name="RDOAnalysis")
 
def EventInfoRDOAnalysisCfg (flags, name="EventInfoRDOAnalysis", **kwargs)
 
def BCM_RDOAnalysisCfg (flags, name="BCM_RDOAnalysis", **kwargs)
 
def PixelRDOAnalysisCfg (flags, name="PixelRDOAnalysis", **kwargs)
 
def SCT_RDOAnalysisCfg (flags, name="SCT_RDOAnalysis", **kwargs)
 
def TRT_RDOAnalysisCfg (flags, name="TRT_RDOAnalysis", **kwargs)
 
def ITkPixelRDOAnalysisCfg (flags, name="ITkPixelRDOAnalysis", **kwargs)
 
def ITkStripRDOAnalysisCfg (flags, name="ITkStripRDOAnalysis", **kwargs)
 
def HGTD_RDOAnalysisCfg (flags, name="HGTD_RDOAnalysis", **kwargs)
 
def PLR_RDOAnalysisCfg (flags, name="PLR_RDOAnalysis", **kwargs)
 
def RDOAnalysisCfg (flags)
 
def LArRDOAnalysisCfg (flags, name="LArRDOAnalysis", **kwargs)
 
def TileRDOAnalysisCfg (flags, name="TileRDOAnalysis", **kwargs)
 
def CSC_RDOAnalysisCfg (flags, name="CSC_RDOAnalysis", **kwargs)
 
def MDT_RDOAnalysisCfg (flags, name="MDT_RDOAnalysis", **kwargs)
 
def RPC_RDOAnalysisCfg (flags, name="RPC_RDOAnalysis", **kwargs)
 
def TGC_RDOAnalysisCfg (flags, name="TGC_RDOAnalysis", **kwargs)
 

Function Documentation

◆ BCM_RDOAnalysisCfg()

def python.RDOAnalysisConfig.BCM_RDOAnalysisCfg (   flags,
  name = "BCM_RDOAnalysis",
**  kwargs 
)

Definition at line 33 of file RDOAnalysisConfig.py.

33 def BCM_RDOAnalysisCfg(flags, name="BCM_RDOAnalysis", **kwargs):
34  from PixelGeoModel.PixelGeoModelConfig import PixelReadoutGeometryCfg
35  result = PixelReadoutGeometryCfg(flags)
36 
37  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
38  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
39  kwargs.setdefault("NtupleTreeName", "BCM")
40  kwargs.setdefault("HistPath", "/RDOAnalysis/BCM/")
41  prefix=''
42  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
43  prefix=flags.Overlay.BkgPrefix
44  kwargs.setdefault("InputKey", f"{prefix}BCM_RDOs")
45  kwargs.setdefault("InputTruthKey", f"{prefix}BCM_SDO_Map")
46 
47  result.addEventAlgo(CompFactory.BCM_RDOAnalysis(name, **kwargs))
48 
49  result.merge(RDOAnalysisOutputCfg(flags))
50 
51  return result
52 
53 

◆ CSC_RDOAnalysisCfg()

def python.RDOAnalysisConfig.CSC_RDOAnalysisCfg (   flags,
  name = "CSC_RDOAnalysis",
**  kwargs 
)

Definition at line 310 of file RDOAnalysisConfig.py.

310 def CSC_RDOAnalysisCfg(flags, name="CSC_RDOAnalysis", **kwargs):
311  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
312  result = MuonGeoModelCfg(flags)
313 
314  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
315  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
316  kwargs.setdefault("NtupleTreeName", "CSC")
317  kwargs.setdefault("HistPath", "/RDOAnalysis/CSC/")
318  prefix=''
319  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
320  prefix=flags.Overlay.BkgPrefix
321  kwargs.setdefault("InputKey", f"{prefix}CSCRDO")
322  kwargs.setdefault("InputTruthKey", f"{prefix}CSC_SDO")
323 
324  result.addEventAlgo(CompFactory.CSC_RDOAnalysis(name, **kwargs))
325 
326  result.merge(RDOAnalysisOutputCfg(flags))
327 
328  return result
329 
330 

◆ EventInfoRDOAnalysisCfg()

def python.RDOAnalysisConfig.EventInfoRDOAnalysisCfg (   flags,
  name = "EventInfoRDOAnalysis",
**  kwargs 
)

Definition at line 18 of file RDOAnalysisConfig.py.

18 def EventInfoRDOAnalysisCfg(flags, name="EventInfoRDOAnalysis", **kwargs):
19  result = ComponentAccumulator()
20 
21  kwargs.setdefault("NtuplePath", "/RDOAnalysis/ntuples/")
22  kwargs.setdefault("HistPath", "/RDOAnalysis/histos/")
23  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
24  kwargs.setdefault("EventInfo", f"{flags.Overlay.BkgPrefix}EventInfo")
25 
26  result.addEventAlgo(CompFactory.EventInfoRDOAnalysis(name, **kwargs))
27 
28  result.merge(RDOAnalysisOutputCfg(flags))
29 
30  return result
31 
32 

◆ HGTD_RDOAnalysisCfg()

def python.RDOAnalysisConfig.HGTD_RDOAnalysisCfg (   flags,
  name = "HGTD_RDOAnalysis",
**  kwargs 
)

Definition at line 169 of file RDOAnalysisConfig.py.

169 def HGTD_RDOAnalysisCfg(flags, name="HGTD_RDOAnalysis", **kwargs):
170  from HGTD_GeoModelXml.HGTD_GeoModelConfig import HGTD_ReadoutGeometryCfg
171  result = HGTD_ReadoutGeometryCfg(flags)
172 
173  kwargs.setdefault("NtuplePath", "/RDOAnalysis/ntuples/")
174  kwargs.setdefault("HistPath", "/RDOAnalysis/HGTD/")
175  kwargs.setdefault("SharedHistPath", "/RDOAnalysis/histos/")
176  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
177  kwargs.setdefault("CollectionName", f"{flags.Overlay.BkgPrefix}HGTD_RDOs")
178  kwargs.setdefault("SDOCollectionName", f"{flags.Overlay.BkgPrefix}HGTD_SDO_Map")
179  kwargs.setdefault("McEventCollectionName", f"{flags.Overlay.BkgPrefix}TruthEvent")
180  else:
181  kwargs.setdefault("CollectionName", "HGTD_RDOs")
182  kwargs.setdefault("SDOCollectionName", "HGTD_SDO_Map")
183  kwargs.setdefault("McEventCollectionName", "TruthEvent")
184 
185  result.addEventAlgo(CompFactory.HGTD_RDOAnalysis(name, **kwargs))
186 
187  result.merge(RDOAnalysisOutputCfg(flags))
188 
189  return result
190 
191 

◆ ITkPixelRDOAnalysisCfg()

def python.RDOAnalysisConfig.ITkPixelRDOAnalysisCfg (   flags,
  name = "ITkPixelRDOAnalysis",
**  kwargs 
)

Definition at line 123 of file RDOAnalysisConfig.py.

123 def ITkPixelRDOAnalysisCfg(flags, name="ITkPixelRDOAnalysis", **kwargs):
124  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
125  result = ITkPixelReadoutGeometryCfg(flags)
126 
127  kwargs.setdefault("NtuplePath", "/RDOAnalysis/ntuples/")
128  kwargs.setdefault("HistPath", "/RDOAnalysis/ITkPixel/")
129  kwargs.setdefault("SharedHistPath", "/RDOAnalysis/histos/")
130  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
131  kwargs.setdefault("CollectionName", f"{flags.Overlay.BkgPrefix}ITkPixelRDOs")
132  kwargs.setdefault("SDOCollectionName", f"{flags.Overlay.BkgPrefix}ITkPixelSDO_Map")
133  kwargs.setdefault("McEventCollectionName", f"{flags.Overlay.BkgPrefix}TruthEvent")
134  else:
135  kwargs.setdefault("CollectionName", "ITkPixelRDOs")
136  kwargs.setdefault("SDOCollectionName", "ITkPixelSDO_Map")
137  kwargs.setdefault("McEventCollectionName", "TruthEvent")
138 
139  result.addEventAlgo(CompFactory.ITk.PixelRDOAnalysis(name, **kwargs))
140 
141  result.merge(RDOAnalysisOutputCfg(flags))
142 
143  return result
144 
145 

◆ ITkStripRDOAnalysisCfg()

def python.RDOAnalysisConfig.ITkStripRDOAnalysisCfg (   flags,
  name = "ITkStripRDOAnalysis",
**  kwargs 
)

Definition at line 146 of file RDOAnalysisConfig.py.

146 def ITkStripRDOAnalysisCfg(flags, name="ITkStripRDOAnalysis", **kwargs):
147  from StripGeoModelXml.ITkStripGeoModelConfig import ITkStripReadoutGeometryCfg
148  result = ITkStripReadoutGeometryCfg(flags)
149 
150  kwargs.setdefault("NtuplePath", "/RDOAnalysis/ntuples/")
151  kwargs.setdefault("HistPath", "/RDOAnalysis/ITkStrip/")
152  kwargs.setdefault("SharedHistPath", "/RDOAnalysis/histos/")
153  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
154  kwargs.setdefault("CollectionName", f"{flags.Overlay.BkgPrefix}ITkStripRDOs")
155  kwargs.setdefault("SDOCollectionName", f"{flags.Overlay.BkgPrefix}ITkStripSDO_Map")
156  kwargs.setdefault("McEventCollectionName", f"{flags.Overlay.BkgPrefix}TruthEvent")
157  else:
158  kwargs.setdefault("CollectionName", "ITkStripRDOs")
159  kwargs.setdefault("SDOCollectionName", "ITkStripSDO_Map")
160  kwargs.setdefault("McEventCollectionName", "TruthEvent")
161 
162  result.addEventAlgo(CompFactory.ITk.StripRDOAnalysis(name, **kwargs))
163 
164  result.merge(RDOAnalysisOutputCfg(flags))
165 
166  return result
167 
168 

◆ LArRDOAnalysisCfg()

def python.RDOAnalysisConfig.LArRDOAnalysisCfg (   flags,
  name = "LArRDOAnalysis",
**  kwargs 
)

Definition at line 247 of file RDOAnalysisConfig.py.

247 def LArRDOAnalysisCfg(flags, name="LArRDOAnalysis", **kwargs):
248  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
249  result = LArGMCfg(flags)
250 
251  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
252  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
253  kwargs.setdefault("NtupleTreeName", "LAr")
254  kwargs.setdefault("HistPath", "/RDOAnalysis/LAr/")
255  prefix=''
256  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
257  kwargs.setdefault("PreSampling", True)
258  prefix=flags.Overlay.BkgPrefix
259  kwargs.setdefault("InputRawChannelKey", '') # Not in presampled RDO files
260  kwargs.setdefault("InputTTL1HADKey", '') # Not in presampled RDO files
261  kwargs.setdefault("InputTTL1EMKey", '') # Not in presampled RDO files
262  kwargs.setdefault("InputRawChannelKey", "LArRawChannels")
263  kwargs.setdefault("InputTTL1HADKey", "LArTTL1HAD")
264  kwargs.setdefault("InputTTL1EMKey", "LArTTL1EM")
265  kwargs.setdefault("InputDigitKey", f"{prefix}LArDigitContainer_MC_Thinned")
266 
267  result.addEventAlgo(CompFactory.LArRDOAnalysis(name, **kwargs))
268 
269  result.merge(RDOAnalysisOutputCfg(flags))
270 
271  return result
272 
273 

◆ MDT_RDOAnalysisCfg()

def python.RDOAnalysisConfig.MDT_RDOAnalysisCfg (   flags,
  name = "MDT_RDOAnalysis",
**  kwargs 
)

Definition at line 331 of file RDOAnalysisConfig.py.

331 def MDT_RDOAnalysisCfg(flags, name="MDT_RDOAnalysis", **kwargs):
332  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
333  result = MuonGeoModelCfg(flags)
334 
335  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
336  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
337  kwargs.setdefault("NtupleTreeName", "MDT")
338  kwargs.setdefault("HistPath", "/RDOAnalysis/MDT/")
339  prefix=''
340  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
341  prefix=flags.Overlay.BkgPrefix
342  kwargs.setdefault("InputKey", f"{prefix}MDTCSM")
343  kwargs.setdefault("InputTruthKey", f"{prefix}MDT_SDO")
344 
345  result.addEventAlgo(CompFactory.MDT_RDOAnalysis(name, **kwargs))
346 
347  result.merge(RDOAnalysisOutputCfg(flags))
348 
349  return result
350 
351 

◆ PixelRDOAnalysisCfg()

def python.RDOAnalysisConfig.PixelRDOAnalysisCfg (   flags,
  name = "PixelRDOAnalysis",
**  kwargs 
)

Definition at line 54 of file RDOAnalysisConfig.py.

54 def PixelRDOAnalysisCfg(flags, name="PixelRDOAnalysis", **kwargs):
55  from PixelGeoModel.PixelGeoModelConfig import PixelReadoutGeometryCfg
56  result = PixelReadoutGeometryCfg(flags)
57 
58  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
59  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
60  kwargs.setdefault("NtupleTreeName", "Pixel")
61  kwargs.setdefault("HistPath", "/RDOAnalysis/Pixel/")
62  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
63  kwargs.setdefault("InputKey", f"{flags.Overlay.BkgPrefix}PixelRDOs")
64  kwargs.setdefault("InputTruthKey", f"{flags.Overlay.BkgPrefix}PixelSDO_Map")
65  kwargs.setdefault("InputMcEventCollectionKey", f"{flags.Overlay.BkgPrefix}TruthEvent")
66  else:
67  kwargs.setdefault("InputKey", "PixelRDOs")
68  kwargs.setdefault("InputTruthKey", "PixelSDO_Map")
69  kwargs.setdefault("InputMcEventCollectionKey", "TruthEvent")
70 
71  result.addEventAlgo(CompFactory.PixelRDOAnalysis(name, **kwargs))
72 
73  result.merge(RDOAnalysisOutputCfg(flags))
74 
75  return result
76 
77 

◆ PLR_RDOAnalysisCfg()

def python.RDOAnalysisConfig.PLR_RDOAnalysisCfg (   flags,
  name = "PLR_RDOAnalysis",
**  kwargs 
)

Definition at line 192 of file RDOAnalysisConfig.py.

192 def PLR_RDOAnalysisCfg(flags, name="PLR_RDOAnalysis", **kwargs):
193  from PLRGeoModelXml.PLR_GeoModelConfig import PLR_ReadoutGeometryCfg
194  result = PLR_ReadoutGeometryCfg(flags)
195 
196  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
197  kwargs.setdefault("CollectionName", f"{flags.Overlay.BkgPrefix}PLR_RDOs")
198  kwargs.setdefault("SDOCollectionName", f"{flags.Overlay.BkgPrefix}PLR_SDO_Map")
199  kwargs.setdefault("McEventCollectionName", f"{flags.Overlay.BkgPrefix}TruthEvent")
200  else:
201  kwargs.setdefault("CollectionName", "PLR_RDOs")
202  kwargs.setdefault("SDOCollectionName", "PLR_SDO_Map")
203  kwargs.setdefault("McEventCollectionName", "TruthEvent")
204  kwargs.setdefault("HistPath", "/RDOAnalysis/PLR/")
205  kwargs.setdefault("SharedHistPath", "/RDOAnalysis/histos/")
206  kwargs.setdefault("NtuplePath", "/RDOAnalysis/ntuples/")
207  kwargs.setdefault("NtupleName", "PLR")
208  kwargs.setdefault("DetectorName", "PLR")
209  kwargs.setdefault("PixelIDName", "PLR_ID")
210 
211  result.addEventAlgo(CompFactory.ITk.PixelRDOAnalysis(name, **kwargs))
212 
213  result.merge(RDOAnalysisOutputCfg(flags))
214 
215  return result
216 
217 

◆ RDOAnalysisCfg()

def python.RDOAnalysisConfig.RDOAnalysisCfg (   flags)

Definition at line 218 of file RDOAnalysisConfig.py.

218 def RDOAnalysisCfg(flags):
219  acc = ComponentAccumulator()
220 
221  acc.merge(EventInfoRDOAnalysisCfg(flags))
222 
223  if flags.Detector.EnablePixel:
224  acc.merge(PixelRDOAnalysisCfg(flags))
225 
226  if flags.Detector.EnableSCT:
227  acc.merge(SCT_RDOAnalysisCfg(flags))
228 
229  if flags.Detector.EnableTRT:
230  acc.merge(TRT_RDOAnalysisCfg(flags))
231 
232  if flags.Detector.EnableITkPixel:
233  acc.merge(ITkPixelRDOAnalysisCfg(flags))
234 
235  if flags.Detector.EnableITkStrip:
236  acc.merge(ITkStripRDOAnalysisCfg(flags))
237 
238  if flags.Detector.EnableHGTD:
239  acc.merge(HGTD_RDOAnalysisCfg(flags))
240 
241  if flags.Detector.EnablePLR:
242  acc.merge(PLR_RDOAnalysisCfg(flags))
243 
244  return acc
245 
246 

◆ RDOAnalysisOutputCfg()

def python.RDOAnalysisConfig.RDOAnalysisOutputCfg (   flags,
  output_name = "RDOAnalysis" 
)

Definition at line 8 of file RDOAnalysisConfig.py.

8 def RDOAnalysisOutputCfg(flags, output_name="RDOAnalysis"):
9  result = ComponentAccumulator()
10 
11  histsvc = CompFactory.THistSvc(name="THistSvc",
12  Output=[ f"{output_name} DATAFILE='{flags.Output.HISTFileName}' OPT='RECREATE'" ])
13  result.addService(histsvc)
14 
15  return result
16 
17 

◆ RPC_RDOAnalysisCfg()

def python.RDOAnalysisConfig.RPC_RDOAnalysisCfg (   flags,
  name = "RPC_RDOAnalysis",
**  kwargs 
)

Definition at line 352 of file RDOAnalysisConfig.py.

352 def RPC_RDOAnalysisCfg(flags, name="RPC_RDOAnalysis", **kwargs):
353  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
354  result = MuonGeoModelCfg(flags)
355 
356  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
357  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
358  kwargs.setdefault("NtupleTreeName", "RPC")
359  kwargs.setdefault("HistPath", "/RDOAnalysis/RPC/")
360  prefix=''
361  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
362  prefix=flags.Overlay.BkgPrefix
363  kwargs.setdefault("InputKey", f"{prefix}RPCPAD")
364  kwargs.setdefault("InputTruthKey", f"{prefix}RPC_SDO")
365 
366  result.addEventAlgo(CompFactory.RPC_RDOAnalysis(name, **kwargs))
367 
368  result.merge(RDOAnalysisOutputCfg(flags))
369 
370  return result
371 
372 

◆ SCT_RDOAnalysisCfg()

def python.RDOAnalysisConfig.SCT_RDOAnalysisCfg (   flags,
  name = "SCT_RDOAnalysis",
**  kwargs 
)

Definition at line 78 of file RDOAnalysisConfig.py.

78 def SCT_RDOAnalysisCfg(flags, name="SCT_RDOAnalysis", **kwargs):
79  from SCT_GeoModel.SCT_GeoModelConfig import SCT_ReadoutGeometryCfg
80  result = SCT_ReadoutGeometryCfg(flags)
81 
82  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
83  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
84  kwargs.setdefault("NtupleTreeName", "SCT")
85  kwargs.setdefault("HistPath", "/RDOAnalysis/SCT/")
86  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
87  kwargs.setdefault("InputKey", f"{flags.Overlay.BkgPrefix}SCT_RDOs")
88  kwargs.setdefault("InputTruthKey", f"{flags.Overlay.BkgPrefix}SCT_SDO_Map")
89  kwargs.setdefault("InputMcEventCollectionKey", f"{flags.Overlay.BkgPrefix}TruthEvent")
90  else:
91  kwargs.setdefault("InputKey", "SCT_RDOs")
92  kwargs.setdefault("InputTruthKey", "SCT_SDO_Map")
93  kwargs.setdefault("InputMcEventCollectionKey", "TruthEvent")
94 
95  result.addEventAlgo(CompFactory.SCT_RDOAnalysis(name, **kwargs))
96 
97  result.merge(RDOAnalysisOutputCfg(flags))
98 
99  return result
100 
101 

◆ TGC_RDOAnalysisCfg()

def python.RDOAnalysisConfig.TGC_RDOAnalysisCfg (   flags,
  name = "TGC_RDOAnalysis",
**  kwargs 
)

Definition at line 373 of file RDOAnalysisConfig.py.

373 def TGC_RDOAnalysisCfg(flags, name="TGC_RDOAnalysis", **kwargs):
374  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
375  result = MuonGeoModelCfg(flags)
376 
377  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
378  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
379  kwargs.setdefault("NtupleTreeName", "TGC")
380  kwargs.setdefault("HistPath", "/RDOAnalysis/TGC/")
381  prefix=''
382  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
383  prefix=flags.Overlay.BkgPrefix
384  kwargs.setdefault("InputKey", f"{prefix}TGCRDO")
385  kwargs.setdefault("InputTruthKey", f"{prefix}TGC_SDO")
386 
387  result.addEventAlgo(CompFactory.TGC_RDOAnalysis(name, **kwargs))
388 
389  result.merge(RDOAnalysisOutputCfg(flags))
390 
391  return result

◆ TileRDOAnalysisCfg()

def python.RDOAnalysisConfig.TileRDOAnalysisCfg (   flags,
  name = "TileRDOAnalysis",
**  kwargs 
)

Definition at line 274 of file RDOAnalysisConfig.py.

274 def TileRDOAnalysisCfg(flags, name="TileRDOAnalysis", **kwargs):
275  from TileGeoModel.TileGMConfig import TileGMCfg
276  result = TileGMCfg(flags)
277  from TileConditions.TileCablingSvcConfig import TileCablingSvcCfg
278  result.merge(TileCablingSvcCfg(flags))
279 
280  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
281  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
282  kwargs.setdefault("NtupleTreeName", "Tile")
283  kwargs.setdefault("HistPath", "/RDOAnalysis/Tile/")
284  prefix=''
285  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
286  kwargs.setdefault("PreSampling", True)
287  prefix=flags.Overlay.BkgPrefix
288  kwargs.setdefault("InputRawChKey", '') # Not in presampled RDO files
289  kwargs.setdefault("InputMuRcvRawChKey", '') # Not in presampled RDO files
290  kwargs.setdefault("InputMuRcvKey", '') # Not in presampled RDO files
291  kwargs.setdefault("InputMBTS_TTL1Key", '') # Not in presampled RDO files
292  kwargs.setdefault("InputTileTTL1Key", '') # Not in presampled RDO files
293  kwargs.setdefault("InputL2Key", '') # Not in presampled RDO files
294  kwargs.setdefault("InputRawChKey", 'TileRawChannelCnt')
295  kwargs.setdefault("InputMuRcvRawChKey", 'TileRawChannelCnt')
296  kwargs.setdefault("InputMuRcvKey", 'TileMuRcvCnt')
297  kwargs.setdefault("InputMBTS_TTL1Key", 'TileTTL1MBTS')
298  kwargs.setdefault("InputTileTTL1Key", 'TileTTL1Cnt')
299  kwargs.setdefault("InputL2Key", 'TileL2Cnt')
300  kwargs.setdefault("InputDigitsMuRcvKey", f'{prefix}MuRcvDigitsCnt')
301  kwargs.setdefault("InputDigitsFltKey", f"{prefix}TileDigitsCnt")
302 
303  result.addEventAlgo(CompFactory.TileRDOAnalysis(name, **kwargs))
304 
305  result.merge(RDOAnalysisOutputCfg(flags))
306 
307  return result
308 
309 

◆ TRT_RDOAnalysisCfg()

def python.RDOAnalysisConfig.TRT_RDOAnalysisCfg (   flags,
  name = "TRT_RDOAnalysis",
**  kwargs 
)

Definition at line 102 of file RDOAnalysisConfig.py.

102 def TRT_RDOAnalysisCfg(flags, name="TRT_RDOAnalysis", **kwargs):
103  from TRT_GeoModel.TRT_GeoModelConfig import TRT_ReadoutGeometryCfg
104  result = TRT_ReadoutGeometryCfg(flags)
105 
106  kwargs.setdefault("NtupleFileName", "/RDOAnalysis")
107  kwargs.setdefault("NtupleDirectoryName", "/ntuples/")
108  kwargs.setdefault("NtupleTreeName", "TRT")
109  kwargs.setdefault("HistPath", "/RDOAnalysis/TRT/")
110  prefix=''
111  if flags.Common.ProductionStep is ProductionStep.PileUpPresampling:
112  prefix=flags.Overlay.BkgPrefix
113  kwargs.setdefault("InputKey", f"{prefix}TRT_RDOs")
114  kwargs.setdefault("InputTruthKey", f"{prefix}TRT_SDO_Map")
115 
116  result.addEventAlgo(CompFactory.TRT_RDOAnalysis(name, **kwargs))
117 
118  result.merge(RDOAnalysisOutputCfg(flags))
119 
120  return result
121 
122 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.RDOAnalysisConfig.TRT_RDOAnalysisCfg
def TRT_RDOAnalysisCfg(flags, name="TRT_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:102
python.RDOAnalysisConfig.CSC_RDOAnalysisCfg
def CSC_RDOAnalysisCfg(flags, name="CSC_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:310
TRT_GeoModelConfig.TRT_ReadoutGeometryCfg
def TRT_ReadoutGeometryCfg(flags)
Definition: TRT_GeoModelConfig.py:59
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags)
Definition: ITkStripGeoModelConfig.py:39
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags)
Definition: ITkPixelGeoModelConfig.py:39
python.RDOAnalysisConfig.ITkPixelRDOAnalysisCfg
def ITkPixelRDOAnalysisCfg(flags, name="ITkPixelRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:123
python.RDOAnalysisConfig.MDT_RDOAnalysisCfg
def MDT_RDOAnalysisCfg(flags, name="MDT_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:331
SCT_GeoModelConfig.SCT_ReadoutGeometryCfg
def SCT_ReadoutGeometryCfg(flags)
Definition: SCT_GeoModelConfig.py:51
python.RDOAnalysisConfig.BCM_RDOAnalysisCfg
def BCM_RDOAnalysisCfg(flags, name="BCM_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:33
python.RDOAnalysisConfig.PixelRDOAnalysisCfg
def PixelRDOAnalysisCfg(flags, name="PixelRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:54
python.RDOAnalysisConfig.TGC_RDOAnalysisCfg
def TGC_RDOAnalysisCfg(flags, name="TGC_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:373
python.RDOAnalysisConfig.ITkStripRDOAnalysisCfg
def ITkStripRDOAnalysisCfg(flags, name="ITkStripRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:146
python.RDOAnalysisConfig.RDOAnalysisCfg
def RDOAnalysisCfg(flags)
Definition: RDOAnalysisConfig.py:218
python.RDOAnalysisConfig.HGTD_RDOAnalysisCfg
def HGTD_RDOAnalysisCfg(flags, name="HGTD_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:169
HGTD_GeoModelConfig.HGTD_ReadoutGeometryCfg
def HGTD_ReadoutGeometryCfg(flags)
Definition: python/HGTD_GeoModelConfig.py:23
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
PixelGeoModelConfig.PixelReadoutGeometryCfg
def PixelReadoutGeometryCfg(flags)
Definition: PixelGeoModelConfig.py:52
python.RDOAnalysisConfig.TileRDOAnalysisCfg
def TileRDOAnalysisCfg(flags, name="TileRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:274
python.RDOAnalysisConfig.LArRDOAnalysisCfg
def LArRDOAnalysisCfg(flags, name="LArRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:247
python.RDOAnalysisConfig.RDOAnalysisOutputCfg
def RDOAnalysisOutputCfg(flags, output_name="RDOAnalysis")
Definition: RDOAnalysisConfig.py:8
python.RDOAnalysisConfig.EventInfoRDOAnalysisCfg
def EventInfoRDOAnalysisCfg(flags, name="EventInfoRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:18
python.MuonGeometryConfig.MuonGeoModelCfg
def MuonGeoModelCfg(flags)
Definition: MuonGeometryConfig.py:28
python.RDOAnalysisConfig.PLR_RDOAnalysisCfg
def PLR_RDOAnalysisCfg(flags, name="PLR_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:192
python.TileCablingSvcConfig.TileCablingSvcCfg
def TileCablingSvcCfg(flags)
Definition: TileCablingSvcConfig.py:11
PLR_GeoModelConfig.PLR_ReadoutGeometryCfg
def PLR_ReadoutGeometryCfg(flags, **kwargs)
Definition: PLR_GeoModelConfig.py:42
python.RDOAnalysisConfig.RPC_RDOAnalysisCfg
def RPC_RDOAnalysisCfg(flags, name="RPC_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:352
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7
python.RDOAnalysisConfig.SCT_RDOAnalysisCfg
def SCT_RDOAnalysisCfg(flags, name="SCT_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:78