Skip to content
Snippets Groups Projects
Commit bb800c12 authored by James Beacham's avatar James Beacham Committed by Hideyuki Oide
Browse files

Merge branch '21.0-fix-rpvll' into '21.0'

Make position of VrtSecInclusive alg scheduling release-independent

See merge request atlas/athena!13793

(cherry picked from commit 98562525 [formerly ee3f1c6530827f6c6385c67fe3bb1eb23311ba59])

192ecece Make position of VrtSecInclusive alg scheduling release-independent

Former-commit-id: 0589d005077f1930386e4fcb9164e530739769a4
parent 4fc3de79
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,19 @@ from VrtSecInclusive.VrtSecInclusive import VrtSecInclusive
VrtSecInclusive_InDet = VrtSecInclusive("VrtSecInclusive_InDet")
VrtSecInclusive_leptons = VrtSecInclusive("VrtSecInclusive_leptons")
topSequence.insert(-1, VrtSecInclusive_InDet)
topSequence.insert(-1, VrtSecInclusive_leptons)
try:
end_idx = [_.getName() for _ in topSequence].index('StreamESD')
except ValueError:
try:
end_idx = [_.getName() for _ in topSequence].index('StreamAOD')
except ValueError:
local_logger = logging.getLogger('VrtSecInclusive_DV_Configuration')
local_logger.warning('Neither StreamESD nor StreamAOD found, VrtSecInclusive algs will be scheduled one before end of topSequence. Probably wrong!')
end_idx = -1
del local_logger
topSequence.insert(end_idx, VrtSecInclusive_InDet)
topSequence.insert(end_idx, VrtSecInclusive_leptons)
del end_idx
# set options for vertexing
VrtSecInclusive_InDet.do_PVvetoCut = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment