#include <ClassifyAndCalculateHFAugmentation.h>
|
| SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_truthParticlesKey {this, "TruthParticleContainerName", "TruthParticles", "Name of the truth particles collection that is used to compute the HF Classification"} |
| |
| SG::ReadHandleKey< xAOD::JetContainer > | m_jetCollectionKey {this, "jetCollectionName", "AntiKt4TruthDressedWZJets", "Name of the jet collection that is used to compute the HF Classification"} |
| |
| SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoKey {this, "EventInfo", "EventInfo", ""} |
| |
| SG::WriteDecorHandleKey< xAOD::EventInfo > | m_hfDecorKey {this, "hfDecorationName", m_eventInfoKey , "HF_Classification", "Name that is used to store the HF Classification."} |
| |
| SG::WriteDecorHandleKey< xAOD::EventInfo > | m_SimplehfDecorKey {this, "SimplehfDecorationName", m_eventInfoKey ,"SimpleHFClassification", "Name that is used to store the simple HF Classification."} |
| |
| SG::WriteDecorHandleKey< xAOD::JetContainer > | m_jetIDDecorationKey {this, "HadronOriginIDDecorationName", m_jetCollectionKey, "HFHadronOriginID", "jet origin ID decoration key"} |
| |
| std::string | m_hfDecorationName {""} |
| |
| PublicToolHandle< DerivationFramework::JetMatchingTool > | m_JetMatchingTool_Tool {this, "JetMatchingTool", ""} |
| |
| PublicToolHandle< DerivationFramework::ClassifyAndCalculateHFTool > | m_HFClassification_tool {this, "ClassifyAndComputeHFtool", ""} |
| |
| PublicToolHandle< DerivationFramework::HadronOriginClassifier > | m_HadronOriginClassifier_Tool {this, "HadronOriginClassifierTool", ""} |
| |
◆ addBranches()
| StatusCode DerivationFramework::ClassifyAndCalculateHFAugmentation::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 70 of file ClassifyAndCalculateHFAugmentation.cxx.
76 if (!truthParticlesHandle.isValid()) {
77 ATH_MSG_ERROR (
"Could not retrieve TruthParticleContainer " << truthParticlesHandle.key());
78 return StatusCode::FAILURE;
84 if (!jetInputHandle.isValid()) {
85 ATH_MSG_ERROR (
"Could not retrieve JetContainer " << jetInputHandle.key());
86 return StatusCode::FAILURE;
91 std::map<const xAOD::TruthParticle*, DerivationFramework::HadronOriginClassifier::HF_id> hadronMap =
m_HadronOriginClassifier_Tool->GetOriginMap();
94 std::map<const xAOD::Jet*, std::vector<xAOD::TruthParticleContainer::const_iterator>> particleMatch =
m_JetMatchingTool_Tool->matchHadronsToJets(xTruthParticleContainer,
JetCollection);
105 if (!eventInfoHandle.isValid()) {
106 ATH_MSG_ERROR (
"Could not retrieve EventInfo " << eventInfoHandle.key());
107 return StatusCode::FAILURE;
113 decorator_HFClassification(*
EventInfo) = hfclassif;
116 decorator_SimpleHFClassification(*
EventInfo) = simpleclassif;
123 if(hfidAcc.isAvailable(*
jet)){
126 jetIdDecorator(*
jet) =
id;
129 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode DerivationFramework::ClassifyAndCalculateHFAugmentation::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_eventInfoKey
◆ m_HadronOriginClassifier_Tool
◆ m_HFClassification_tool
◆ m_hfDecorationName
| std::string DerivationFramework::ClassifyAndCalculateHFAugmentation::m_hfDecorationName {""} |
|
private |
◆ m_hfDecorKey
◆ m_jetCollectionKey
| SG::ReadHandleKey<xAOD::JetContainer> DerivationFramework::ClassifyAndCalculateHFAugmentation::m_jetCollectionKey {this, "jetCollectionName", "AntiKt4TruthDressedWZJets", "Name of the jet collection that is used to compute the HF Classification"} |
|
private |
◆ m_jetIDDecorationKey
| SG::WriteDecorHandleKey<xAOD::JetContainer> DerivationFramework::ClassifyAndCalculateHFAugmentation::m_jetIDDecorationKey {this, "HadronOriginIDDecorationName", m_jetCollectionKey, "HFHadronOriginID", "jet origin ID decoration key"} |
|
private |
◆ m_JetMatchingTool_Tool
◆ m_SimplehfDecorKey
| SG::WriteDecorHandleKey<xAOD::EventInfo> DerivationFramework::ClassifyAndCalculateHFAugmentation::m_SimplehfDecorKey {this, "SimplehfDecorationName", m_eventInfoKey ,"SimpleHFClassification", "Name that is used to store the simple HF Classification."} |
|
private |
◆ m_truthParticlesKey
| SG::ReadHandleKey<xAOD::TruthParticleContainer> DerivationFramework::ClassifyAndCalculateHFAugmentation::m_truthParticlesKey {this, "TruthParticleContainerName", "TruthParticles", "Name of the truth particles collection that is used to compute the HF Classification"} |
|
private |
The documentation for this class was generated from the following files: