ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Algorithms/TruthTracking/ACTFW/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 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 |
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
FW::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 FW::ParticleSmearing::Config::inputParticles, m_cfg, and FW::ParticleSmearing::Config::outputTrackParameters.
|
finaloverridevirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements FW::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(), FW::WhiteBoard::add(), dir, Acts::eLOC_0, Acts::eLOC_1, Acts::detail::ensureThetaBounds(), Acts::ePHI, Acts::eQOP, Acts::eT, Acts::eTHETA, FW::AlgorithmContext::eventStore, FW::WhiteBoard::get(), mom, Dataset::parameters, particle, phi, pos(), pt, SUCCESS, theta(), and Acts::VectorHelpers::time().
|
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().