Skip to content
Snippets Groups Projects
Commit 34cdec68 authored by midandre's avatar midandre
Browse files

Defining TruthClassificationTool and adding the truthMuonOriginDecorator

parent a8f56d1e
No related branches found
No related tags found
2 merge requests!708902024-04-25: merge of 24.0 into main,!70448TruthClassification on muons in jet
......@@ -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"};
};
}
......
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