Loading [MathJax]/jax/output/SVG/config.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #if !defined(XAOD_STANDALONE)
22 return StatusCode::FAILURE;
32 <<
" pT > " <<
m_ptmin <<
" MeV"
36 return StatusCode::SUCCESS;
56 auto selected_jets = std::make_unique<ConstDataVector<xAOD::JetContainer> >(
SG::VIEW_ELEMENTS );
59 <<
" with pt " <<
jet->pt()
60 <<
" eta " <<
jet->eta()
63 selected_jets->push_back(
jet);
69 ATH_MSG_DEBUG(
"Selected " << selected_jets->size() <<
" from input container of size " << inputHandle->size() );
73 std::unique_ptr<const xAOD::JetContainer> selected_jets_jetc(selected_jets.release()->asDataVector());
78 if( jetContHandle.
put( std::move(selected_jets_jetc) ) ==
nullptr) {
80 return StatusCode::FAILURE;
84 return StatusCode::SUCCESS;
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
SG::WriteHandleKey< xAOD::JetContainer > m_output
StatusCode execute(const EventContext &) const override
Gaudi::Property< float > m_absetamax
StatusCode initialize() override
Athena algorithm's Hooks.
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::JetContainer > m_input
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ShallowCopyDecorDeps< xAOD::JetContainer > m_decorDeps
Gaudi::Property< float > m_ptmin
bool selected(const xAOD::Jet &) const
Method to select jets.
const_pointer_type put(std::unique_ptr< T > data, bool returnExisting=false) const
Record an object to the store.