CMS 3D CMS Logo

ParticleKinematicLinearizedTrackState.h
Go to the documentation of this file.
1 #ifndef ParticleKinematicLinearizedTrackState_H
2 #define ParticleKinematicLinearizedTrackState_H
3 
12 
14 public:
17 
19 
25  const GlobalPoint& newLP) const override;
26 
30  const GlobalPoint& linearizationPoint() const override { return theLinPoint; }
31 
35  const AlgebraicVector6& constantTerm() const override;
36 
40  const AlgebraicMatrix63& positionJacobian() const override;
41 
45  const AlgebraicMatrix64& momentumJacobian() const override;
46 
49  const AlgebraicVector6& parametersFromExpansion() const override;
50 
60 
65 
70 
74  AlgebraicSymMatrix66 predictedStateWeight(int& error) const override;
75 
80 
81  // /**
82  // * Method returning the impact point measurement
83  // */
84  // ImpactPointMeasurement impactPointMeasurement() const;
85 
86  TrackCharge charge() const override;
87 
88  RefCountedKinematicParticle particle() const;
89 
90  bool operator==(LinearizedTrackState<6>& other) const override;
91 
92  bool hasError() const override;
93 
95  const AlgebraicVectorM& vectorParameters,
96  const AlgebraicSymMatrix77& covarianceMatrix) const override;
97 
101  AlgebraicVectorN refittedParamFromEquation(const RefCountedRefittedTrackState& theRefittedState) const override;
102 
103  inline void checkParameters(AlgebraicVectorN& parameters) const override;
104 
105  double weightInMixture() const override;
106 
107  std::vector<ReferenceCountingPointer<LinearizedTrackState<6> > > components() const override;
108 
109  reco::TransientTrack track() const override;
110 
111 private:
116  : theLinPoint(linP),
117  part(prt),
119  theCharge(prt->currentState().particleCharge()),
121 
122  {}
123 
127  void computeJacobians() const;
131  void computeChargedJacobians() const;
132 
136  void computeNeutralJacobians() const;
137 
141 
142  mutable bool errorAvailable;
143  mutable bool jacobiansAvailable;
149 
151  // ImpactPointMeasurementExtractor theIPMExtractor;
152  mutable bool impactPointAvailable;
153 };
154 #endif
Matrices.h
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:29
ParticleKinematicLinearizedTrackState::positionJacobian
const AlgebraicMatrix63 & positionJacobian() const override
Definition: ParticleKinematicLinearizedTrackState.cc:11
PerigeeKinematicState.h
funct::false
false
Definition: Factorize.h:29
TrackCharge
int TrackCharge
Definition: TrackCharge.h:4
ParticleKinematicLinearizedTrackState::stateWithNewLinearizationPoint
ReferenceCountingPointer< LinearizedTrackState< 6 > > stateWithNewLinearizationPoint(const GlobalPoint &newLP) const override
Definition: ParticleKinematicLinearizedTrackState.cc:96
LinearizedTrackState< 6 >::charge
virtual TrackCharge charge() const=0
ParticleKinematicLinearizedTrackState::theMomentumJacobian
AlgebraicMatrix64 theMomentumJacobian
Definition: ParticleKinematicLinearizedTrackState.h:145
ParticleKinematicLinearizedTrackState::weightInMixture
double weightInMixture() const override
Definition: ParticleKinematicLinearizedTrackState.cc:138
PerigeeKinematicState
Definition: PerigeeKinematicState.h:21
ParticleKinematicLinearizedTrackState
Definition: ParticleKinematicLinearizedTrackState.h:13
ParticleKinematicLinearizedTrackState::predictedStateWeight
AlgebraicSymMatrix66 predictedStateWeight(int &error) const override
Definition: ParticleKinematicLinearizedTrackState.cc:35
ParticleKinematicLinearizedTrackState::theCharge
TrackCharge theCharge
Definition: ParticleKinematicLinearizedTrackState.h:150
ParticleKinematicLinearizedTrackState::predictedStateParameters
AlgebraicVector6 predictedStateParameters() const override
Definition: ParticleKinematicLinearizedTrackState.cc:29
TransientTrackKinematicStateBuilder.h
AlgebraicSymMatrix77
ROOT::Math::SMatrix< double, 7, 7, ROOT::Math::MatRepSym< double, 7 > > AlgebraicSymMatrix77
Definition: Matrices.h:9
ParticleKinematicLinearizedTrackState::components
std::vector< ReferenceCountingPointer< LinearizedTrackState< 6 > > > components() const override
Definition: ParticleKinematicLinearizedTrackState.cc:140
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
TransientTrackKinematicStateBuilder
Definition: TransientTrackKinematicStateBuilder.h:16
relativeConstraints.error
error
Definition: relativeConstraints.py:53
ParticleKinematicLinearizedTrackState::computeChargedJacobians
void computeChargedJacobians() const
Definition: ParticleKinematicLinearizedTrackState.cc:179
ParticleKinematicLinearizedTrackState::jacobiansAvailable
bool jacobiansAvailable
Definition: ParticleKinematicLinearizedTrackState.h:143
ParticleKinematicLinearizedTrackState::errorAvailable
bool errorAvailable
Definition: ParticleKinematicLinearizedTrackState.h:142
ParticleKinematicLinearizedTrackState::predictedStateMomentumParameters
AlgebraicVectorM predictedStateMomentumParameters() const override
Definition: ParticleKinematicLinearizedTrackState.cc:113
part
part
Definition: HCALResponse.h:20
ParticleKinematicLinearizedTrackState::theLinPoint
GlobalPoint theLinPoint
Definition: ParticleKinematicLinearizedTrackState.h:138
ParticleKinematicLinearizedTrackState::constantTerm
const AlgebraicVector6 & constantTerm() const override
Definition: ParticleKinematicLinearizedTrackState.cc:5
ParticleKinematicLinearizedTrackState::refittedParamFromEquation
AlgebraicVectorN refittedParamFromEquation(const RefCountedRefittedTrackState &theRefittedState) const override
Definition: ParticleKinematicLinearizedTrackState.cc:148
ParticleKinematicLinearizedTrackState::track
reco::TransientTrack track() const override
Definition: ParticleKinematicLinearizedTrackState.cc:336
AlgebraicSymMatrix66
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Definition: AlgebraicROOTObjects.h:24
ParticleKinematicLinearizedTrackState::ParticleKinematicLinearizedTrackState
ParticleKinematicLinearizedTrackState(const GlobalPoint &linP, RefCountedKinematicParticle &prt)
Definition: ParticleKinematicLinearizedTrackState.h:115
ParticleKinematicLinearizedTrackState::predictedStateMomentumError
AlgebraicSymMatrix44 predictedStateMomentumError() const override
Definition: ParticleKinematicLinearizedTrackState.cc:124
ParticleKinematicLinearizedTrackState::predictedStateError
AlgebraicSymMatrix66 predictedStateError() const override
Definition: ParticleKinematicLinearizedTrackState.cc:45
trackingPlots.other
other
Definition: trackingPlots.py:1467
ParticleKinematicLinearizedTrackState::thePositionJacobian
AlgebraicMatrix63 thePositionJacobian
Definition: ParticleKinematicLinearizedTrackState.h:144
Point3DBase< float, GlobalTag >
AlgebraicMatrix64
ROOT::Math::SMatrix< double, 6, 4, ROOT::Math::MatRepStd< double, 6, 4 > > AlgebraicMatrix64
Definition: AlgebraicROOTObjects.h:60
AlgebraicMatrix63
ROOT::Math::SMatrix< double, 6, 3, ROOT::Math::MatRepStd< double, 6, 3 > > AlgebraicMatrix63
Definition: AlgebraicROOTObjects.h:59
LinearizedTrackState< 6 >::operator==
virtual bool operator==(LinearizedTrackState< N > &other) const=0
ParticleKinematicLinearizedTrackState::computeJacobians
void computeJacobians() const
Definition: ParticleKinematicLinearizedTrackState.cc:79
ParticleKinematicLinearizedTrackState::theConstantTerm
AlgebraicVector6 theConstantTerm
Definition: ParticleKinematicLinearizedTrackState.h:147
ParticleKinematicLinearizedTrackState::ParticleKinematicLinearizedTrackState
ParticleKinematicLinearizedTrackState()
Definition: ParticleKinematicLinearizedTrackState.h:18
ParticleKinematicLinearizedTrackState::part
RefCountedKinematicParticle part
Definition: ParticleKinematicLinearizedTrackState.h:139
ParticleKinematicLinearizedTrackStateFactory
Definition: ParticleKinematicLinearizedTrackStateFactory.h:9
LinearizedTrackState< 6 >::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< N > > RefCountedRefittedTrackState
Definition: LinearizedTrackState.h:47
AlgebraicVector6
ROOT::Math::SVector< double, 6 > AlgebraicVector6
Definition: AlgebraicROOTObjects.h:15
AlgebraicSymMatrix44
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
Definition: AlgebraicROOTObjects.h:22
LinearizedTrackState< 6 >::AlgebraicVectorN
ROOT::Math::SVector< double, N > AlgebraicVectorN
Definition: LinearizedTrackState.h:38
ReferenceCounted.h
Migration.h
reco::TransientTrack
Definition: TransientTrack.h:19
ParticleKinematicLinearizedTrackState::checkParameters
void checkParameters(AlgebraicVectorN &parameters) const override
Definition: ParticleKinematicLinearizedTrackState.cc:172
LinearizedTrackState
Definition: LinearizedTrackState.h:36
ParticleKinematicLinearizedTrackState::parametersFromExpansion
const AlgebraicVector6 & parametersFromExpansion() const override
Definition: ParticleKinematicLinearizedTrackState.cc:23
ParticleKinematicLinearizedTrackState::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 6 > > RefCountedLinearizedTrackState
Definition: ParticleKinematicLinearizedTrackState.h:16
ParticleKinematicLinearizedTrackState::theExpandedParams
AlgebraicVector6 theExpandedParams
Definition: ParticleKinematicLinearizedTrackState.h:148
ParticleKinematicLinearizedTrackState::impactPointAvailable
bool impactPointAvailable
Definition: ParticleKinematicLinearizedTrackState.h:152
ParticleKinematicLinearizedTrackState::linearizationPoint
const GlobalPoint & linearizationPoint() const override
Definition: ParticleKinematicLinearizedTrackState.h:30
ParticleKinematicLinearizedTrackState::builder
TransientTrackKinematicStateBuilder builder
Definition: ParticleKinematicLinearizedTrackState.h:140
ParticleKinematicLinearizedTrackState::momentumJacobian
const AlgebraicMatrix64 & momentumJacobian() const override
Definition: ParticleKinematicLinearizedTrackState.cc:17
LinearizedTrackState< 6 >::createRefittedTrackState
virtual RefCountedRefittedTrackState createRefittedTrackState(const GlobalPoint &vertexPosition, const AlgebraicVectorM &vectorParameters, const AlgebraicSymMatrixOO &covarianceMatrix) const=0
RefCountedKinematicParticle.h
LinearizedTrackState.h
LinearizedTrackState< 6 >::hasError
virtual bool hasError() const=0
ParticleKinematicLinearizedTrackState::thePredState
PerigeeKinematicState thePredState
Definition: ParticleKinematicLinearizedTrackState.h:146
LinearizedTrackState< 6 >::AlgebraicVectorM
ROOT::Math::SVector< double, N - 2 > AlgebraicVectorM
Definition: LinearizedTrackState.h:39
RefittedTrackState.h
ParticleKinematicLinearizedTrackState::computeNeutralJacobians
void computeNeutralJacobians() const
Definition: ParticleKinematicLinearizedTrackState.cc:278