ATLAS Offline Software
Tools/RDOAnalysis/python/PostIncludes.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
3 #Adding RDOAnalysis for whichever parts of ITk are running
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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.RDOAnalysisConfig.ITkPixelRDOAnalysisCfg
def ITkPixelRDOAnalysisCfg(flags, name="ITkPixelRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:123
python.RDOAnalysisConfig.ITkStripRDOAnalysisCfg
def ITkStripRDOAnalysisCfg(flags, name="ITkStripRDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:146
python.RDOAnalysisConfig.PLR_RDOAnalysisCfg
def PLR_RDOAnalysisCfg(flags, name="PLR_RDOAnalysis", **kwargs)
Definition: RDOAnalysisConfig.py:192
python.PostIncludes.ITkRDOAnalysis
def ITkRDOAnalysis(configFlags)
Definition: Tools/RDOAnalysis/python/PostIncludes.py:4