20 theLocalParametersValid(
false),
21 theGlobalParamsUp2Date(
true),
23 theSurfaceP( &aSurface),
35 theLocalParametersValid(
false),
36 theGlobalParamsUp2Date(
true),
38 theSurfaceP( &aSurface),
40 theField( &par.magneticField())
51 theLocalParametersValid(
false),
52 theGlobalParamsUp2Date(
true),
54 theSurfaceP( &aSurface),
56 theField( &par.magneticField())
68 theLocalParametersValid(
false),
69 theGlobalParamsUp2Date(
true),
71 theSurfaceP( &aSurface),
73 theField( &par.magneticField())
84 theLocalParametersValid(
false),
85 theGlobalParamsUp2Date(
true),
87 theSurfaceP( &aSurface),
89 theField( &par.magneticField())
99 theLocalParameters(par),
100 theLocalParametersValid(
true),
101 theGlobalParamsUp2Date(
false),
102 theSurfaceSide(side),
103 theSurfaceP( &aSurface),
117 theLocalParameters(par),
118 theLocalParametersValid(
true),
119 theGlobalParamsUp2Date(
false),
120 theSurfaceSide(side),
121 theSurfaceP( &aSurface),
134 theLocalParameters(par),
135 theLocalParametersValid(
true),
136 theGlobalParamsUp2Date(
false),
138 theSurfaceP( &aSurface),
147 theLocalParameters(),
148 theLocalParametersValid(
false),
149 theGlobalParamsUp2Date(
false),
151 theSurfaceP( &aSurface),
178 std::stringstream form;
179 form<<
"BasicTrajectoryState: attempt to access errors when none available "
203 fts->~FreeTrajectoryState();
241 p.
x()/p.
z(), p.
y()/p.
z(), x.
x(), x.
y(), p.
z()>0. ? 1.:-1., isCharged);
263 verifyLocalErr(theLocalError);
318 for (
unsigned int i=1;
i!=5;++
i)
errors(
i,0)*=factor;
319 double factor_squared=factor*factor;
321 for (
unsigned int i=1;
i!=5;++
i)
for (
unsigned int j=
i;
j!=5;++
j)
errors(
i,
j)*=factor_squared;
336 return &(*theFreeState);
342 std::vector<TrajectoryStateOnSurface>
344 std::vector<TrajectoryStateOnSurface>
result; result.reserve(1);
345 result.push_back( const_cast<BasicTrajectoryState*>(
this));
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual ~BasicTrajectoryState()
const Surface & surface() const
void createLocalErrorFromCurvilinearError() const dso_internal
ConstReferenceCountingPointer< Surface > theSurfaceP
SurfaceSide theSurfaceSide
bool theGlobalParamsUp2Date
int nominalValue() const
The nominal field value for this map in kGauss.
LocalPoint position() const
Local x and y position coordinates.
bool hasCurvilinearError() const
virtual void update(const LocalTrajectoryParameters &p, const Surface &aSurface, const MagneticField *field, const SurfaceSide side)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
TrackCharge charge() const
const CurvilinearTrajectoryError & curvilinearError() const
void rescaleError(double factor)
void checkCurvilinError() const dso_internal
DeepCopyPointer< FreeTrajectoryState > theFreeState
LocalPoint toLocal(const GlobalPoint &gp) const
void createLocalError() const
void createLocalParameters() const
const AlgebraicSymMatrix55 & matrix() const
LocalVector momentum() const
Momentum vector in the local frame.
GlobalVector momentum() const
void setCurvilinearError(const CurvilinearTrajectoryError &err)
const MagneticField * theField
GlobalPoint position() const
void rescaleError(double factor)
void checkGlobalParameters() const dso_internal
TrackCharge charge() const
Charge (-1, 0 or 1)
void replaceWith(T *otherP)
const AlgebraicMatrix55 & jacobian() const
virtual double weight() const
void missingError(char const *where) const
bool theLocalParametersValid
const LocalTrajectoryParameters & localParameters() const
const AlgebraicSymMatrix55 & matrix() const
virtual std::vector< TrajectoryStateOnSurface > components() const
LocalTrajectoryParameters theLocalParameters
const AlgebraicMatrix55 & jacobian() const
FreeTrajectoryState * freeTrajectoryState(bool withErrors=true) const
LocalTrajectoryError theLocalError
double signedInverseMomentum() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55