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 */
KinematicParametersError const & kinematicParametersError() const
int TrackCharge
Definition: TrackCharge.h:4
KinematicParameters const & kinematicParameters() const
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
static int position[264][3]
Definition: ReadPGInfo.cc:289
bool operator==(const KinematicState &other) const
AlgebraicSymMatrix77 const & matrix() const