CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KinematicState.cc
Go to the documentation of this file.
3 
4 
5 
8  const MagneticField* field) :
9  fts(GlobalTrajectoryParameters(parameters.position(),parameters.momentum(),charge,field),
11  param(parameters),err(error), vl(true){}
12 
13 
15 {
16  return (kinematicParameters().vector() == other.kinematicParameters().vector()) &&
18 }
19 
20 
21 /*
22 void KinematicState::setFreeTrajectoryState() const {
23  GlobalTrajectoryParameters globalPar(globalPosition(), globalMomentum(),
24  particleCharge(), theField);
25  AlgebraicSymMatrix66 cError =
26  kinematicParametersError().matrix().Sub<AlgebraicSymMatrix66>(0,0);
27  CartesianTrajectoryError cartError(cError);
28 // cout<<"conversion called"<<endl;
29 // cout<<"parameters::position"<<globalPosition()<<endl;
30 // cout<<"parameters::momentum"<<globalMomentum()<<endl;
31 // cout<<"parameters::error"<<cError<<endl;
32  fts = FreeTrajectoryState(globalPar,cartError);
33 }
34 */
dictionary parameters
Definition: Parameters.py:2
AlgebraicVector7 const & vector() const
The full vector (7 elements)
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
AlgebraicSymMatrix77 const & matrix() const
double charge(const std::vector< uint8_t > &Ampls)
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
int TrackCharge
Definition: TrackCharge.h:4
KinematicParametersError const & kinematicParametersError() const
KinematicParameters const & kinematicParameters() const
bool operator==(const KinematicState &other) const