#include <InDetTrackSelectionToolWrapper.h>
◆ addBranches()
| StatusCode DerivationFramework::InDetTrackSelectionToolWrapper::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 43 of file InDetTrackSelectionToolWrapper.cxx.
48 if (!tracks.isValid()) {
50 ATH_MSG_ERROR (
"Couldn't retrieve TrackParticles with key: " << tracks.key() );
51 return StatusCode::FAILURE;
55 for (
const auto *trItr : *tracks) {
56 accept( *trItr ) =
m_tool->accept(trItr).getCutResult(0);
59 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode DerivationFramework::InDetTrackSelectionToolWrapper::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 19 of file InDetTrackSelectionToolWrapper.cxx.
22 ATH_MSG_ERROR(
"No decoration prefix name provided for the output of InDetTrackSelectionToolWrapper!");
23 return StatusCode::FAILURE;
28 pos = (
pos != std::string::npos) ?
pos+1 : 0;
31 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)) {
34 std::cout <<
"DEBUG " <<
name() <<
" InDetTrackSelectionToolWrapper::initialize container key " <<
m_tracksKey.
key() <<
" -> " << container_name <<
" decor=" <<
m_decorationKey.
key() << std::endl;
38 ATH_MSG_INFO(
" InDetTrackSelectionToolWrapper::initialize i: " << inputHandles().
size() <<
" o:" << outputHandles().
size() );
39 return StatusCode::SUCCESS;
◆ m_decorationKey
◆ m_tool
◆ m_tracksKey
The documentation for this class was generated from the following files: