ATLAS Offline Software
BphysicsRecoSequences.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaCommon.Logging import logging
4 log = logging.getLogger(__name__)
5 
6 from AthenaCommon.CFElements import seqAND, parOR
7 from AthenaConfiguration.ComponentFactory import CompFactory
8 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
9 
10 
11 def 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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrigInDetConfig.trigInDetPrecisionTrackingCfg
def trigInDetPrecisionTrackingCfg(inflags, rois, signatureName, in_view=True)
precision tracking
Definition: TrigInDetConfig.py:105
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition: CFElements.py:25
python.HLT.Bphysics.BphysicsRecoSequences.bmumuxRecoSequenceCfg
def bmumuxRecoSequenceCfg(flags, rois, muons)
Definition: BphysicsRecoSequences.py:11
python.JetAnalysisCommon.parOR
parOR
Definition: JetAnalysisCommon.py:271
python.TrigInDetConfig.trigInDetFastTrackingCfg
def trigInDetFastTrackingCfg(inflags, roisKey="EMRoIs", signatureName='', in_view=True)
Definition: TrigInDetConfig.py:51