#include <State.h>
Public Types | |
enum | Type { HasMomentum = 1, StraightLine = 2 } |
enumeration for the state type More... | |
enum | Location { Unknown, ClosestToBeam, FirstMeasurement, EndVelo, AtTT, AtT, BegRich1, EndRich1, BegRich2, EndRich2, Calo, Muon } |
enumeration for the location of the state More... | |
Public Member Functions | |
State () | |
Default constructor. State defined to be of type State::HasMomentum. | |
virtual | ~State () |
Default Destructor. | |
virtual const CLID & | clID () const |
unsigned int | nParameters () const |
Retrieve the number of state parameters. | |
void | positionAndMomentum (HepPoint3D &pos, HepVector3D &mom, HepSymMatrix &cov6D) const |
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) of the state. | |
void | positionAndMomentum (HepPoint3D &pos, HepVector3D &mom) const |
Retrieve the position and momentum vectors of the state. | |
HepPoint3D | position () const |
Retrieve the 3D-position vector of the state. | |
double | x () const |
Retrieve the x-position of the state. | |
double | y () const |
Retrieve the y-position of the state. | |
double | z () const |
Retrieve the z-position of the state. | |
HepVector3D | slopes () const |
Retrieve the slopes (Tx=dx/dz,Ty=dy/dz,1.) of the state. | |
double | tx () const |
Retrieve the Tx=dx/dz slope of the state. | |
double | ty () const |
Retrieve the Ty=dy/dz slope of the state. | |
virtual double | qOverP () const |
Retrieve the charge-over-momentum Q/P of the state. | |
virtual double | p () const |
Retrieve the momentum of the state. | |
virtual double | pt () const |
Retrieve the transverse momentum of the state. | |
HepVector3D | momentum () const |
Retrieve the momentum vector of the state. | |
double | qOverPperp () const |
Retrieve the Q/Pperp (ratio of the charge to the component of the momentum transverse to the magnetic field) of the state. | |
virtual HepSymMatrix | posMomCovariance () const |
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) of the state. | |
HepSymMatrix | errPosition () const |
Retrieve the errors on the 3D-position vector of the state. | |
double | errX2 () const |
Retrieve the squared error on the x-position of the state. | |
double | errY2 () const |
Retrieve the squared error on the y-position of the state. | |
HepSymMatrix | errSlopes () const |
Retrieve the errors on the slopes of the state. | |
double | errTx2 () const |
Retrieve the squared error on the x-slope Tx=dx/dz of the state. | |
double | errTy2 () const |
Retrieve the squared error on the y-slope Ty=dy/dz of the state. | |
virtual double | errQOverP2 () const |
Retrieve the squared error on the charge-over-momentum Q/P of the state. | |
virtual double | errP2 () const |
Retrieve the squared error on the momentum of the state. | |
virtual HepSymMatrix | errMomentum () const |
Retrieve the errors on the momentum vector of the stateRetrieve the errors on the momentum vector of the state. | |
virtual double | errQOverPperp2 () const |
Retrieve the squared error on the Q/Pperp of the state. | |
virtual State * | clone () const |
Clone the state. | |
virtual void | reset () |
Clear the state before re-using it. | |
void | setState (const HepVector &state) |
Update the state vector. | |
virtual void | setState (double x, double y, double z, double tx, double ty, double qOverP) |
Update the state vector (presumably of type State::HasMomentum). | |
void | setState (double x, double y, double z, double tx, double ty) |
Update the state vector (presumably of type State::StraightLine). | |
void | setCovariance (const HepSymMatrix &value) |
Update the state covariance. | |
void | setX (double value) |
Update the x-position of the state. | |
void | setY (double value) |
Update the y-position of the state. | |
void | setZ (double value) |
Update the z-position of the state. | |
void | setTx (double value) |
Update the Tx slope of the state. | |
void | setTy (double value) |
Update the Ty slope of the state. | |
virtual void | setQOverP (double value) |
Update the Q/P value of the state. | |
unsigned int | flags () const |
Retrieve const the variety of state flags. | |
bool | checkType (const Type &value) const |
Check state type. | |
void | setLocation (const Location &value) |
Update state location. | |
bool | checkLocation (const Location &value) const |
Check state location. | |
const HepVector & | state () const |
Retrieve const the state vector. | |
HepVector & | state () |
Retrieve the state vector. | |
const HepSymMatrix & | covariance () const |
Retrieve const the state covariance matrix (indexes 1,...,5 for x, y, tx, ty, Q/p). | |
HepSymMatrix & | covariance () |
Retrieve the state covariance matrix (indexes 1,...,5 for x, y, tx, ty, Q/p). | |
Static Public Member Functions | |
static const CLID & | classID () |
Protected Types | |
enum | flagsBits { typeBits = 0, locationBits = 2 } |
Offsets of bitfield flags. More... | |
enum | flagsMasks { typeMask = 0x3L, locationMask = 0xFFCL } |
Bitmasks for bitfield flags. More... | |
Protected Member Functions | |
void | setType (const State::Type &value) |
Update the type of the state. | |
Protected Attributes | |
unsigned int | m_flags |
the variety of state flags | |
HepVector | m_state |
the state vector | |
HepSymMatrix | m_covariance |
the state covariance matrix (indexes 1,...,5 for x, y, tx, ty, Q/p) | |
double | m_z |
the z-position of the state |
Definition at line 46 of file State.h.
|
Offsets of bitfield flags.
Definition at line 233 of file State.h. 00233 {typeBits = 0, 00234 locationBits = 2};
|
|
Bitmasks for bitfield flags.
Definition at line 237 of file State.h. 00237 {typeMask = 0x3L, 00238 locationMask = 0xFFCL};
|
|
enumeration for the location of the state
Definition at line 54 of file State.h. 00054 { Unknown, 00055 ClosestToBeam, 00056 FirstMeasurement, 00057 EndVelo, 00058 AtTT, 00059 AtT, 00060 BegRich1, 00061 EndRich1, 00062 BegRich2, 00063 EndRich2, 00064 Calo, 00065 Muon };
|
|
enumeration for the state type
Definition at line 51 of file State.h. 00051 { HasMomentum=1, 00052 StraightLine=2 };
|
|
Default constructor. State defined to be of type State::HasMomentum.
Definition at line 17 of file State.cpp. References HasMomentum, m_covariance, m_state, m_z, setLocation(), setType(), and Unknown. Referenced by clone(). 00017 { 00018 setType( State::HasMomentum ); 00019 setLocation( State::Unknown ); 00020 m_z = 0.; 00021 m_state = HepVector(5,0); 00022 m_covariance = HepSymMatrix(5,0); 00023 }
|
|
Default Destructor.
Definition at line 71 of file State.h. 00071 {}
|
|
Check state location.
Definition at line 284 of file State.h. References locationBits, locationMask, and m_flags. Referenced by Track::stateAt(), and FitTrack::stateAt(). 00285 { 00286 unsigned int val = (unsigned int)value; 00287 return 0 != ( m_flags & locationMask & ( val << locationBits )); 00288 }
|
|
Check state type.
Definition at line 271 of file State.h. References m_flags, typeBits, and typeMask. Referenced by errMomentum(), and setState(). 00272 { 00273 unsigned int val = (unsigned int)value; 00274 return 0 != ( m_flags & typeMask & ( val << typeBits )); 00275 }
|
|
Definition at line 261 of file State.h. References CLID_State. Referenced by clID(). 00262 { 00263 return CLID_State; 00264 }
|
|
Definition at line 256 of file State.h. References classID(). 00257 { 00258 return State::classID(); 00259 }
|
|
Clone the state.
Definition at line 202 of file State.cpp. References State(). Referenced by Node::setState(). 00203 { 00204 return new State(*this); 00205 };
|
|
Retrieve the state covariance matrix (indexes 1,...,5 for x, y, tx, ty, Q/p).
Definition at line 305 of file State.h. References m_covariance. 00306 { 00307 return m_covariance; 00308 }
|
|
Retrieve const the state covariance matrix (indexes 1,...,5 for x, y, tx, ty, Q/p).
Definition at line 300 of file State.h. References m_covariance. Referenced by posMomCovariance(), and TrackExtrapolator::updateState(). 00301 { 00302 return m_covariance; 00303 }
|
|
Retrieve the errors on the momentum vector of the stateRetrieve the errors on the momentum vector of the state.
Definition at line 159 of file State.cpp. References checkType(), HasMomentum, and posMomCovariance(). Referenced by TrackExtrapolator::momentum(), and Track::momentum(). 00160 { 00161 if ( checkType( State::HasMomentum ) ) { 00162 const HepSymMatrix temp = posMomCovariance(); // CLHEP 1.9, must be const 00163 return temp.sub(4,6); 00164 } 00165 else { 00166 return HepSymMatrix(3,0); 00167 } 00168 };
|
|
Retrieve the squared error on the momentum of the state.
Definition at line 150 of file State.cpp. References errQOverP2(), and m_state. 00151 {
00152 if ( m_state[4] != 0. ) return errQOverP2() / pow( m_state[4], 4. );
00153 return 0.;
00154 };
|
|
Retrieve the errors on the 3D-position vector of the state.
Definition at line 403 of file State.h. References posMomCovariance(). Referenced by TrackExtrapolator::position(), and Track::position(). 00404 { 00405 00406 const HepSymMatrix temp = posMomCovariance(); 00407 return temp.sub(1,3); 00408 00409 }
|
|
Retrieve the squared error on the charge-over-momentum Q/P of the state.
Definition at line 142 of file State.cpp. References m_covariance. Referenced by errP2(). 00143 { 00144 return m_covariance.fast(5,5); 00145 };
|
|
Retrieve the squared error on the Q/Pperp of the state.
Definition at line 173 of file State.cpp. References m_covariance, qOverP(), tx(), and ty(). 00174 { 00175 double tx2 = tx() * tx(); 00176 double ty2 = ty() * ty(); 00177 double qOverP2 = qOverP() * qOverP(); 00178 double transSlope = 1. + tx2; 00179 double norm = 1 + tx2 + ty2; 00180 00181 double QOverPperpError = ( (norm/transSlope) * m_covariance[4][4] ) 00182 00183 + ( qOverP2 * tx2 * ty2*ty2 * m_covariance[2][2]/ 00184 (pow(transSlope,3.)*norm)) 00185 00186 + ( qOverP2 * ty2 * m_covariance[3][3] / (norm*transSlope) ) 00187 00188 - ( 2. * qOverP() * tx() * ty2 * m_covariance[2][4] 00189 / ( transSlope*transSlope ) ) 00190 00191 + 2. * qOverP() * ty() * m_covariance[3][4] / transSlope 00192 00193 - 2. * ( qOverP2 * tx() * ty() * ty2 * m_covariance[2][3] 00194 / ( norm* transSlope*transSlope ) ); 00195 00196 return QOverPperpError; 00197 };
|
|
Retrieve the errors on the slopes of the state.
Definition at line 425 of file State.h. References m_covariance. Referenced by TrackExtrapolator::slopes(), and Track::slopes(). 00426 { 00427 00428 const HepSymMatrix temp = m_covariance; 00429 HepSymMatrix err = temp.sub(3,5); 00430 err.fast(2,1) = 0.; 00431 err.fast(3,1) = 0.; 00432 err.fast(3,2) = 0.; 00433 err.fast(3,3) = 0.; 00434 return err; 00435 00436 }
|
|
Retrieve the squared error on the x-slope Tx=dx/dz of the state.
Definition at line 438 of file State.h. References m_covariance. 00439 { 00440 00441 return m_covariance.fast(3,3); 00442 00443 }
|
|
Retrieve the squared error on the y-slope Ty=dy/dz of the state.
Definition at line 445 of file State.h. References m_covariance. 00446 { 00447 00448 return m_covariance.fast(4,4); 00449 00450 }
|
|
Retrieve the squared error on the x-position of the state.
Definition at line 411 of file State.h. References m_covariance. 00412 { 00413 00414 return m_covariance.fast(1,1); 00415 00416 }
|
|
Retrieve the squared error on the y-position of the state.
Definition at line 418 of file State.h. References m_covariance. 00419 { 00420 00421 return m_covariance.fast(2,2); 00422 00423 }
|
|
Retrieve const the variety of state flags.
Definition at line 266 of file State.h. References m_flags. 00267 { 00268 return m_flags; 00269 }
|
|
Retrieve the momentum vector of the state.
Definition at line 386 of file State.h. Referenced by TrackExtrapolator::momentum(), Track::momentum(), TrackExtrapolator::positionAndMomentum(), and positionAndMomentum(). 00387 { 00388 00389 HepVector3D mom = slopes(); 00390 mom *= ( p() / mom.mag() ); 00391 return mom; 00392 00393 }
|
|
Retrieve the number of state parameters.
Definition at line 310 of file State.h. References m_state. Referenced by setCovariance(). 00311 { 00312 00313 return (unsigned int) m_state.num_row(); 00314 00315 }
|
|
Retrieve the momentum of the state.
Definition at line 36 of file State.cpp. References m_state. Referenced by momentum(), TrackExtrapolator::p(), Track::p(), and posMomCovariance(). 00037 {
00038 if ( m_state[4] != 0. ) return fabs( 1./m_state[4] );
00039 return 0.;
00040 };
|
|
Retrieve the 3D-position vector of the state.
Definition at line 337 of file State.h. Referenced by Track::closestState(), FitTrack::closestState(), TrackExtrapolator::position(), Track::position(), TrackExtrapolator::positionAndMomentum(), and positionAndMomentum(). 00338 {
00339
00340 return HepPoint3D( m_state[0], m_state[1], m_z );
00341
00342 }
|
|
Retrieve the position and momentum vectors of the state.
Definition at line 328 of file State.h. References momentum(), and position().
|
|
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) of the state.
Definition at line 317 of file State.h. References momentum(), position(), and posMomCovariance(). Referenced by TrackExtrapolator::positionAndMomentum(), and Track::positionAndMomentum(). 00320 { 00321 00322 pos = position(); 00323 mom = momentum(); 00324 cov6D = posMomCovariance(); 00325 00326 }
|
|
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) of the state.
Definition at line 57 of file State.cpp. References covariance(), p(), qOverP(), tx(), and ty(). Referenced by errMomentum(), errPosition(), positionAndMomentum(), and Track::posMomCovariance(). 00058 { 00059 // Transformation done in 2 steps: 00060 // 1) "convert" first from (x,y,tx,ty,Q/p) to (x,y,z,tx,ty,Q/p) 00061 const HepSymMatrix cov5D = covariance(); 00062 HepSymMatrix cov6Dtmp = HepSymMatrix(6,0); 00063 00064 std::vector<int> index; 00065 index.push_back( 1 ); 00066 index.push_back( 3 ); 00067 index.push_back( 4 ); 00068 index.push_back( 5 ); 00069 00070 for ( int jj=0 ; jj<5 ; jj++ ) { 00071 for ( int i=jj ; i<5 ; i++ ) { 00072 cov6Dtmp.fast(index[i]+1,index[jj]+1) = cov5D.fast(i+1,jj+1); 00073 } 00074 } 00075 cov6Dtmp.fast(3,1) = 0.; 00076 cov6Dtmp.fast(3,2) = 0.; 00077 cov6Dtmp.fast(3,3) = 0.; 00078 cov6Dtmp.fast(4,3) = 0.; 00079 cov6Dtmp.fast(5,3) = 0.; 00080 cov6Dtmp.fast(6,3) = 0.; 00081 00082 // 2) transformation from (x,y,z,tx,ty,Q/p) to (x,y,z,px,py,pz) 00083 // jacobian J = I 0 00084 // 0 j 00085 // -> covariance matrix C = C_A C_B.T() 00086 // C_B C_D 00087 // becomes C' = C_A (j.C_B).T() after similarity transformation 00088 // j.C_B j.C_D.(j.T()) 00089 double Tx = tx(); 00090 double Ty = ty(); 00091 double QOverP = qOverP(); 00092 double Q = ( QOverP != 0. ? (fabs(QOverP)/QOverP) : 0. ); 00093 double Tx2 = Tx * Tx; 00094 double Ty2 = Ty * Ty; 00095 double Qp = Q * p(); 00096 double N = 1. / sqrt( 1 + Tx2 + Ty2 ); 00097 double N2 = N*N; 00098 00099 HepSymMatrix cov6D = HepSymMatrix(6,0); 00100 HepSymMatrix C_A = cov6Dtmp.sub(1,3); 00101 HepSymMatrix C_D = cov6Dtmp.sub(4,6); 00102 HepMatrix C_B = HepMatrix(3,3,0); 00103 HepMatrix j = HepMatrix(3,3,0); 00104 00105 j[0][0] = ( 1 + Ty2 ) * N2; 00106 j[0][1] = - Tx * Ty * N2; 00107 j[0][2] = - Qp * Tx; 00108 j[1][0] = - Tx * Ty * N2; 00109 j[1][1] = ( 1 + Tx2 ) * N2; 00110 j[1][2] = - Qp * Ty; 00111 j[2][0] = - Tx * N2; 00112 j[2][1] = - Ty * N2; 00113 j[2][2] = - Qp; 00114 00115 C_B(1,1) = cov6Dtmp.fast(4,1); 00116 C_B(2,1) = cov6Dtmp.fast(5,1); 00117 C_B(2,2) = cov6Dtmp.fast(5,2); 00118 C_B(3,1) = cov6Dtmp.fast(6,1); 00119 C_B(3,2) = cov6Dtmp.fast(6,2); 00120 C_B(3,3) = cov6Dtmp.fast(6,3); 00121 00122 C_B = j * C_B; 00123 00124 cov6D.sub(1,C_A); 00125 cov6D.sub(4,C_D.similarity(j)); 00126 cov6D.fast(4,1) = C_B(1,1); 00127 cov6D.fast(5,1) = C_B(2,1); 00128 cov6D.fast(6,1) = C_B(3,1); 00129 cov6D.fast(4,2) = C_B(1,2); 00130 cov6D.fast(5,2) = C_B(2,2); 00131 cov6D.fast(6,2) = C_B(3,2); 00132 cov6D.fast(4,3) = C_B(1,3); 00133 cov6D.fast(5,3) = C_B(2,3); 00134 cov6D.fast(6,3) = C_B(3,3); 00135 00136 return cov6D; 00137 };
|
|
Retrieve the transverse momentum of the state.
Definition at line 45 of file State.cpp. References m_state. Referenced by TrackExtrapolator::pt(), and Track::pt(). 00046 { 00047 if ( m_state[4] != 0. ) { 00048 double txy2 = m_state[2]*m_state[2] + m_state[3]*m_state[3]; 00049 return sqrt( txy2/(1.+txy2) ) / fabs( m_state[4] ); 00050 } 00051 return 0.; 00052 };
|
|
Retrieve the charge-over-momentum Q/P of the state.
Definition at line 28 of file State.cpp. References m_state. Referenced by Track::charge(), TrueStateCreator::createState(), TrueStateCreator::createStateVertex(), errQOverPperp2(), posMomCovariance(), and qOverPperp(). 00029 { 00030 return m_state[4]; 00031 };
|
|
Retrieve the Q/Pperp (ratio of the charge to the component of the momentum transverse to the magnetic field) of the state.
Definition at line 395 of file State.h. References qOverP(), tx(), and ty(). 00396 { 00397 00398 double tx2 = tx() * tx(); 00399 return ( qOverP() * sqrt( (1.+ tx2 + ty()*ty()) / (1. + tx2 ) ) ); 00400 00401 }
|
|
Clear the state before re-using it.
Definition at line 210 of file State.cpp. References m_covariance, m_state, and m_z. Referenced by Track::reset(). 00211 { 00212 m_z = 0.; 00213 m_state = HepVector(5,0); 00214 m_covariance = HepSymMatrix(5,0); 00215 };
|
|
Update the state covariance.
Definition at line 474 of file State.h. References m_covariance, and nParameters(). 00475 { 00476 00477 if ( value.num_row() == (int) nParameters() ) { 00478 m_covariance = value; 00479 } 00480 else { 00481 std::cerr << "ERROR The dimension of the covariance matrix does not match that of the state!" 00482 << "ERROR Using the default covariance matrix." << std::endl; 00483 int dim = nParameters(); 00484 m_covariance = HepSymMatrix(dim,0); 00485 } 00486 00487 }
|
|
Update state location.
Definition at line 277 of file State.h. References locationBits, locationMask, and m_flags. Referenced by State(). 00278 { 00279 unsigned int val = (unsigned int)value; 00280 m_flags &= ~locationMask; 00281 m_flags |= ((((unsigned int)val) << locationBits) & locationMask); 00282 }
|
|
Update the Q/P value of the state.
Definition at line 242 of file State.cpp. References m_state. 00243 { 00244 m_state[4] = value; 00245 };
|
|
Update the state vector (presumably of type State::StraightLine).
Definition at line 459 of file State.h. 00464 { 00465 00466 m_state[0] = x; 00467 m_state[1] = y; 00468 m_state[2] = tx; 00469 m_state[3] = ty; 00470 m_z = z; 00471 00472 }
|
|
Update the state vector (presumably of type State::HasMomentum).
Definition at line 220 of file State.cpp. References checkType(), m_state, m_z, and StraightLine. 00223 { 00224 m_state[0] = x; 00225 m_state[1] = y; 00226 m_state[2] = tx; 00227 m_state[3] = ty; 00228 m_z = z; 00229 if ( checkType( State::StraightLine ) ) { 00230 std::cerr 00231 << "ERROR You're trying to set the Q/P value for a state of type State::StraightLine!" 00232 << "ERROR This value will be discarded." << std::endl; 00233 } 00234 else { 00235 m_state[4] = qOverP; 00236 } 00237 };
|
|
Update the state vector.
Definition at line 452 of file State.h. References m_state, and state(). Referenced by TrueStateCreator::createState(), and TrueStateCreator::createStateVertex().
|
|
Update the Tx slope of the state.
Definition at line 510 of file State.h. References m_state. 00511 { 00512 00513 m_state[2] = value; 00514 00515 }
|
|
Update the Ty slope of the state.
Definition at line 517 of file State.h. References m_state. 00518 { 00519 00520 m_state[3] = value; 00521 00522 }
|
|
Update the type of the state.
Definition at line 250 of file State.cpp. References m_flags, typeBits, and typeMask. Referenced by State(). 00251 { 00252 unsigned int val = (unsigned int)value; 00253 m_flags &= ~typeMask; 00254 m_flags |= ((((unsigned int)val) << typeBits) & typeMask); 00255 };
|
|
Update the x-position of the state.
Definition at line 489 of file State.h. References m_state. 00490 { 00491 00492 m_state[0] = value; 00493 00494 }
|
|
Update the y-position of the state.
Definition at line 496 of file State.h. References m_state. 00497 { 00498 00499 m_state[1] = value; 00500 00501 }
|
|
Update the z-position of the state.
Definition at line 503 of file State.h. References m_z. Referenced by TrackExtrapolator::updateState(). 00504 { 00505 00506 m_z = value; 00507 00508 }
|
|
Retrieve the slopes (Tx=dx/dz,Ty=dy/dz,1.) of the state.
Definition at line 365 of file State.h. References m_state. Referenced by momentum(), TrackExtrapolator::slopes(), and Track::slopes(). 00366 {
00367
00368 return HepVector3D( m_state[2], m_state[3], 1.);
00369
00370 }
|
|
Retrieve the state vector.
Definition at line 295 of file State.h. References m_state. 00296 { 00297 return m_state; 00298 }
|
|
Retrieve const the state vector.
Definition at line 290 of file State.h. References m_state. Referenced by setState(), and TrackExtrapolator::updateState(). 00291 { 00292 return m_state; 00293 }
|
|
Retrieve the Tx=dx/dz slope of the state.
Definition at line 372 of file State.h. References m_state. Referenced by errQOverPperp2(), posMomCovariance(), and qOverPperp(). 00373 { 00374 00375 return m_state[2]; 00376 00377 }
|
|
Retrieve the Ty=dy/dz slope of the state.
Definition at line 379 of file State.h. References m_state. Referenced by errQOverPperp2(), posMomCovariance(), and qOverPperp(). 00380 { 00381 00382 return m_state[3]; 00383 00384 }
|
|
Retrieve the x-position of the state.
Definition at line 344 of file State.h. References m_state. 00345 { 00346 00347 return m_state[0]; 00348 00349 }
|
|
Retrieve the y-position of the state.
Definition at line 351 of file State.h. References m_state. 00352 { 00353 00354 return m_state[1]; 00355 00356 }
|
|
Retrieve the z-position of the state.
Definition at line 358 of file State.h. References m_z. Referenced by Track::closestState(), and FitTrack::closestState(). 00359 { 00360 00361 return m_z; 00362 00363 }
|
|
the state covariance matrix (indexes 1,...,5 for x, y, tx, ty, Q/p)
Definition at line 243 of file State.h. Referenced by covariance(), errQOverP2(), errQOverPperp2(), errSlopes(), errTx2(), errTy2(), errX2(), errY2(), reset(), setCovariance(), and State(). |
|
the variety of state flags
Definition at line 241 of file State.h. Referenced by checkLocation(), checkType(), flags(), setLocation(), and setType(). |
|
the state vector
Definition at line 242 of file State.h. Referenced by errP2(), nParameters(), p(), position(), pt(), qOverP(), reset(), setQOverP(), setState(), setTx(), setTy(), setX(), setY(), slopes(), state(), State(), tx(), ty(), x(), and y(). |
|
the z-position of the state
Definition at line 244 of file State.h. Referenced by position(), reset(), setState(), setZ(), State(), and z(). |