ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Algorithms/Fatras/include/ACTFW/Fatras/FatrasAlgorithm.hpp>
Classes | |
struct | Config |
Public Member Functions | |
FatrasAlgorithm (Config cfg, Acts::Logging::Level lvl) | |
FW::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 |
Fast track simulation using the Acts propagation and navigation.
simulator_t | the Fatras simulation kernel type |
Definition at line 26 of file FatrasAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 26 of file FatrasAlgorithm.hpp
|
inline |
Construct the algorithm from a config.
cfg | is the configuration struct |
lvl | is the logging level |
Definition at line 50 of file FatrasAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 50 of file FatrasAlgorithm.hpp
References ACTS_DEBUG, FW::FatrasAlgorithm< simulator_t >::m_cfg, and FW::FatrasAlgorithm< simulator_t >::Config::simulator.
|
inlinefinaloverridevirtual |
Run the simulation for a single event.
ctx | the algorithm context containing all event information |
Implements FW::BareAlgorithm.
Definition at line 63 of file FatrasAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 63 of file FatrasAlgorithm.hpp
References ACTS_DEBUG, ACTS_ERROR, ACTS_FATAL, hits(), FW::FatrasAlgorithm< simulator_t >::Config::inputParticles, FW::FatrasAlgorithm< simulator_t >::m_cfg, FW::FatrasAlgorithm< simulator_t >::Config::outputHits, FW::FatrasAlgorithm< simulator_t >::Config::outputParticlesFinal, FW::FatrasAlgorithm< simulator_t >::Config::outputParticlesInitial, FW::FatrasAlgorithm< simulator_t >::Config::randomNumbers, FW::FatrasAlgorithm< simulator_t >::Config::simulator, SUCCESS, and Acts::UnitConstants::u.
|
private |
Definition at line 125 of file FatrasAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 125 of file FatrasAlgorithm.hpp
Referenced by FW::FatrasAlgorithm< simulator_t >::execute(), and FW::FatrasAlgorithm< simulator_t >::FatrasAlgorithm().