CMS 3D CMS Logo

KinematicState.cc
Go to the documentation of this file.
3 
6  const TrackCharge& charge,
7  const MagneticField* field)
10  param(parameters),
11  err(error),
12  vl(true) {}
13 
15  return (kinematicParameters().vector() == other.kinematicParameters().vector()) &&
16  (kinematicParametersError().matrix() == other.kinematicParametersError().matrix());
17 }
18 
19 /*
20 void KinematicState::setFreeTrajectoryState() const {
21  GlobalTrajectoryParameters globalPar(globalPosition(), globalMomentum(),
22  particleCharge(), theField);
23  AlgebraicSymMatrix66 cError =
24  kinematicParametersError().matrix().Sub<AlgebraicSymMatrix66>(0,0);
25  CartesianTrajectoryError cartError(cError);
26 // cout<<"conversion called"<<endl;
27 // cout<<"parameters::position"<<globalPosition()<<endl;
28 // cout<<"parameters::momentum"<<globalMomentum()<<endl;
29 // cout<<"parameters::error"<<cError<<endl;
30  fts = FreeTrajectoryState(globalPar,cartError);
31 }
32 */
Matrices.h
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:29
KinematicState.h
TrackCharge
int TrackCharge
Definition: TrackCharge.h:4
makeMuonMisalignmentScenario.matrix
list matrix
Definition: makeMuonMisalignmentScenario.py:141
KinematicState
Definition: KinematicState.h:17
relativeConstraints.error
error
Definition: relativeConstraints.py:53
AlgebraicSymMatrix66
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Definition: AlgebraicROOTObjects.h:24
KinematicState::kinematicParametersError
KinematicParametersError const & kinematicParametersError() const
Definition: KinematicState.h:63
trackingPlots.other
other
Definition: trackingPlots.py:1467
GlobalTrajectoryParameters
Definition: GlobalTrajectoryParameters.h:15
KinematicState::operator==
bool operator==(const KinematicState &other) const
Definition: KinematicState.cc:14
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
funct::true
true
Definition: Factorize.h:173
KinematicState::KinematicState
KinematicState()
Definition: KinematicState.h:24
KinematicParametersError::matrix
AlgebraicSymMatrix77 const & matrix() const
Definition: KinematicParametersError.h:36
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
KinematicParameters
Definition: KinematicParameters.h:15
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
KinematicParametersError
Definition: KinematicParametersError.h:20
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
CartesianTrajectoryError
Definition: CartesianTrajectoryError.h:15
KinematicState::kinematicParameters
KinematicParameters const & kinematicParameters() const
Definition: KinematicState.h:61
MagneticField
Definition: MagneticField.h:19