CMS 3D CMS Logo

PerigeeKinematicState.h
Go to the documentation of this file.
1 #ifndef PerigeeKinematicState_H
2 #define PerigeeKinematicState_H
3 
7 
22 {
23 public:
24 
26  {
27  vl = false;
28  errorIsAvailable = false;
29  }
30 
35  bool hasError() const
36  {
37  if(!(isValid()))throw VertexException("PerigeeKinematicState::error is requested for the invalid state");
38  return errorIsAvailable;
39  }
40 
41  bool isValid() const
42  {return vl;}
43 
44  const KinematicState & theState() const
45  {
46  if(!isValid()) throw VertexException("PerigeeKinematicState::initial state is requested for the invalid state");
47  return inState;
48  }
49 
54  {
55  if(!isValid()) throw VertexException("PerigeeKinematicState::point is requested for the invalid state");
56  return point;
57  }
58 
64  {
65  if(!(isValid())) throw VertexException("PerigeeKinematicState::requesting perigee error for invalid state");
66  if(!(hasError())) throw VertexException("PerigeeKinematicState::requesting perigee error when none available");
67  return cov;
68  }
69 
74  {
75  if(!(isValid())) throw VertexException("PerigeeKinematicState::requesting perigee parameters for invalid state");
76  return par;
77  }
78 
79 private:
80 
82 
83 
84  PerigeeKinematicState(const KinematicState& state, const GlobalPoint& pt);
85 /*
86  AlgebraicMatrix jacobianKinematicToExPerigee(const KinematicState& state,
87  const GlobalPoint& pt)const;
88  AlgebraicMatrix jacobianExPerigeeToKinematic(const ExtendedPerigeeTrajectoryParameters& state,
89  const GlobalPoint& point)const;
90 */
92 
93 private:
99  bool vl;
100 
101 };
102 #endif
AlgebraicMatrix jacobianCurvilinear2Perigee(const FreeTrajectoryState &fts) const
Common base class.
ExtendedPerigeeTrajectoryError cov
CLHEP::HepMatrix AlgebraicMatrix
const ExtendedPerigeeTrajectoryError & perigeeError() const
ExtendedPerigeeTrajectoryParameters par
const GlobalPoint referencePoint() const
const KinematicState & theState() const
const ExtendedPerigeeTrajectoryParameters & perigeeParameters() const