#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 {""} |
| |
| ToolHandle< DerivationFramework::JetMatchingTool > | m_JetMatchingTool_Tool |
| |
| ToolHandle< DerivationFramework::ClassifyAndCalculateHFTool > | m_HFClassification_tool |
| |
| ToolHandle< DerivationFramework::HadronOriginClassifier > | m_HadronOriginClassifier_Tool |
| |
◆ ClassifyAndCalculateHFAugmentation()
| DerivationFramework::ClassifyAndCalculateHFAugmentation::ClassifyAndCalculateHFAugmentation |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~ClassifyAndCalculateHFAugmentation()
| DerivationFramework::ClassifyAndCalculateHFAugmentation::~ClassifyAndCalculateHFAugmentation |
( |
| ) |
|
◆ addBranches()
| StatusCode DerivationFramework::ClassifyAndCalculateHFAugmentation::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 99 of file ClassifyAndCalculateHFAugmentation.cxx.
105 if (!truthParticlesHandle.isValid()) {
106 ATH_MSG_ERROR (
"Could not retrieve TruthParticleContainer " << truthParticlesHandle.key());
107 return StatusCode::FAILURE;
113 if (!jetInputHandle.isValid()) {
114 ATH_MSG_ERROR (
"Could not retrieve JetContainer " << jetInputHandle.key());
115 return StatusCode::FAILURE;
120 std::map<const xAOD::TruthParticle*, DerivationFramework::HadronOriginClassifier::HF_id> hadronMap =
m_HadronOriginClassifier_Tool->GetOriginMap();
123 std::map<const xAOD::Jet*, std::vector<xAOD::TruthParticleContainer::const_iterator>> particleMatch =
m_JetMatchingTool_Tool->matchHadronsToJets(xTruthParticleContainer,
JetCollection);
134 if (!eventInfoHandle.isValid()) {
135 ATH_MSG_ERROR (
"Could not retrieve EventInfo " << eventInfoHandle.key());
136 return StatusCode::FAILURE;
142 decorator_HFClassification(*
EventInfo) = hfclassif;
145 decorator_SimpleHFClassification(*
EventInfo) = simpleclassif;
152 if(hfidAcc.isAvailable(*
jet)){
155 jetIdDecorator(*
jet) =
id;
158 return StatusCode::SUCCESS;
◆ finalize()
| StatusCode DerivationFramework::ClassifyAndCalculateHFAugmentation::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| StatusCode DerivationFramework::ClassifyAndCalculateHFAugmentation::initialize |
( |
| ) |
|
|
overridevirtual |
◆ 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: