ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::ParticleSmearing Exception Referencefinal

#include <acts/blob/master/Examples/Algorithms/TruthTracking/ACTFW/TruthTracking/ParticleSmearing.hpp>

+ Inheritance diagram for FW::ParticleSmearing:
+ Collaboration diagram for FW::ParticleSmearing:

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

Detailed Description

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

Constructor & Destructor Documentation

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.

Member Function Documentation

FW::ProcessCode FW::ParticleSmearing::execute ( const AlgorithmContext context) const
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().

+ Here is the call graph for this function:

Member Data Documentation

Config FW::ParticleSmearing::m_cfg
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().


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