ATLAS Offline Software
Functions
python.HLT.Bjet.BjetTrackingConfig Namespace Reference

Functions

ComponentAccumulator secondStageBjetTrackingCfg (flags, str inputRoI, str inputVertex, str inputJets)
 

Function Documentation

◆ secondStageBjetTrackingCfg()

ComponentAccumulator python.HLT.Bjet.BjetTrackingConfig.secondStageBjetTrackingCfg (   flags,
str  inputRoI,
str  inputVertex,
str  inputJets 
)

Definition at line 7 of file BjetTrackingConfig.py.

7 def 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
python.HLT.Bjet.BjetTrackingConfig.secondStageBjetTrackingCfg
ComponentAccumulator secondStageBjetTrackingCfg(flags, str inputRoI, str inputVertex, str inputJets)
Definition: BjetTrackingConfig.py:7
python.utils.getFlagsForActiveConfig
AthConfigFlags getFlagsForActiveConfig(AthConfigFlags flags, str config_name, logging.Logger log)
Definition: Trigger/TrigTools/TrigInDetConfig/python/utils.py:9