ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimAlgorithms
src
FPGATrackSimAlgorithms/src/FPGATrackSimMergeOutputsConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaCommon.Logging
import
AthenaLogger
5
6
log = AthenaLogger(__name__)
7
import
glob
8
9
def
FPGATrackSimMergeOutputsAlgCfg
(flags,**kwargs):
10
acc=ComponentAccumulator()
11
flags = flags.cloneAndReplace(
"Trigger.FPGATrackSim.ActiveConfig"
,
"Trigger.FPGATrackSim."
+ flags.Trigger.FPGATrackSim.algoTag,keepOriginal=
False
)
12
files = glob.glob(flags.Trigger.FPGATrackSim.FPGATrackSimTestFiles)
13
print
(
"FPGATrackSimMergeOutputsConfig looked for files ="
,flags.Trigger.FPGATrackSim.FPGATrackSimTestFiles,
" and found"
, files)
14
flags.lock()
15
kwargs.setdefault(
'InFileNames'
, files)
16
17
from
FPGATrackSimConfTools.FPGATrackSimAnalysisConfig
import
FPGATrackSimOverlapRemovalToolCfg
18
MergeOutputsAlg = CompFactory.FPGATrackSimMergeOutputsAlg(name =
'FPGAMergeOutputsAlg'
, **kwargs,
19
OverlapRemoval = acc.getPrimaryAndMerge(FPGATrackSimOverlapRemovalToolCfg(flags)))
20
MergeOutputsAlg.OverlapRemoval.MinChi2 = 1e15
21
MergeOutputsAlg.SkipWritingEvents = flags.Exec.SkipEvents
22
acc.addEventAlgo(MergeOutputsAlg)
23
24
return
acc
print
void print(char *figname, TCanvas *c1)
Definition
TRTCalib_StrawStatusPlots.cxx:26
FPGATrackSimMergeOutputsConfig.FPGATrackSimMergeOutputsAlgCfg
FPGATrackSimMergeOutputsAlgCfg(flags, **kwargs)
Definition
FPGATrackSimAlgorithms/src/FPGATrackSimMergeOutputsConfig.py:9
Generated on
for ATLAS Offline Software by
1.17.0