ATLAS Offline Software
Loading...
Searching...
No Matches
BphysicsRecoSequences.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from AthenaCommon.Logging import logging
4log = logging.getLogger(__name__)
5
6from AthenaCommon.CFElements import seqAND, parOR
7from AthenaConfiguration.ComponentFactory import CompFactory
8from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
9
10
11def bmumuxRecoSequenceCfg(flags, rois, muons):
12
13 acc = ComponentAccumulator()
14
15 recoSequence = seqAND('bmumuxViewNode')
16 acc.addSequence(recoSequence)
17
18 dataObjects = [('TrigRoiDescriptorCollection', 'StoreGateSvc+%s' % rois),
19 ('xAOD::MuonContainer', 'StoreGateSvc+%s' % muons)]
20 acc.addEventAlgo(CompFactory.AthViews.ViewDataVerifier('VDV_bmumux', DataObjects=dataObjects), sequenceName=recoSequence.name)
21
22 from TrigInDetConfig.TrigInDetConfig import trigInDetFastTrackingCfg, trigInDetPrecisionTrackingCfg
23 acc.merge(trigInDetFastTrackingCfg(flags, rois, signatureName='bmumux'), sequenceName=recoSequence.name)
24
25 precisionTrackingSequence = parOR('precisionTrackingInBmumux')
26 acc.addSequence(precisionTrackingSequence, parentName=recoSequence.name)
27 acc.merge(trigInDetPrecisionTrackingCfg(flags, rois, signatureName='bmumux'), sequenceName=precisionTrackingSequence.name)
28
29 return acc