CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
CurvilinearTrajectoryError Class Reference

#include <CurvilinearTrajectoryError.h>

Public Types

enum  { dimension = 5 }
 parameter dimension More...
 
typedef math::Error< dimension >
::type 
MathCovarianceMatrix
 5 parameter covariance matrix More...
 

Public Member Functions

 CurvilinearTrajectoryError ()
 
 CurvilinearTrajectoryError (const AlgebraicSymMatrix &aCovarianceMatrix)
 
 CurvilinearTrajectoryError (const AlgebraicSymMatrix55 &aCovarianceMatrix)
 
const AlgebraicSymMatrix55matrix () const
 
const AlgebraicSymMatrix matrix_old () const
 Implicit conversion. More...
 
 operator const MathCovarianceMatrix & () const
 
 operator MathCovarianceMatrix ()
 
void operator*= (double factor)
 
void zeroFieldScaling (double factor)
 

Private Attributes

AlgebraicSymMatrix55 theCovarianceMatrix
 

Detailed Description

Parametrization of the error matrix in the curvilinear frame. This frame is tangent to the track at the point of definition, with Z_T parallel to the track. X_T is in the global xy plane and points to the left when looking into the direction of the track, and Y_T forms a right-handed frame with X_T and Z_T.

The error along Z_T is therefore zero. The parameters are
sigma^2( charge / abs_momentum)
sigma^2( lambda)
sigma^2( phi)
sigma^2( x_transverse))
sigma^2( y_transverse))

Please note that lambda and phi are defined in the global frame. Lambda is the helix dip angle (pi/2 minus theta (polar angle)), while phi is the angle of inclination with the global x-axis in the transverse (global xy) plane.

Definition at line 26 of file CurvilinearTrajectoryError.h.

Member Typedef Documentation

5 parameter covariance matrix

Definition at line 32 of file CurvilinearTrajectoryError.h.

Member Enumeration Documentation

anonymous enum

parameter dimension

Enumerator
dimension 

Definition at line 30 of file CurvilinearTrajectoryError.h.

Constructor & Destructor Documentation

CurvilinearTrajectoryError::CurvilinearTrajectoryError ( )
inline

Definition at line 35 of file CurvilinearTrajectoryError.h.

35 {}
CurvilinearTrajectoryError::CurvilinearTrajectoryError ( const AlgebraicSymMatrix aCovarianceMatrix)
inline

Constructing class from a full covariance matrix. The sequence of the parameters is the same as the one described above.

Definition at line 41 of file CurvilinearTrajectoryError.h.

41  :
42  theCovarianceMatrix(asSMatrix<5>(aCovarianceMatrix)) {}
AlgebraicSymMatrix55 theCovarianceMatrix
CurvilinearTrajectoryError::CurvilinearTrajectoryError ( const AlgebraicSymMatrix55 aCovarianceMatrix)
inline

Constructing class from a full covariance matrix. The sequence of the parameters is the same as the one described above.

Definition at line 48 of file CurvilinearTrajectoryError.h.

48  :
49  theCovarianceMatrix(aCovarianceMatrix) { }
AlgebraicSymMatrix55 theCovarianceMatrix

Member Function Documentation

const AlgebraicSymMatrix55& CurvilinearTrajectoryError::matrix ( void  ) const
inline

Returning the covariance matrix.

Definition at line 69 of file CurvilinearTrajectoryError.h.

References theCovarianceMatrix.

Referenced by MuonSeedsAnalyzer::analyze(), cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), convert(), HICTrajectoryCorrector::correct(), FreeTrajectoryState::createCartesianError(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), BasicSingleTrajectoryState::createLocalErrorFromCurvilinearError(), MuonErrorMatrix::divide(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), TrackAnalyzer::fillHistosForState(), GsfTrackProducerBase::fillMode(), cms::HICTkOuterStartingLayerFinder::findForwardLayers(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), PerigeeConversions::ftsToPerigeeError(), TrajectoryStateAccessor::inversePtError(), MuonErrorMatrix::multiply(), TSCBLBuilderNoMaterial::operator()(), AnalyticalErrorPropagation::operator()(), operator<<(), cms::HICMuonPropagator::propagate(), cms::FastMuPropagator::propagate(), AnalyticalPropagator::propagatedStateWithPath(), cms::HICTkOuterStartingLayerFinder::startingLayers(), SteppingHelixStateInfo::SteppingHelixStateInfo(), MuonNavigableLayer::trackingRange(), and whatIsTheStateToUse().

69  {
70  return theCovarianceMatrix;
71  }
AlgebraicSymMatrix55 theCovarianceMatrix
const AlgebraicSymMatrix CurvilinearTrajectoryError::matrix_old ( ) const
inline

Implicit conversion.

Returning the covariance matrix.

Definition at line 61 of file CurvilinearTrajectoryError.h.

References asHepMatrix(), and theCovarianceMatrix.

Referenced by HTrack::computePull().

61  {
63  }
CLHEP::HepMatrix asHepMatrix(const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm)
Definition: Migration.h:49
AlgebraicSymMatrix55 theCovarianceMatrix
CurvilinearTrajectoryError::operator const MathCovarianceMatrix & ( ) const
inline

Definition at line 91 of file CurvilinearTrajectoryError.h.

References theCovarianceMatrix.

91 { return theCovarianceMatrix; }
AlgebraicSymMatrix55 theCovarianceMatrix
CurvilinearTrajectoryError::operator MathCovarianceMatrix ( )
inline

Definition at line 90 of file CurvilinearTrajectoryError.h.

References theCovarianceMatrix.

90 { return theCovarianceMatrix; }
AlgebraicSymMatrix55 theCovarianceMatrix
void CurvilinearTrajectoryError::operator*= ( double  factor)
inline

Enables the multiplication of the covariance matrix with the scalar "factor".

Definition at line 76 of file CurvilinearTrajectoryError.h.

References theCovarianceMatrix.

76  {
77  theCovarianceMatrix *= factor;
78  }
AlgebraicSymMatrix55 theCovarianceMatrix
void CurvilinearTrajectoryError::zeroFieldScaling ( double  factor)
inline

Definition at line 80 of file CurvilinearTrajectoryError.h.

References i, j, mathSSE::sqrt(), and theCovarianceMatrix.

Referenced by FreeTrajectoryState::rescaleError().

80  {
81  double root_of_factor = sqrt(factor);
82  //scale the 0 indexed covariance by the factor
83  for (unsigned int i=1;i!=5;++i) theCovarianceMatrix(i,0)*=root_of_factor;
84 
85  //scale all others by the scared factor
86  for (unsigned int i=1;i!=5;++i) for (unsigned int j=i;j!=5;++j) theCovarianceMatrix(i,j)*=factor;
87  //term 0,0 is not scaled at all
88  }
int i
Definition: DBlmapReader.cc:9
T sqrt(T t)
Definition: SSEVec.h:28
int j
Definition: DBlmapReader.cc:9
AlgebraicSymMatrix55 theCovarianceMatrix

Member Data Documentation

AlgebraicSymMatrix55 CurvilinearTrajectoryError::theCovarianceMatrix
private