ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::FatrasAlgorithm< simulator_t > Exception Template Referencefinal

#include <acts/blob/master/Examples/Algorithms/Fatras/include/ACTFW/Fatras/FatrasAlgorithm.hpp>

+ Inheritance diagram for FW::FatrasAlgorithm< simulator_t >:
+ Collaboration diagram for FW::FatrasAlgorithm< simulator_t >:

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::Loggerlogger () const
 

Detailed Description

template<typename simulator_t>
exception FW::FatrasAlgorithm< simulator_t >

Fast track simulation using the Acts propagation and navigation.

Template Parameters
simulator_tthe 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

Constructor & Destructor Documentation

template<typename simulator_t >
FW::FatrasAlgorithm< simulator_t >::FatrasAlgorithm ( Config  cfg,
Acts::Logging::Level  lvl 
)
inline

Construct the algorithm from a config.

Parameters
cfgis the configuration struct
lvlis 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.

Member Function Documentation

template<typename simulator_t >
FW::ProcessCode FW::FatrasAlgorithm< simulator_t >::execute ( const AlgorithmContext ctx) const
inlinefinaloverridevirtual

Run the simulation for a single event.

Parameters
ctxthe 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.

+ Here is the call graph for this function:

Member Data Documentation

template<typename simulator_t >
Config FW::FatrasAlgorithm< simulator_t >::m_cfg
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().


The documentation for this exception was generated from the following file: