Skip to content
Snippets Groups Projects
Commit 9f2facd0 authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

TrackToMCParticleRelations: Minor clean up

parent de73ef75
No related branches found
No related tags found
1 merge request!4181RICH Support for 'Reco From MC Information' for upgrade studies
......@@ -27,11 +27,8 @@ namespace Rich::Future::MC {
/** @class TrackToMCParticleRelations TrackToMCParticleRelations.h
*
* (Temporary) algorithm that takes the Track<->MCParticle linker and forms
* a relations object from it. Temporary in that the linker object as it stands
* is not compatible with the functional framework, given the way it internal
* interacts with the TES. Longer term the usage of the linkers in the future
* algorithms needs reviewing, and most probably removing.
* Algorithm that takes the Track<->MCParticle linker and forms
* a relations object from it.
*
* @author Chris Jones
* @date 2016-12-07
......@@ -51,7 +48,9 @@ namespace Rich::Future::MC {
KeyValue{"MCParticlesLocation", LHCb::MCParticleLocation::Default},
KeyValue{"MCParticlesLinkLocation", "Link/" + LHCb::TrackLocation::Default}},
// output
{KeyValue{"TrackToMCParticlesRelations", Rich::Future::MC::Relations::TrackToMCParticles}} ) {}
{KeyValue{"TrackToMCParticlesRelations", Rich::Future::MC::Relations::TrackToMCParticles}} ) {
// setProperty( "OutputLevel", MSG::VERBOSE ).ignore();
}
public:
/// Algorithm execution via transform
......@@ -65,7 +64,7 @@ namespace Rich::Future::MC {
// loop over the tracks and fill relations table
for ( auto* tk : tks ) {
if ( !tk ) continue;
if ( !tk ) { continue; }
if ( m_allowMultMPs ) {
// Save all the MCPs for each track
......
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