![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Select tracks by applying some selection cuts. More...
#include <acts/blob/master/Examples/Algorithms/TruthTracking/ACTFW/TruthTracking/TrackSelector.hpp>
Inheritance diagram for FW::TrackSelector:
Collaboration diagram for FW::TrackSelector:Classes | |
| struct | Config |
Public Member Functions | |
| TrackSelector (const Config &cfg, Acts::Logging::Level level=Acts::Logging::INFO) | |
| ProcessCode | execute (const AlgorithmContext &ctx) const finaloverride |
Public Member Functions inherited from FW::BareAlgorithm | |
| BareAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
| std::string | name () const finaloverride |
| The algorithm name. | |
Private Attributes | |
| Config | m_cfg |
Additional Inherited Members | |
Protected Member Functions inherited from FW::BareAlgorithm | |
| const Acts::Logger & | logger () const |
Select tracks by applying some selection cuts.
Definition at line 19 of file TrackSelector.hpp.
View newest version in sPHENIX GitHub at line 19 of file TrackSelector.hpp
| FW::TrackSelector::TrackSelector | ( | const Config & | cfg, |
| Acts::Logging::Level | level = Acts::Logging::INFO |
||
| ) |
Definition at line 20 of file TrackSelector.cpp.
View newest version in sPHENIX GitHub at line 20 of file TrackSelector.cpp
References FW::TrackSelector::Config::input, m_cfg, and FW::TrackSelector::Config::output.
|
finaloverridevirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements FW::BareAlgorithm.
Definition at line 30 of file TrackSelector.cpp.
View newest version in sPHENIX GitHub at line 30 of file TrackSelector.cpp
References kdfinder::abs(), ACTS_DEBUG, FW::WhiteBoard::add(), Acts::VectorHelpers::eta(), FW::AlgorithmContext::eventNumber, FW::AlgorithmContext::eventStore, FW::WhiteBoard::get(), max, min, phi, pt, SUCCESS, FW::VertexAndTracks::tracks, FW::VertexAndTracks::vertex, and x.
Here is the call graph for this function:
|
private |
Definition at line 49 of file TrackSelector.hpp.
View newest version in sPHENIX GitHub at line 49 of file TrackSelector.hpp
Referenced by TrackSelector().