EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Algorithms/Fatras/include/ActsExamples/Fatras/FatrasAlgorithm.hpp>
Classes | |
struct | Config |
Public Member Functions | |
FatrasAlgorithm (Config cfg, Acts::Logging::Level lvl) | |
ActsExamples::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 |
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, ActsExamples::FatrasAlgorithm< simulator_t >::m_cfg, and ActsExamples::FatrasAlgorithm< simulator_t >::Config::simulator.
|
inlinefinaloverridevirtual |
Run the simulation for a single event.
ctx | the algorithm context containing all event information |
Implements ActsExamples::BareAlgorithm.
Definition at line 64 of file FatrasAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 64 of file FatrasAlgorithm.hpp
References ACTS_DEBUG, ACTS_ERROR, ACTS_FATAL, ActsExamples::FatrasAlgorithm< simulator_t >::Config::inputParticles, ActsExamples::FatrasAlgorithm< simulator_t >::m_cfg, ActsExamples::FatrasAlgorithm< simulator_t >::Config::outputHits, ActsExamples::FatrasAlgorithm< simulator_t >::Config::outputParticlesFinal, ActsExamples::FatrasAlgorithm< simulator_t >::Config::outputParticlesInitial, ActsExamples::FatrasAlgorithm< simulator_t >::Config::randomNumbers, ActsExamples::FatrasAlgorithm< simulator_t >::Config::simulator, SUCCESS, and Acts::UnitConstants::u.
|
private |
Definition at line 127 of file FatrasAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 127 of file FatrasAlgorithm.hpp
Referenced by ActsExamples::FatrasAlgorithm< simulator_t >::execute(), and ActsExamples::FatrasAlgorithm< simulator_t >::FatrasAlgorithm().