Commit bfd6c1ad authored by Alex Pearce's avatar Alex Pearce
Browse files

Copy Particle to RelatedInfo maps.

Towards fixing LBHLT-421.
parent df21f358
...@@ -13,6 +13,7 @@ from Configurables import ( ...@@ -13,6 +13,7 @@ from Configurables import (
ChargedPP2MC, ChargedPP2MC,
CopyLinePersistenceLocations, CopyLinePersistenceLocations,
CopyParticle2PVRelationsFromLinePersistenceLocations, CopyParticle2PVRelationsFromLinePersistenceLocations,
CopyParticle2RelatedInfoFromLinePersistenceLocations,
CopyProtoParticle2MCRelations, CopyProtoParticle2MCRelations,
CopySignalMCParticles, CopySignalMCParticles,
DataOnDemandSvc, DataOnDemandSvc,
...@@ -1113,11 +1114,24 @@ class Tesla(LHCbConfigurableUser): ...@@ -1113,11 +1114,24 @@ class Tesla(LHCbConfigurableUser):
ILinePersistenceSvc=persistence_svc 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( copy_line_outputs_seq = GaudiSequencer(
namer('TeslaCopyLineOutputsSequence'), namer('TeslaCopyLineOutputsSequence'),
Members=[ Members=[
container_cloner, container_cloner,
p2pv_cloner p2pv_cloner,
p2ri_cloner
], ],
IgnoreFilterPassed=True 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