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
34cdec68
Commit
34cdec68
authored
11 months ago
by
midandre
Browse files
Options
Downloads
Patches
Plain Diff
Defining TruthClassificationTool and adding the truthMuonOriginDecorator
parent
a8f56d1e
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/FlavorTagDiscriminants/TrackTruthDecoratorAlg.h
+10
-0
10 additions, 0 deletions
...riminants/FlavorTagDiscriminants/TrackTruthDecoratorAlg.h
with
10 additions
and
0 deletions
PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/FlavorTagDiscriminants/TrackTruthDecoratorAlg.h
+
10
−
0
View file @
34cdec68
...
...
@@ -13,7 +13,9 @@
#include
"xAODTruth/TruthParticleContainerFwd.h"
#include
"xAODTruth/TruthEventContainer.h"
#include
"xAODMuon/MuonContainer.h"
#include
"InDetTrackSystematicsTools/InDetTrackTruthOriginTool.h"
#include
"TruthClassification/TruthClassificationTool.h"
namespace
FlavorTagDiscriminants
{
...
...
@@ -31,6 +33,9 @@ namespace FlavorTagDiscriminants {
SG
::
ReadHandleKey
<
xAOD
::
TrackParticleContainer
>
m_TrackContainerKey
{
this
,
"trackContainer"
,
"InDetTrackParticles"
,
"Key for the input track collection"
};
SG
::
ReadHandleKey
<
xAOD
::
MuonContainer
>
m_MuonContainerKey
{
this
,
"muonContainer"
,
"Muons"
,
"Key for the input muon collection"
};
// Accessors for truth particles
using
RDHK
=
SG
::
ReadDecorHandleKey
<
xAOD
::
TruthParticleContainer
>
;
...
...
@@ -67,11 +72,16 @@ namespace FlavorTagDiscriminants {
WDHK
m_dec_parent_barcode
{
this
,
"dec_ftagTruthParentBarcode"
,
"ftagTruthParentBarcode"
,
"Barcode of parent of linked truth particle"
};
WDHK
m_dec_muon_origin_label
{
this
,
"dec_ftagTruthMuonOriginLabel"
,
"ftagTruthMuonOriginLabel"
,
"Exclusive origin label of the muon"
};
// Truth origin tool
ToolHandle
<
InDet
::
InDetTrackTruthOriginTool
>
m_trackTruthOriginTool
{
this
,
"trackTruthOriginTool"
,
"InDet::InDetTrackTruthOriginTool"
,
"track truth origin tool"
};
// Truth Lepton Origin tool
ToolHandle
<
CP
::
IClassificationTool
>
m_truthLeptonTool
{
"TruthClassificationTool/truthLeptonTool"
};
};
}
...
...
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