Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
class | AlignmentErrorCategory |
struct | TrackAlignmentState |
struct to store info needed for track-based alignment More... | |
Functions | |
void | resetAlignmentDerivative (Acts::AlignmentToBoundMatrix &alignToBound, AlignmentMask mask) |
template<typename traj_t , typename parameters_t = BoundTrackParameters> | |
TrackAlignmentState | trackAlignmentState (const GeometryContext &gctx, const traj_t &multiTraj, const size_t &entryIndex, const std::pair< ActsDynamicMatrix, std::unordered_map< size_t, size_t >> &globalTrackParamsCov, const std::unordered_map< const Surface *, size_t > &idxedAlignSurfaces, const AlignmentMask &alignMask) |
void ActsAlignment::detail::resetAlignmentDerivative | ( | Acts::AlignmentToBoundMatrix & | alignToBound, |
AlignmentMask | mask | ||
) |
Reset some columns of the alignment to bound derivative to zero if the relevant degree of freedom is fixed
alignToBound | The alignment to bound parameters derivative |
mask | The alignment mask |
Definition at line 14 of file AlignmentEngine.cpp.
View newest version in sPHENIX GitHub at line 14 of file AlignmentEngine.cpp
References ACTS_CHECK_BIT, Acts::eAlignmentCenter0, Acts::eAlignmentCenter1, Acts::eAlignmentCenter2, Acts::eAlignmentRotation0, Acts::eAlignmentRotation1, and Acts::eAlignmentRotation2.
Referenced by trackAlignmentState().
TrackAlignmentState ActsAlignment::detail::trackAlignmentState | ( | const GeometryContext & | gctx, |
const traj_t & | multiTraj, | ||
const size_t & | entryIndex, | ||
const std::pair< ActsDynamicMatrix, std::unordered_map< size_t, size_t >> & | globalTrackParamsCov, | ||
const std::unordered_map< const Surface *, size_t > & | idxedAlignSurfaces, | ||
const AlignmentMask & | alignMask | ||
) |
Calculate the first and second derivative of chi2 w.r.t. alignment parameters for a single track
Suppose there are n measurements on the track, and m (m<=n) of them are on alignable surface, then (eAlignmentSize*m) alignment parameters will be involved for this particular track, i.e. this track will contribute to at most (eAlignmentSize*m*2) elements of the full chi2 second derivative matrix
source_link_t | The source link type of the trajectory |
parameters_t | The track parameters type |
gctx | The current geometry context object |
multiTraj | The MultiTrajectory containing the trajectory to be investigated |
entryIndex | The trajectory entry index |
globalTrackParamsCov | The global track parameters covariance for a single track and the starting row/column for smoothed states. This contains all smoothed track states including those non-measurement states. Selection of certain rows/columns for measurement states is needed. |
idxedAlignSurfaces | The indexed surfaces to be aligned |
Definition at line 105 of file AlignmentEngine.hpp.
View newest version in sPHENIX GitHub at line 105 of file AlignmentEngine.hpp
References ActsAlignment::detail::TrackAlignmentState::alignedSurfaces, ActsAlignment::detail::TrackAlignmentState::alignmentDof, ActsAlignment::detail::TrackAlignmentState::alignmentToChi2Derivative, ActsAlignment::detail::TrackAlignmentState::alignmentToChi2SecondDerivative, ActsAlignment::detail::TrackAlignmentState::alignmentToResidualDerivative, ActsAlignment::detail::TrackAlignmentState::chi2, Acts::eAlignmentSize, Acts::eBoundSize, Acts::eFreeDir0, Acts::MultiTrajectoryHelpers::freeSmoothed(), H, it, ActsAlignment::detail::TrackAlignmentState::measurementCovariance, ActsAlignment::detail::TrackAlignmentState::measurementDim, Acts::MeasurementFlag, ActsAlignment::detail::TrackAlignmentState::projectionMatrix, resetAlignmentDerivative(), ActsAlignment::detail::TrackAlignmentState::residual, ActsAlignment::detail::TrackAlignmentState::residualCovariance, filter::state, writeMapConfig::surface, ActsAlignment::detail::TrackAlignmentState::trackParametersCovariance, and ActsAlignment::detail::TrackAlignmentState::trackParametersDim.