EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/ParticleSmearing.hpp>
Classes | |
struct | Config |
Public Member Functions | |
ParticleSmearing (const Config &cfg, Acts::Logging::Level lvl) | |
ProcessCode | execute (const AlgorithmContext &ctx) const finaloverride |
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 |
Create track states by smearing truth particle information.
A curvilinear track state is constructed at the vertex position for each input particle. They are stored in the same order as the input particles.
Definition at line 25 of file ParticleSmearing.hpp.
View newest version in sPHENIX GitHub at line 25 of file ParticleSmearing.hpp
ActsExamples::ParticleSmearing::ParticleSmearing | ( | const Config & | cfg, |
Acts::Logging::Level | lvl | ||
) |
Definition at line 20 of file ParticleSmearing.cpp.
View newest version in sPHENIX GitHub at line 20 of file ParticleSmearing.cpp
References ActsExamples::ParticleSmearing::Config::inputParticles, m_cfg, and ActsExamples::ParticleSmearing::Config::outputTrackParameters.
|
finaloverridevirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements ActsExamples::BareAlgorithm.
Definition at line 31 of file ParticleSmearing.cpp.
View newest version in sPHENIX GitHub at line 31 of file ParticleSmearing.cpp
References kdfinder::abs(), ActsExamples::WhiteBoard::add(), cos(), Acts::Test::cov, Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundTheta, Acts::eBoundTime, Acts::detail::ensureThetaBounds(), Acts::ePos0, Acts::ePos1, Acts::ePos2, Acts::eTime, ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), p, Dataset::parameters, particle, Acts::VectorHelpers::phi(), phi, Acts::Test::pos4(), SUCCESS, Acts::VectorHelpers::theta(), and theta().
|
private |
Definition at line 59 of file ParticleSmearing.hpp.
View newest version in sPHENIX GitHub at line 59 of file ParticleSmearing.hpp
Referenced by ParticleSmearing().