|
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
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.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode addBranches() const
Pass the thinning service
constexpr int pow(int base, int exp) noexcept