Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | Config |
Public Member Functions | |
PrototracksToParameters (Config cfg, Acts::Logging::Level lvl) | |
~PrototracksToParameters () | |
ProcessCode | execute (const AlgorithmContext &ctx) const final |
const Config & | config () const |
Const access to the config. | |
Public Member Functions inherited from ActsExamples::IAlgorithm | |
IAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
std::string | name () const override |
The algorithm name. | |
ProcessCode | internalExecute (const AlgorithmContext &context) final |
ProcessCode | initialize () override |
Initialize the algorithm. | |
ProcessCode | finalize () override |
Finalize the algorithm. | |
Private Attributes | |
Config | m_cfg |
Acts::BoundSquareMatrix | m_covariance = Acts::BoundSquareMatrix::Zero() |
WriteDataHandle< SimSeedContainer > | m_outputSeeds {this, "OutputSeeds"} |
WriteDataHandle < ProtoTrackContainer > | m_outputProtoTracks |
WriteDataHandle < TrackParametersContainer > | m_outputParameters |
ReadDataHandle < SimSpacePointContainer > | m_inputSpacePoints |
ReadDataHandle < ProtoTrackContainer > | m_inputProtoTracks |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
const Acts::Logger & | logger () const |
This algorithm computes track parameters for prototracks. Unfortunately, it is not possible to create first seeds from prototracks, and then use the more generic TrackParamEstimationAlgorithm.
The reason is, that in the end we need a consistent collection of parameters and prototracks. But if the parameter estimation fails for individual seeds, it is not possible to recover a matching set of prototracks afterwards. Therefore, these two steps must be unified into one algorithm.
Definition at line 30 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 30 of file PrototracksToParameters.hpp
ActsExamples::PrototracksToParameters::PrototracksToParameters | ( | Config | cfg, |
Acts::Logging::Level | lvl | ||
) |
Construct the algorithm.
cfg | is the algorithm configuration |
lvl | is the logging level |
Definition at line 32 of file PrototracksToParameters.cpp.
View newest version in sPHENIX GitHub at line 32 of file PrototracksToParameters.cpp
References Acts::eBoundLoc0, Acts::eBoundSize, ActsExamples::PrototracksToParameters::Config::geometry, i, ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::PrototracksToParameters::Config::initialSigmas, ActsExamples::PrototracksToParameters::Config::initialVarInflation, ActsExamples::PrototracksToParameters::Config::inputProtoTracks, ActsExamples::PrototracksToParameters::Config::inputSpacePoints, m_cfg, m_covariance, m_inputProtoTracks, m_inputSpacePoints, m_outputParameters, m_outputProtoTracks, m_outputSeeds, ActsExamples::PrototracksToParameters::Config::magneticField, ActsExamples::PrototracksToParameters::Config::outputParameters, ActsExamples::PrototracksToParameters::Config::outputProtoTracks, and ActsExamples::PrototracksToParameters::Config::outputSeeds.
ActsExamples::PrototracksToParameters::~PrototracksToParameters | ( | ) |
Definition at line 55 of file PrototracksToParameters.cpp.
View newest version in sPHENIX GitHub at line 55 of file PrototracksToParameters.cpp
|
inline |
Const access to the config.
Definition at line 83 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 83 of file PrototracksToParameters.hpp
References m_cfg.
|
finalvirtual |
Run the algorithm.
ctx | is the algorithm context with event information |
Implements ActsExamples::IAlgorithm.
Definition at line 57 of file PrototracksToParameters.cpp.
View newest version in sPHENIX GitHub at line 57 of file PrototracksToParameters.cpp
References KFPMath::a, ACTS_DEBUG, ACTS_ERROR, ACTS_VERBOSE, ACTS_WARNING, KFPMath::b, Acts::IntegrationTest::bCache, ActsExamples::PrototracksToParameters::Config::bFieldMin, ActsExamples::PrototracksToParameters::Config::buildTightSeeds, Acts::estimateTrackParamsFromSeed(), ckf::field, ActsExamples::AlgorithmContext::geoContext, ActsExamples::PrototracksToParameters::Config::geometry, i, Acts::UnitConstants::m, m_cfg, m_covariance, m_inputProtoTracks, m_inputSpacePoints, m_outputParameters, m_outputProtoTracks, m_outputSeeds, ActsExamples::AlgorithmContext::magFieldContext, ActsExamples::PrototracksToParameters::Config::magneticField, testing::internal::move(), Dataset::parameters, pars, ActsExamples::PrototracksToParameters::Config::particleHypothesis, physmon_simulation::s, seed, Acts::Experimental::detail::BlueprintHelper::sort(), Acts::Seed< SpacePoint >::sp(), SUCCESS, writeMapConfig::surface, t, and Acts::Test::transform.
|
private |
Definition at line 86 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 86 of file PrototracksToParameters.hpp
Referenced by config(), execute(), and PrototracksToParameters().
|
private |
Definition at line 87 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 87 of file PrototracksToParameters.hpp
Referenced by execute(), and PrototracksToParameters().
|
private |
Definition at line 96 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 96 of file PrototracksToParameters.hpp
Referenced by execute(), and PrototracksToParameters().
|
private |
Definition at line 94 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 94 of file PrototracksToParameters.hpp
Referenced by execute(), and PrototracksToParameters().
|
private |
Definition at line 92 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 92 of file PrototracksToParameters.hpp
Referenced by execute(), and PrototracksToParameters().
|
private |
Definition at line 90 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 90 of file PrototracksToParameters.hpp
Referenced by execute(), and PrototracksToParameters().
|
private |
Definition at line 89 of file PrototracksToParameters.hpp.
View newest version in sPHENIX GitHub at line 89 of file PrototracksToParameters.hpp
Referenced by execute(), and PrototracksToParameters().