|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "AthLinks/ElementLink.h"
27 declareInterface<DerivationFramework::IAugmentationTool>(
this);
40 return StatusCode::FAILURE;
44 ATH_MSG_ERROR(
"Hardscatter decoration name cannot be empty!");
45 return StatusCode::FAILURE;
49 ATH_MSG_ERROR(
"No InDet::IInDetHardScatterSelectionTool provided!");
50 return StatusCode::FAILURE;
62 return StatusCode::SUCCESS;
69 const EventContext& ctx = Gaudi::Hive::currentContext();
75 return StatusCode::FAILURE;
82 return StatusCode::FAILURE;
91 return StatusCode::SUCCESS;
ToolHandle< InDet::IInDetHardScatterSelectionTool > m_vtxSelectTool
ToolHandle for the IInDetHardScatterSelectionTool.
Gaudi::Property< std::string > m_evtDecoName
Name of the output hardscatter decoration (applied to xAOD::EventInfo)
const std::string & key() const
Return the StoreGate ID for the referenced object.
::StatusCode StatusCode
StatusCode definition for legacy code.
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
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
Function decorating the inputs.
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
xAOD::EventInfo ReadHandleKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxContKey
ReadHandleKey for the input vertices.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_evtDecoKey
WriteDecorHandleKey for the output hardscatter decoration (applied to xAOD::EventInfo)
StatusCode initialize()
Function initialising the tool.
HardScatterVertexDecorator(const std::string &type, const std::string &name, const IInterface *parent)