#include <TruthD2Decorator.h>
Definition at line 22 of file TruthD2Decorator.h.
◆ TruthD2Decorator()
DerivationFramework::TruthD2Decorator::TruthD2Decorator |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::TruthD2Decorator::addBranches |
( |
| ) |
const |
|
virtual |
Definition at line 38 of file TruthD2Decorator.cxx.
42 const EventContext& ctx = Gaudi::Hive::currentContext();
50 if(!largeRjets.isValid()) {
52 return StatusCode::FAILURE;
56 for(
const auto *
jet: *largeRjets){
58 float ecf1 =
jet->getAttribute<
float>(
"ECF1");
59 float ecf2 =
jet->getAttribute<
float>(
"ECF2");
60 float ecf3 =
jet->getAttribute<
float>(
"ECF3");
65 D2=ecf3 *
pow(ecf1, 3.0) /
pow(ecf2, 3.0);
66 decoratorD2(*
jet) = D2;
69 return StatusCode::SUCCESS;
◆ initialize()
StatusCode DerivationFramework::TruthD2Decorator::initialize |
( |
| ) |
|
◆ m_decorationName
◆ m_jetContainerKey
SG::ReadHandleKey<xAOD::JetContainer> DerivationFramework::TruthD2Decorator::m_jetContainerKey {this, "JetContainerKey", "AntiKt10TruthTrimmedPtFrac5SmallR20Jets", "Name of jet container key for input"} |
|
private |
The documentation for this class was generated from the following files: