Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsAlignment::Alignment< fitter_t > Struct Template Reference

KalmanFitter-based alignment implementation. More...

#include <acts/blob/sPHENIX/Alignment/include/ActsAlignment/Kernel/Alignment.hpp>

+ Collaboration diagram for ActsAlignment::Alignment< fitter_t >:

Public Member Functions

 Alignment ()=delete
 Default constructor is deleted.
 
 Alignment (fitter_t fitter, std::unique_ptr< const Acts::Logger > _logger=Acts::getDefaultLogger("Alignment", Acts::Logging::INFO))
 Constructor from arguments.
 
template<typename trajectory_container_t , typename start_parameters_container_t , typename fit_options_t >
void calculateAlignmentParameters (const trajectory_container_t &trajectoryCollection, const start_parameters_container_t &startParametersCollection, const fit_options_t &fitOptions, AlignmentResult &alignResult, const AlignmentMask &alignMask=AlignmentMask::All) const
 calculate the alignment parameters delta
 
Acts::Result< void > updateAlignmentParameters (const Acts::GeometryContext &gctx, const std::vector< Acts::DetectorElementBase * > &alignedDetElements, const AlignedTransformUpdater &alignedTransformUpdater, AlignmentResult &alignResult) const
 update the detector element alignment parameters
 
template<typename trajectory_container_t , typename start_parameters_container_t , typename fit_options_t >
Acts::Result< AlignmentResultalign (const trajectory_container_t &trajectoryCollection, const start_parameters_container_t &startParametersCollection, const AlignmentOptions< fit_options_t > &alignOptions) const
 Alignment implementation.
 

Private Member Functions

const Acts::Loggerlogger () const
 

Private Attributes

fitter_t m_fitter
 
std::unique_ptr< const
Acts::Logger
m_logger
 

Detailed Description

template<typename fitter_t>
struct ActsAlignment::Alignment< fitter_t >

KalmanFitter-based alignment implementation.

Template Parameters
fitter_tType of the fitter class

Definition at line 132 of file Alignment.hpp.

View newest version in sPHENIX GitHub at line 132 of file Alignment.hpp

Constructor & Destructor Documentation

template<typename fitter_t >
ActsAlignment::Alignment< fitter_t >::Alignment ( )
delete

Default constructor is deleted.

template<typename fitter_t >
ActsAlignment::Alignment< fitter_t >::Alignment ( fitter_t  fitter,
std::unique_ptr< const Acts::Logger _logger = Acts::getDefaultLogger("Alignment< fitter_t >", Acts::Logging::INFO) 
)
inline

Constructor from arguments.

Definition at line 139 of file Alignment.hpp.

View newest version in sPHENIX GitHub at line 139 of file Alignment.hpp

References testing::internal::move().

+ Here is the call graph for this function:

Member Function Documentation

template<typename fitter_t >
template<typename trajectory_container_t , typename start_parameters_container_t , typename fit_options_t >
Acts::Result< ActsAlignment::AlignmentResult > ActsAlignment::Alignment< fitter_t >::align ( const trajectory_container_t &  trajectoryCollection,
const start_parameters_container_t &  startParametersCollection,
const AlignmentOptions< fit_options_t > &  alignOptions 
) const

Alignment implementation.

Template Parameters
trajectory_container_tThe trajectories container type
start_parameters_tThe initial parameters container type
fit_options_tThe fit options type
Parameters
trajectoryCollectionThe collection of trajectories as input of fitting
startParametersCollectionThe collection of starting parameters as input of fitting
alignOptionsThe alignment options
Returns
The alignment result

Definition at line 216 of file Alignment.ipp.

View newest version in sPHENIX GitHub at line 216 of file Alignment.ipp

References ACTS_DEBUG, ACTS_ERROR, ACTS_INFO, ACTS_VERBOSE, ActsAlignment::AlignmentOptions< fit_options_t >::alignedDetElements, ActsAlignment::AlignmentResult::alignedParameters, ActsAlignment::AlignmentOptions< fit_options_t >::alignedTransformUpdater, ActsAlignment::AlignmentResult::averageChi2ONdf, ActsAlignment::AlignmentOptions< fit_options_t >::averageChi2ONdfCutOff, ActsAlignment::AlignmentResult::chi2, ActsAlignment::AlignmentResult::deltaAlignmentParameters, ActsAlignment::AlignmentOptions< fit_options_t >::deltaAverageChi2ONdfCutOff, ActsAlignment::AlignmentOptions< fit_options_t >::fitOptions, ActsAlignment::AlignmentResult::idxedAlignSurfaces, ActsAlignment::AlignmentOptions< fit_options_t >::iterationState, ActsAlignment::AlignmentOptions< fit_options_t >::maxIterations, ActsAlignment::AlignmentResult::measurementDim, ActsAlignment::AlignmentResult::result, writeMapConfig::surface, Acts::Test::transform, and translation().

+ Here is the call graph for this function:

template<typename fitter_t >
template<typename trajectory_container_t , typename start_parameters_container_t , typename fit_options_t >
void ActsAlignment::Alignment< fitter_t >::calculateAlignmentParameters ( const trajectory_container_t &  trajectoryCollection,
const start_parameters_container_t &  startParametersCollection,
const fit_options_t &  fitOptions,
ActsAlignment< fitter_t >::AlignmentResult alignResult,
const AlignmentMask alignMask = AlignmentMask::All 
) const

calculate the alignment parameters delta

Template Parameters
trajectory_container_tThe trajectories container type
start_parameters_tThe initial parameters container type
fit_options_tThe fit options type
Parameters
trajectoryCollectionThe collection of trajectories as input of fitting
startParametersCollectionThe collection of starting parameters as input of fitting
fitOptionsThe fit Options steering the fit
alignResult[in, out] The aligned result
alignMaskThe alignment mask (same for all measurements now)

Definition at line 56 of file Alignment.ipp.

View newest version in sPHENIX GitHub at line 56 of file Alignment.ipp

References ACTS_DEBUG, ACTS_VERBOSE, ActsAlignment::AlignmentResult::alignmentCovariance, ActsAlignment::AlignmentResult::alignmentDof, assert, ActsAlignment::AlignmentResult::averageChi2ONdf, ActsAlignment::AlignmentResult::chi2, ActsAlignment::AlignmentResult::deltaAlignmentParameters, ActsAlignment::AlignmentResult::deltaChi2, Acts::eAlignmentSize, ActsAlignment::AlignmentResult::idxedAlignSurfaces, ActsAlignment::AlignmentResult::measurementDim, ActsAlignment::AlignmentResult::numTracks, and parse_cmake_options::rows.

template<typename fitter_t >
const Acts::Logger& ActsAlignment::Alignment< fitter_t >::logger ( ) const
inlineprivate

Definition at line 229 of file Alignment.hpp.

View newest version in sPHENIX GitHub at line 229 of file Alignment.hpp

References ActsAlignment::Alignment< fitter_t >::m_logger.

template<typename fitter_t >
Acts::Result< void > ActsAlignment::Alignment< fitter_t >::updateAlignmentParameters ( const Acts::GeometryContext gctx,
const std::vector< Acts::DetectorElementBase * > &  alignedDetElements,
const AlignedTransformUpdater alignedTransformUpdater,
ActsAlignment< fitter_t >::AlignmentResult alignResult 
) const

update the detector element alignment parameters

Parameters
gctxThe geometry context
alignedDetElementsThe detector elements to be aligned
alignedTransformUpdaterThe updater for updating the aligned
alignResult[in, out] The aligned result

Definition at line 155 of file Alignment.ipp.

View newest version in sPHENIX GitHub at line 155 of file Alignment.ipp

References ACTS_ERROR, ACTS_VERBOSE, ActsAlignment::AlignmentResult::deltaAlignmentParameters, Acts::eAlignmentCenter0, Acts::eAlignmentRotation0, Acts::eAlignmentSize, gctx, ActsAlignment::AlignmentResult::idxedAlignSurfaces, index, and writeMapConfig::surface.

Member Data Documentation

template<typename fitter_t >
fitter_t ActsAlignment::Alignment< fitter_t >::m_fitter
private

Definition at line 225 of file Alignment.hpp.

View newest version in sPHENIX GitHub at line 225 of file Alignment.hpp

template<typename fitter_t >
std::unique_ptr<const Acts::Logger> ActsAlignment::Alignment< fitter_t >::m_logger
private

Definition at line 227 of file Alignment.hpp.

View newest version in sPHENIX GitHub at line 227 of file Alignment.hpp

Referenced by ActsAlignment::Alignment< fitter_t >::logger().


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