Commit 952bdc31 authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'apearce-lbhlt-421' into '2018-patches'

Copy Particle to RelatedInfo maps in Tesla.

See merge request !179

(cherry picked from commit 5e437277)

bfd6c1ad Copy Particle to RelatedInfo maps.
parent 67498eae
......@@ -13,6 +13,7 @@ from Configurables import (
ChargedPP2MC,
CopyLinePersistenceLocations,
CopyParticle2PVRelationsFromLinePersistenceLocations,
CopyParticle2RelatedInfoFromLinePersistenceLocations,
CopyProtoParticle2MCRelations,
CopySignalMCParticles,
DataOnDemandSvc,
......@@ -1103,11 +1104,24 @@ class Tesla(LHCbConfigurableUser):
ILinePersistenceSvc=persistence_svc
)
p2ri_cloner = CopyParticle2RelatedInfoFromLinePersistenceLocations(
namer('CopyP2RelatedInfoFromLinePersistenceLocations'),
# Search for all LHCb::RelatedInfoMap objects at the same TES
# level as the container of LHCb::Particle objects using the
# CLID, rather than a name
RelationsBaseName="",
UseRelationsCLID=True,
OutputPrefix=output_prefix,
LinesToCopy=decisions,
ILinePersistenceSvc=persistence_svc
)
copy_line_outputs_seq = GaudiSequencer(
namer('TeslaCopyLineOutputsSequence'),
Members=[
container_cloner,
p2pv_cloner
p2pv_cloner,
p2ri_cloner
],
IgnoreFilterPassed=True
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment