 |
ATLAS Offline Software
|
Go to the documentation of this file.
20 const IInterface*
p) :
32 return StatusCode::SUCCESS;
39 const EventContext& ctx = Gaudi::Hive::currentContext();
49 return StatusCode::FAILURE;
53 for(
const auto *
jet: *largeRjets){
55 float ecf1 =
jet->getAttribute<
float>(
"ECF1");
56 float ecf2 =
jet->getAttribute<
float>(
"ECF2");
57 float ecf3 =
jet->getAttribute<
float>(
"ECF3");
61 if(std::abs(ecf2)>1
e-8)
63 decoratorD2(*
jet) = D2;
66 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
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