ATLAS Offline Software
Functions
FPGATrackSimSGInputConfig Namespace Reference

Functions

def FPGATrackSimSGInputToolCfg (flags)
 
def FPGATrackSimSGInputCfg (flags, **kwargs)
 

Function Documentation

◆ FPGATrackSimSGInputCfg()

def FPGATrackSimSGInputConfig.FPGATrackSimSGInputCfg (   flags,
**  kwargs 
)
Configure FPGATrackSim wrappers generation, outFile will be taken from flags in the future

Definition at line 23 of file FPGATrackSimSGInputConfig.py.

23 def FPGATrackSimSGInputCfg(flags,**kwargs):
24  """
25  Configure FPGATrackSim wrappers generation, outFile will be taken from flags in the future
26  """
27 
28  acc = ComponentAccumulator()
29  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
30  acc.merge(ITkPixelReadoutGeometryCfg(flags))
31  from StripGeoModelXml.ITkStripGeoModelConfig import ITkStripReadoutGeometryCfg
32  acc.merge(ITkStripReadoutGeometryCfg(flags))
33 
34  wrapperAlg = CompFactory.TrigFPGATrackSimRawHitsWrapperAlg(
35  InputTool=acc.popToolsAndMerge(FPGATrackSimSGInputToolCfg(flags)),
36  OutFileName=flags.Trigger.FPGATrackSim.wrapperFileName,
37  WrapperMetaData=flags.Trigger.FPGATrackSim.wrapperMetaData
38  )
39  acc.addEventAlgo(wrapperAlg)
40 
41  return acc
42 # how to run? See README file

◆ FPGATrackSimSGInputToolCfg()

def FPGATrackSimSGInputConfig.FPGATrackSimSGInputToolCfg (   flags)

Definition at line 8 of file FPGATrackSimSGInputConfig.py.

10 
11  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
12  extrapolatorTool = acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags))
13 
14  from TrkConfig.TrkTruthCreatorToolsConfig import TruthToTrackToolCfg
15  truthToTrackTool = acc.popToolsAndMerge(TruthToTrackToolCfg(flags))
16 
17  FPGATrackSimSGInputTool = CompFactory.FPGATrackSimSGToRawHitsTool(maxEta=3.2, minPt=0.8 * GeV,
18  Extrapolator = extrapolatorTool, TruthToTrackTool = truthToTrackTool)
19  acc.setPrivateTools(FPGATrackSimSGInputTool)
20 
21  return acc
22 
FPGATrackSimSGInputConfig.FPGATrackSimSGInputCfg
def FPGATrackSimSGInputCfg(flags, **kwargs)
Definition: FPGATrackSimSGInputConfig.py:23
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.TrkTruthCreatorToolsConfig.TruthToTrackToolCfg
def TruthToTrackToolCfg(flags, name="TruthToTrack", **kwargs)
Definition: TrkTruthCreatorToolsConfig.py:25
FPGATrackSimSGInputConfig.FPGATrackSimSGInputToolCfg
def FPGATrackSimSGInputToolCfg(flags)
Definition: FPGATrackSimSGInputConfig.py:8
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkPixelGeoModelConfig.py:39
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkStripGeoModelConfig.py:39