#include <InDetTrackSelectionToolWrapper.h>
◆ InDetTrackSelectionToolWrapper()
DerivationFramework::InDetTrackSelectionToolWrapper::InDetTrackSelectionToolWrapper |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::InDetTrackSelectionToolWrapper::addBranches |
( |
| ) |
const |
|
virtual |
Definition at line 54 of file InDetTrackSelectionToolWrapper.cxx.
58 const EventContext& ctx = Gaudi::Hive::currentContext();
62 if (!tracks.isValid()) {
64 ATH_MSG_ERROR (
"Couldn't retrieve TrackParticles with key: " << tracks.key() );
65 return StatusCode::FAILURE;
69 for (
const auto *trItr : *tracks) {
70 accept( *trItr ) =
m_tool->accept(trItr).getCutResult(0);
73 return StatusCode::SUCCESS;
◆ finalize()
StatusCode DerivationFramework::InDetTrackSelectionToolWrapper::finalize |
( |
| ) |
|
◆ initialize()
StatusCode DerivationFramework::InDetTrackSelectionToolWrapper::initialize |
( |
| ) |
|
Definition at line 26 of file InDetTrackSelectionToolWrapper.cxx.
29 ATH_MSG_ERROR(
"No decoration prefix name provided for the output of InDetTrackSelectionToolWrapper!");
30 return StatusCode::FAILURE;
35 pos = (
pos != std::string::npos) ?
pos+1 : 0;
38 if (!(decor_name.compare(0,
m_tracksKey.
key().size(),std::string_view(
m_tracksKey.
key()))==0 && decor_name.compare(0,container_name.size(),container_name)==0)) {
41 std::cout <<
"DEBUG " <<
name() <<
" InDetTrackSelectionToolWrapper::initialize container key " <<
m_tracksKey.
key() <<
" -> " << container_name <<
" decor=" <<
m_decorationKey.
key() << std::endl;
45 ATH_MSG_INFO(
" InDetTrackSelectionToolWrapper::initialize i: " << inputHandles().
size() <<
" o:" << outputHandles().
size() );
46 return StatusCode::SUCCESS;
◆ m_decorationKey
◆ m_tool
◆ m_tracksKey
The documentation for this class was generated from the following files: