Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
FPGATrackSimBankConstGenConfig Namespace Reference

Functions

def FPGATrackSimConstsGenCfg (flags, **kwargs)
 

Variables

 log
 
 flags
 
 acc
 
 MatrixFileName
 
 Output
 
 statusCode
 

Function Documentation

◆ FPGATrackSimConstsGenCfg()

def FPGATrackSimBankConstGenConfig.FPGATrackSimConstsGenCfg (   flags,
**  kwargs 
)

Definition at line 15 of file FPGATrackSimBankConstGenConfig.py.

15 def FPGATrackSimConstsGenCfg(flags, **kwargs):
16 
17  acc = ComponentAccumulator()
18 
19  kwargs.setdefault("merged_file_path", flags.Trigger.FPGATrackSim.FPGATrackSimMatrixFileRegEx)
20  kwargs.setdefault("region", flags.Trigger.FPGATrackSim.region)
21  kwargs.setdefault("CheckGood2ndStage",flags.Trigger.FPGATrackSim.CheckGood2ndStage)
22  kwargs.setdefault("UseHitScaleFactor",flags.Trigger.FPGATrackSim.UseHitScaleFactor)
23  kwargs.setdefault("IsSecondStage",flags.Trigger.FPGATrackSim.Is2ndStage)
24  kwargs.setdefault("missHitsConsts",flags.Trigger.FPGATrackSim.missHitsConsts)
25 
26  from FPGATrackSimConfTools.FPGATrackSimDataPrepConfig import FPGATrackSimMappingCfg
27  FPGATrackSimMapping = acc.getPrimaryAndMerge(FPGATrackSimMappingCfg(flags))
28  theFPGATrackSimConstGenAlg = CompFactory.FPGATrackSimConstGenAlgo(**kwargs)
29  theFPGATrackSimConstGenAlg.FPGATrackSimMappingSvc = FPGATrackSimMapping
30 
31  # We need the "full" event selection service to be set up.
32  theFPGATrackSimConstGenAlg.FPGATrackSimEventSelectionSvc = acc.getPrimaryAndMerge(FPGATrackSimEventSelectionCfg(flags))
33 
34  acc.addEventAlgo(theFPGATrackSimConstGenAlg)
35  return acc
36 

Variable Documentation

◆ acc

FPGATrackSimBankConstGenConfig.acc

Definition at line 47 of file FPGATrackSimBankConstGenConfig.py.

◆ flags

FPGATrackSimBankConstGenConfig.flags

Definition at line 43 of file FPGATrackSimBankConstGenConfig.py.

◆ log

FPGATrackSimBankConstGenConfig.log

Definition at line 41 of file FPGATrackSimBankConstGenConfig.py.

◆ MatrixFileName

FPGATrackSimBankConstGenConfig.MatrixFileName

Definition at line 55 of file FPGATrackSimBankConstGenConfig.py.

◆ Output

FPGATrackSimBankConstGenConfig.Output

Definition at line 56 of file FPGATrackSimBankConstGenConfig.py.

◆ statusCode

FPGATrackSimBankConstGenConfig.statusCode

Definition at line 59 of file FPGATrackSimBankConstGenConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.FPGATrackSimDataPrepConfig.FPGATrackSimEventSelectionCfg
def FPGATrackSimEventSelectionCfg(flags)
Definition: FPGATrackSimDataPrepConfig.py:248
python.FPGATrackSimDataPrepConfig.FPGATrackSimMappingCfg
def FPGATrackSimMappingCfg(flags)
Definition: FPGATrackSimDataPrepConfig.py:269
FPGATrackSimBankConstGenConfig.FPGATrackSimConstsGenCfg
def FPGATrackSimConstsGenCfg(flags, **kwargs)
Definition: FPGATrackSimBankConstGenConfig.py:15