Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Commits
4499a49a
Commit
4499a49a
authored
11 months ago
by
midandre
Browse files
Options
Downloads
Patches
Plain Diff
Implementing a selection on Combined muon
parent
2aac98f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!70890
2024-04-25: merge of 24.0 into main
,
!70448
TruthClassification on muons in jet
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/src/TrackTruthDecoratorAlg.cxx
+5
-1
5 additions, 1 deletion
...ing/FlavorTagDiscriminants/src/TrackTruthDecoratorAlg.cxx
with
5 additions
and
1 deletion
PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/src/TrackTruthDecoratorAlg.cxx
+
5
−
1
View file @
4499a49a
...
...
@@ -119,6 +119,9 @@ namespace FlavorTagDiscriminants {
// decorate muon tracks with truth origin
for
(
const
auto
muon
:
*
muons
)
{
// Check if the muon is a combined muon
if
(
muon
->
muonType
()
!=
xAOD
::
Muon
::
MuonType
::
Combined
)
{
continue
;
}
// Classify muon truth origin (https://gitlab.cern.ch/atlas/athena/-/tree/main/PhysicsAnalysis/AnalysisCommon/TruthClassification)
unsigned
int
muTruthOrigin
=
0
;
ATH_CHECK
(
m_truthLeptonTool
->
classify
(
*
muon
,
muTruthOrigin
));
...
...
@@ -148,7 +151,8 @@ namespace FlavorTagDiscriminants {
}
else
{
// raise an error if the muon truth origin label is not found in the map
ATH_MSG_ERROR
(
"Muon truth origin not found"
);
ATH_MSG_ERROR
(
"Muon truth origin not found in the map: "
<<
static_cast
<
int
>
(
muTruthOriginType
));
return
StatusCode
::
FAILURE
;
}
}
...
...
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