EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Group particles into proto vertices using truth information. More...
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TruthVertexFinder.hpp>
Classes | |
struct | Config |
Public Member Functions | |
TruthVertexFinder (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 |
Group particles into proto vertices using truth information.
Definition at line 18 of file TruthVertexFinder.hpp.
View newest version in sPHENIX GitHub at line 18 of file TruthVertexFinder.hpp
ActsExamples::TruthVertexFinder::TruthVertexFinder | ( | const Config & | cfg, |
Acts::Logging::Level | lvl | ||
) |
Definition at line 20 of file TruthVertexFinder.cpp.
View newest version in sPHENIX GitHub at line 20 of file TruthVertexFinder.cpp
References ActsExamples::TruthVertexFinder::Config::inputParticles, m_cfg, and ActsExamples::TruthVertexFinder::Config::outputProtoVertices.
|
finalvirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements ActsExamples::BareAlgorithm.
Definition at line 31 of file TruthVertexFinder.cpp.
View newest version in sPHENIX GitHub at line 31 of file TruthVertexFinder.cpp
References ActsExamples::WhiteBoard::add(), ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), ActsExamples::groupByPrimaryVertex(), ActsExamples::groupBySecondaryVertex(), SUCCESS, and Acts::UnitConstants::u.
|
private |
Definition at line 36 of file TruthVertexFinder.hpp.
View newest version in sPHENIX GitHub at line 36 of file TruthVertexFinder.hpp
Referenced by TruthVertexFinder().