ATLAS Offline Software
Loading...
Searching...
No Matches
BjetTrackingConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5from AthenaCommon.Logging import logging
6
7def secondStageBjetTrackingCfg(flags, inputRoI: str, inputVertex: str, inputJets: str) -> ComponentAccumulator:
8
9 log = logging.getLogger("BJetTrackingConfig")
10
11 #safety measure to ensure we get the right instance of flags
12 from TrigInDetConfig.utils import getFlagsForActiveConfig
13 trkflags = getFlagsForActiveConfig(flags, "bjet", log)
14
15 from TrigInDetConfig.InnerTrackingTrigSequence import InnerTrackingTrigSequence
16 seq = InnerTrackingTrigSequence.create(trkflags,
17 trkflags.Tracking.ActiveConfig.input_name,
18 rois = inputRoI,
19 inView = "VDVInDetFTF")
20 acc = seq.sequence("FastTrackFinder")
21 acc.merge(seq.sequenceAfterPattern())
22
23 verifier = CompFactory.AthViews.ViewDataVerifier(name = 'VDVsecondStageBjetTracking',
24 DataObjects = {('xAOD::VertexContainer', f'StoreGateSvc+{inputVertex}'),
25 ('xAOD::JetContainer', f'StoreGateSvc+{inputJets}')} )
26 acc.addEventAlgo(verifier)
27
28 return acc
ComponentAccumulator secondStageBjetTrackingCfg(flags, str inputRoI, str inputVertex, str inputJets)