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

#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/ParticleSmearing.hpp>

+ Inheritance diagram for ActsExamples::ParticleSmearing:
+ Collaboration diagram for ActsExamples::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 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::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

ActsExamples::ParticleSmearing::ParticleSmearing ( const Config cfg,
Acts::Logging::Level  lvl 
)

Member Function Documentation

ActsExamples::ProcessCode ActsExamples::ParticleSmearing::execute ( const AlgorithmContext context) const
finaloverridevirtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements ActsExamples::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(), ActsExamples::WhiteBoard::add(), cos(), Acts::Test::cov, Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundTheta, Acts::eBoundTime, Acts::detail::ensureThetaBounds(), Acts::ePos0, Acts::ePos1, Acts::ePos2, Acts::eTime, ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), p, Dataset::parameters, particle, Acts::VectorHelpers::phi(), phi, Acts::Test::pos4(), SUCCESS, Acts::VectorHelpers::theta(), and theta().

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::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: