Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
LHCb
Commits
9f2facd0
Commit
9f2facd0
authored
1 year ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
TrackToMCParticleRelations: Minor clean up
parent
de73ef75
No related branches found
No related tags found
1 merge request
!4181
RICH Support for 'Reco From MC Information' for upgrade studies
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rich/RichFutureMCUtils/src/component/TrackToMCParticleRelations.cpp
+6
-7
6 additions, 7 deletions
...utureMCUtils/src/component/TrackToMCParticleRelations.cpp
with
6 additions
and
7 deletions
Rich/RichFutureMCUtils/src/component/TrackToMCParticleRelations.cpp
+
6
−
7
View file @
9f2facd0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment