CMS 3D CMS Logo

PerigeeKinematicState.h
Go to the documentation of this file.
1 #ifndef PerigeeKinematicState_H
2 #define PerigeeKinematicState_H
3 
7 
22 public:
24  vl = false;
25  errorIsAvailable = false;
26  }
27 
32  bool hasError() const {
33  if (!(isValid()))
34  throw VertexException("PerigeeKinematicState::error is requested for the invalid state");
35  return errorIsAvailable;
36  }
37 
38  bool isValid() const { return vl; }
39 
40  const KinematicState& theState() const {
41  if (!isValid())
42  throw VertexException("PerigeeKinematicState::initial state is requested for the invalid state");
43  return inState;
44  }
45 
49  const GlobalPoint referencePoint() const {
50  if (!isValid())
51  throw VertexException("PerigeeKinematicState::point is requested for the invalid state");
52  return point;
53  }
54 
60  if (!(isValid()))
61  throw VertexException("PerigeeKinematicState::requesting perigee error for invalid state");
62  if (!(hasError()))
63  throw VertexException("PerigeeKinematicState::requesting perigee error when none available");
64  return cov;
65  }
66 
71  if (!(isValid()))
72  throw VertexException("PerigeeKinematicState::requesting perigee parameters for invalid state");
73  return par;
74  }
75 
76 private:
78 
79  PerigeeKinematicState(const KinematicState& state, const GlobalPoint& pt);
80  /*
81  AlgebraicMatrix jacobianKinematicToExPerigee(const KinematicState& state,
82  const GlobalPoint& pt)const;
83  AlgebraicMatrix jacobianExPerigeeToKinematic(const ExtendedPerigeeTrajectoryParameters& state,
84  const GlobalPoint& point)const;
85 */
87 
88 private:
94  bool vl;
95 };
96 #endif
KinematicState.h
PerigeeKinematicState::PerigeeKinematicState
PerigeeKinematicState()
Definition: PerigeeKinematicState.h:23
VertexException
Common base class.
Definition: VertexException.h:12
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
PerigeeKinematicState::cov
ExtendedPerigeeTrajectoryError cov
Definition: PerigeeKinematicState.h:91
PerigeeKinematicState
Definition: PerigeeKinematicState.h:21
KinematicState
Definition: KinematicState.h:17
TransientTrackKinematicStateBuilder
Definition: TransientTrackKinematicStateBuilder.h:16
PerigeeKinematicState::vl
bool vl
Definition: PerigeeKinematicState.h:94
PerigeeKinematicState::referencePoint
const GlobalPoint referencePoint() const
Definition: PerigeeKinematicState.h:49
PerigeeKinematicState::isValid
bool isValid() const
Definition: PerigeeKinematicState.h:38
Point3DBase< float, GlobalTag >
PerigeeKinematicState::~PerigeeKinematicState
virtual ~PerigeeKinematicState()
Definition: PerigeeKinematicState.h:28
ExtendedPerigeeTrajectoryError
Definition: ExtendedPerigeeTrajectoryError.h:7
PerigeeKinematicState::hasError
bool hasError() const
Definition: PerigeeKinematicState.h:32
ExtendedPerigeeTrajectoryError.h
PerigeeKinematicState::inState
KinematicState inState
Definition: PerigeeKinematicState.h:92
PerigeeKinematicState::perigeeError
const ExtendedPerigeeTrajectoryError & perigeeError() const
Definition: PerigeeKinematicState.h:59
PerigeeKinematicState::errorIsAvailable
bool errorIsAvailable
Definition: PerigeeKinematicState.h:93
PerigeeKinematicState::theState
const KinematicState & theState() const
Definition: PerigeeKinematicState.h:40
PerigeeKinematicState::point
GlobalPoint point
Definition: PerigeeKinematicState.h:89
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
ExtendedPerigeeTrajectoryParameters.h
PerigeeKinematicState::jacobianCurvilinear2Perigee
AlgebraicMatrix jacobianCurvilinear2Perigee(const FreeTrajectoryState &fts) const
ExtendedPerigeeTrajectoryParameters
Definition: ExtendedPerigeeTrajectoryParameters.h:13
PerigeeKinematicState::perigeeParameters
const ExtendedPerigeeTrajectoryParameters & perigeeParameters() const
Definition: PerigeeKinematicState.h:70
PerigeeKinematicState::par
ExtendedPerigeeTrajectoryParameters par
Definition: PerigeeKinematicState.h:90