EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
this test algorithm performs test propagation within the Acts::Propagator More...
Classes | |
struct | Config |
Public Member Functions | |
PropagationAlgorithm (const Config &cnf, Acts::Logging::Level loglevel) | |
ActsExamples::ProcessCode | execute (const AlgorithmContext &context) const finaloverride |
template<typename parameters_t > | |
PropagationOutput | executeTest (const AlgorithmContext &context, const parameters_t &startParameters, double pathLength) const |
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 Member Functions | |
std::optional < Acts::BoundSymMatrix > | generateCovariance (ActsExamples::RandomEngine &rnd, std::normal_distribution< double > &gauss) const |
template<typename parameters_t > | |
PropagationOutput | executeTest (const AlgorithmContext &context, const parameters_t &startParameters, double pathLength=std::numeric_limits< double >::max()) const |
Private Attributes | |
Config | m_cfg |
the config class | |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::BareAlgorithm | |
const Acts::Logger & | logger () const |
this test algorithm performs test propagation within the Acts::Propagator
If the propagator is equipped appropriately, it can also be used to test the Extrapolator within the geomtetry
propagator_t | Type of the Propagator to be tested |
Definition at line 60 of file PropagationAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 60 of file PropagationAlgorithm.hpp
PropagationAlgorithm::PropagationAlgorithm | ( | const Config & | cnf, |
Acts::Logging::Level | loglevel | ||
) |
Constructor
[in] | cnf | is the configuration struct |
[in] | loglevel | is the loggin level |
Definition at line 40 of file PropagationAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 40 of file PropagationAlgorithm.hpp
|
finaloverridevirtual |
Framework execute method
[in] | the | algorithm context for event consistency |
get the d0 and z0
Implements ActsExamples::BareAlgorithm.
Definition at line 107 of file PropagationAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 107 of file PropagationAlgorithm.hpp
PropagationOutput ActsExamples::PropagationAlgorithm< propagator_t >::executeTest | ( | const AlgorithmContext & | context, |
const parameters_t & | startParameters, | ||
double | pathLength | ||
) | const |
Templated execute test method for charged and netural particles
[in] | context | is the contextual data of this event |
[in] | startParameters | the start parameters |
[in] | pathLength | the maximal path length to go |
Definition at line 51 of file PropagationAlgorithm.ipp.
View newest version in sPHENIX GitHub at line 51 of file PropagationAlgorithm.ipp
References ACTS_DEBUG, ActsExamples::AlgorithmContext::geoContext, ActsExamples::AlgorithmContext::magFieldContext, eicpy.build::options, and ActsTests::PropagationDatasets::pathLength.
|
private |
Templated execute test method for charged and netural particles
[in] | context | The Context for this call |
[in] | startParameters | the start parameters |
[in] | pathLengthe | the path limit of this propagation |
Templated execute test method for charged and netural particles
[in] | context | is the contextual data of this event |
[in] | startParameters | the start parameters |
[in] | pathLength | the maximal path length to go |
Definition at line 52 of file PropagationAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 52 of file PropagationAlgorithm.hpp
|
private |
Private helper method to create a corrleated covariance matrix
[in] | rnd | is the random engine |
[in] | gauss | is a gaussian distribution to draw from |
Definition at line 16 of file PropagationAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 16 of file PropagationAlgorithm.hpp
|
private |
the config class
Definition at line 137 of file PropagationAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 137 of file PropagationAlgorithm.hpp