![]()  | 
						
							 
								EIC Software
							  
							
								Reference for 
								EIC 
								simulation and reconstruction software on GitHub
							  
						 | 
					
Select tracks by applying some selection cuts. More...
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TrackSelector.hpp>
 Inheritance diagram for ActsExamples::TrackSelector:
 Collaboration diagram for ActsExamples::TrackSelector:Classes | |
| struct | Config | 
Public Member Functions | |
| TrackSelector (const Config &cfg, Acts::Logging::Level lvl) | |
| ProcessCode | execute (const AlgorithmContext &ctx) const final | 
  Public Member Functions inherited from ActsExamples::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 ActsExamples::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
| ActsExamples::TrackSelector::TrackSelector | ( | const Config & | cfg, | 
| Acts::Logging::Level | lvl | ||
| ) | 
Definition at line 19 of file TrackSelector.cpp.
View newest version in sPHENIX GitHub at line 19 of file TrackSelector.cpp
References ActsExamples::TrackSelector::Config::inputTrackParameters, m_cfg, ActsExamples::TrackSelector::Config::outputTrackIndices, and ActsExamples::TrackSelector::Config::outputTrackParameters.
      
  | 
  finalvirtual | 
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements ActsExamples::BareAlgorithm.
Definition at line 33 of file TrackSelector.cpp.
View newest version in sPHENIX GitHub at line 33 of file TrackSelector.cpp
References kdfinder::abs(), ACTS_DEBUG, ActsExamples::WhiteBoard::add(), Acts::VectorHelpers::eta(), ActsExamples::AlgorithmContext::eventNumber, ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), max, min, SUCCESS, theta(), and x.
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 59 of file TrackSelector.hpp.
View newest version in sPHENIX GitHub at line 59 of file TrackSelector.hpp
Referenced by TrackSelector().