Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
class | AlignmentFunction |
struct | Config |
Public Types | |
using | AlignmentResult = Acts::Result< ActsAlignment::AlignmentResult > |
using | AlignmentParameters = std::unordered_map< Acts::DetectorElementBase *, Acts::Transform3 > |
using | TrackFitterOptions = Acts::KalmanFitterOptions< Acts::VectorMultiTrajectory > |
Public Member Functions | |
AlignmentAlgorithm (Config cfg, Acts::Logging::Level lvl) | |
ActsExamples::ProcessCode | execute (const ActsExamples::AlgorithmContext &ctx) const override |
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. | |
Static Public Member Functions | |
static std::shared_ptr < AlignmentFunction > | makeAlignmentFunction (std::shared_ptr< const Acts::TrackingGeometry > trackingGeometry, std::shared_ptr< const Acts::MagneticFieldProvider > magneticField) |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
const Acts::Logger & | logger () const |
Definition at line 27 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 27 of file AlignmentAlgorithm.hpp
using ActsExamples::AlignmentAlgorithm::AlignmentParameters = std::unordered_map<Acts::DetectorElementBase*, Acts::Transform3> |
Definition at line 31 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 31 of file AlignmentAlgorithm.hpp
using ActsExamples::AlignmentAlgorithm::AlignmentResult = Acts::Result<ActsAlignment::AlignmentResult> |
Definition at line 29 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 29 of file AlignmentAlgorithm.hpp
using ActsExamples::AlignmentAlgorithm::TrackFitterOptions = Acts::KalmanFitterOptions<Acts::VectorMultiTrajectory> |
Alignment function that takes sets of input measurements, initial trackstate and alignment options and returns some alignment-specific result.
Definition at line 36 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 36 of file AlignmentAlgorithm.hpp
ActsExamples::AlignmentAlgorithm::AlignmentAlgorithm | ( | Config | cfg, |
Acts::Logging::Level | lvl | ||
) |
Constructor of the alignment algorithm
cfg | is the config struct to configure the algorithm |
level | is the logging level |
Definition at line 19 of file AlignmentAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 19 of file AlignmentAlgorithm.cpp
References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::AlignmentAlgorithm::Config::inputInitialTrackParameters, ActsExamples::AlignmentAlgorithm::Config::inputMeasurements, ActsExamples::AlignmentAlgorithm::Config::inputProtoTracks, ActsExamples::AlignmentAlgorithm::Config::inputSourceLinks, m_cfg, m_inputInitialTrackParameters, m_inputMeasurements, m_inputProtoTracks, m_inputSourceLinks, m_outputAlignmentParameters, and ActsExamples::AlignmentAlgorithm::Config::outputAlignmentParameters.
|
overridevirtual |
Framework execute method of the alignment algorithm
ctx | is the algorithm context that holds event-wise information |
Implements ActsExamples::IAlgorithm.
Definition at line 48 of file AlignmentAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 48 of file AlignmentAlgorithm.cpp
References ACTS_DEBUG, ACTS_FATAL, ACTS_VERBOSE, ACTS_WARNING, ActsExamples::AlgorithmContext::calibContext, ActsExamples::MeasurementCalibratorAdapter::calibrate(), conf::extensions, ActsExamples::AlgorithmContext::geoContext, m_cfg(), ActsExamples::AlgorithmContext::magFieldContext, testing::internal::move(), pSurface, and SUCCESS.
|
static |
Create the alignment function implementation.
The magnetic field is intentionally given by-value since the variant contains shared_ptr anyway.
Definition at line 49 of file AlignmentAlgorithmFunction.cpp.
View newest version in sPHENIX GitHub at line 49 of file AlignmentAlgorithmFunction.cpp
References alignment(), cfg, testing::internal::move(), Acts::Test::navigator, and propagation_timing::stepper.
|
private |
Definition at line 101 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 101 of file AlignmentAlgorithm.hpp
Referenced by AlignmentAlgorithm().
|
private |
Definition at line 107 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 107 of file AlignmentAlgorithm.hpp
Referenced by AlignmentAlgorithm().
|
private |
Definition at line 103 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 103 of file AlignmentAlgorithm.hpp
Referenced by AlignmentAlgorithm().
|
private |
Definition at line 109 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 109 of file AlignmentAlgorithm.hpp
Referenced by AlignmentAlgorithm().
|
private |
Definition at line 105 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 105 of file AlignmentAlgorithm.hpp
Referenced by AlignmentAlgorithm().
|
private |
Definition at line 111 of file AlignmentAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 111 of file AlignmentAlgorithm.hpp
Referenced by AlignmentAlgorithm().