Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
20 const IInterface*
p) :
23 declareInterface<DerivationFramework::IAugmentationTool>(
this);
34 return StatusCode::SUCCESS;
43 const EventContext& ctx = Gaudi::Hive::currentContext();
53 return StatusCode::FAILURE;
57 for(
const auto *
jet: *largeRjets){
59 float ecf1 =
jet->getAttribute<
float>(
"ECF1");
60 float ecf2 =
jet->getAttribute<
float>(
"ECF2");
61 float ecf3 =
jet->getAttribute<
float>(
"ECF3");
66 D2=ecf3 *
pow(ecf1, 3.0) /
pow(ecf2, 3.0);
67 decoratorD2(*
jet) = D2;
70 return StatusCode::SUCCESS;
TruthD2Decorator(const std::string &t, const std::string &n, const IInterface *p)
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decorationName
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode addBranches() const
Pass the thinning service
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
constexpr int pow(int base, int exp) noexcept