Skip to content
Snippets Groups Projects

Give different default names to identically-typed ToolHandles

Merged Alex Pearce requested to merge apearce-cloner-toolhandle-names into master
All threads resolved!
1 file
+ 9
6
Compare changes
  • Side-by-side
  • Inline
@@ -112,10 +112,10 @@ private:
Gaudi::Property<std::string> m_linePersistenceSvcName{this, "ILinePersistenceSvc", "TCKLinePersistenceSvc"};
/// Implementation of ICloneCaloCluster used to clone LHCb::CaloCluster objects.
ToolHandle<ICloneCaloCluster> m_caloClusterCloner{this, "ICloneCaloCluster", "CaloClusterCloner"};
ToolHandle<ICloneCaloCluster> m_caloClusterCloner{this, "ICloneCaloCluster", "CaloClusterCloner/CaloClusterCloner"};
/// Implementation of ICloneCaloHypo used to clone LHCb::CaloHypo objects.
ToolHandle<ICloneCaloHypo> m_caloHypoCloner{this, "ICloneCaloHypo", "CaloHypoCloner"};
ToolHandle<ICloneCaloHypo> m_caloHypoCloner{this, "ICloneCaloHypo", "CaloHypoCloner/CaloHypoCloner"};
/// Implementation of ICloneParticle used to clone LHCb::Particle objects.
ToolHandle<ICloneParticle> m_particleCloner{this, "ICloneParticle", "ParticleCloner"};
@@ -124,17 +124,20 @@ private:
ToolHandle<ICloneProtoParticle> m_protoParticleCloner{this, "ICloneProtoParticle", "ProtoParticleCloner"};
/// Implementation of ICloneVertexBase used to clone LHCb::VertexBase objects
ToolHandle<ICloneVertexBase> m_vertexCloner{this, "ICloneVertexBase", "VertexBaseFromRecVertexClonerNoTracks"};
ToolHandle<ICloneVertexBase> m_vertexCloner{this, "ICloneVertexBase",
"VertexBaseFromRecVertexClonerNoTracks/RecVertexCloner"};
/// Implementation of ICloneCaloClusterCloner used to clone LHCb::CaloCluster objects for Turbo++ lines
ToolHandle<ICloneCaloCluster> m_turboPPCaloClusterCloner{this, "TurboPPICloneCaloCluster", "CaloClusterCloner"};
ToolHandle<ICloneCaloCluster> m_turboPPCaloClusterCloner{this, "TurboPPICloneCaloCluster",
"CaloClusterCloner/TurboPPCaloClusterCloner"};
/// Implementation of ICloneCaloHypoCloner used to clone LHCb::CaloHypo objects for Turbo++ lines
ToolHandle<ICloneCaloHypo> m_turboPPCaloHypoCloner{this, "TurboPPICloneCaloHypo", "CaloHypoCloner"};
ToolHandle<ICloneCaloHypo> m_turboPPCaloHypoCloner{this, "TurboPPICloneCaloHypo",
"CaloHypoCloner/TurboPPCaloHypoCloner"};
/// Implementation of ICloneVertexBase used to clone LHCb::VertexBase objects for Turbo++ lines
ToolHandle<ICloneVertexBase> m_turboPPVertexCloner{this, "TurboPPICloneVertexBase",
"VertexBaseFromRecVertexClonerWithTracks"};
"VertexBaseFromRecVertexClonerWithTracks/TurboPPRecVertexCloner"};
/// List of HLT2 lines whose outputs are to be copied.
Gaudi::Property<std::vector<std::string>> m_linesToCopy{this, "LinesToCopy", {}};
Loading