Skip to content
Snippets Groups Projects

Adapted code to new Particle2MCLinker

Merged Sebastien Ponce requested to merge sponce_dropGaudiAlgorithm into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -29,13 +29,13 @@ static const InterfaceID IID_IDaVinciAssociatorsWrapper( "IDaVinciAssociatorsWra
*
* To use:
*
* Particle2MCLinker mylinker = m_myLinkerTool->linker(linkerMethod,container);
* Object2FromMC<LHCb::Particle, GaudiTool> mylinker = m_myLinkerTool->linker(linkerMethod,container);
*
* where linker Method corresponds to one of the Methods declared in Kernel/Particle2MCMethod.h,
* for example Link, Composite, Chi2. Container allows you to specify a specifi location for the
* particles to be associated, It defaults to 0 if omitted:
*
* Particle2MCLinker mylinker = m_myLinkerTool->linker(linkerMethod);
* Object2FromMC<LHCb::Particle, GaudiTool> mylinker = m_myLinkerTool->linker(linkerMethod);
*
* Note that you will need to declare a different instance of this tool
* for each linker which you wish to use. Declare an instance in your
@@ -51,7 +51,7 @@ public:
// Return the interface ID
static const InterfaceID& interfaceID() { return IID_IDaVinciAssociatorsWrapper; }
virtual Particle2MCLinker*
virtual Object2FromMC<LHCb::Particle, GaudiTool>*
linker( const Particle2MCMethod::AssociationMethod& myMethod,
const std::vector<std::string>& myLocations = std::vector<std::string>( 1, "" ) ) = 0; ///< returns a linker
};
Loading