BOSS 7.1.1
BESIII Offline Software System
|
#include <DifVector.h>
Public Member Functions | |
DifVector () | |
DifVector (const DifNumber &x, const DifNumber &y, const DifNumber &z) | |
DifVector (double x, double y, double z) | |
DifVector (const Hep3Vector &v) | |
DifVector (const DifVector &v) | |
~DifVector () | |
HepSymMatrix | errorMatrix (const HepSymMatrix &e) const |
HepMatrix | jacobian () const |
DifVector & | operator+= (const DifVector &v) |
DifVector & | operator-= (const DifVector &v) |
DifVector & | operator*= (const DifNumber &n) |
DifVector & | operator*= (const double &n) |
DifVector & | operator/= (const DifNumber &n) |
DifVector & | operator/= (const double &n) |
DifVector & | operator= (const DifVector &v) |
DifVector | operator- () const |
int | nPar () const |
void | print () const |
DifVector & | flipsign () |
DifVector & | normalize () |
DifVector & | zeroDerivatives () |
DifVector & | rotate (const DifVector &axis, const DifNumber &angle) |
DifVector & | rotate (const DifVector &axis, const DifNumber &cosine, const DifNumber &sine) |
DifVector & | rotate (const DifNumber &alpha, const DifNumber &beta, const DifNumber &gamma) |
DifVector & | rotate (const DifRotation &r) |
DifVector & | rotateX (const DifNumber &angle) |
DifVector & | rotateX (const DifNumber &cosine, const DifNumber &sine) |
DifVector & | rotateY (const DifNumber &angle) |
DifVector & | rotateY (const DifNumber &cosine, const DifNumber &sine) |
DifVector & | rotateZ (const DifNumber &angle) |
DifVector & | rotateZ (const DifNumber &cosine, const DifNumber &sine) |
DifVector & | rotate (const DifVector &axis, const double &angle) |
DifVector & | rotate (const DifVector &axis, const double &cosine, const double &sine) |
DifVector & | rotate (const double &alpha, const double &beta, const double &gamma) |
DifVector & | rotateX (const double &angle) |
DifVector & | rotateX (const double &cosine, const double &sine) |
DifVector & | rotateY (const double &angle) |
DifVector & | rotateY (const double &cosine, const double &sine) |
DifVector & | rotateZ (const double &angle) |
DifVector & | rotateZ (const double &cosine, const double &sine) |
DifVector | transverse (const DifVector &v) const |
DifNumber | dot (const DifVector &v) const |
DifNumber | length () const |
DifNumber | lengthSq () const |
DifVector | unit () const |
DifNumber | perp () const |
DifNumber | perpSq () const |
DifNumber | r () const |
DifNumber | phi () const |
DifNumber | theta () const |
DifNumber | cosTheta () const |
Public Attributes | |
DifNumber | x |
DifNumber | y |
DifNumber | z |
Friends | |
DifVector | operator+ (const DifVector &a, const DifVector &b) |
DifVector | operator- (const DifVector &a, const DifVector &b) |
DifNumber | operator* (const DifVector &a, const DifVector &b) |
DifVector | operator* (const DifVector &v, const DifNumber &n) |
DifVector | operator* (const DifNumber &n, const DifVector &v) |
DifVector | operator/ (const DifVector &v, const DifNumber &n) |
DifVector | operator* (const DifVector &v, const double &n) |
DifVector | operator* (const double &n, const DifVector &v) |
DifVector | operator/ (const DifVector &v, const double &n) |
DifVector | cross (const DifVector &a, const DifVector &b) |
Definition at line 32 of file DifVector.h.
DifVector::DifVector | ( | ) |
Definition at line 32 of file DifVector.cxx.
Definition at line 36 of file DifVector.cxx.
DifVector::DifVector | ( | double | x, |
double | y, | ||
double | z ) |
Definition at line 41 of file DifVector.cxx.
DifVector::DifVector | ( | const Hep3Vector & | v | ) |
Definition at line 46 of file DifVector.cxx.
DifVector::DifVector | ( | const DifVector & | v | ) |
|
inline |
Definition at line 47 of file DifVector.h.
DifNumber DifVector::cosTheta | ( | ) | const |
HepSymMatrix DifVector::errorMatrix | ( | const HepSymMatrix & | e | ) | const |
Definition at line 54 of file DifVector.cxx.
Referenced by TrkCompTrk::directionErr(), TrkRep::directionErr(), TrkCompTrk::positionErr(), and TrkRep::positionErr().
|
inline |
HepMatrix DifVector::jacobian | ( | ) | const |
Definition at line 65 of file DifVector.cxx.
|
inline |
Referenced by DifFourVector::pMag().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
DifVector & DifVector::operator/= | ( | const double & | n | ) |
|
inline |
|
inline |
DifNumber DifVector::phi | ( | ) | const |
void DifVector::print | ( | ) | const |
Definition at line 85 of file DifVector.cxx.
DifVector & DifVector::rotate | ( | const DifNumber & | alpha, |
const DifNumber & | beta, | ||
const DifNumber & | gamma ) |
Definition at line 80 of file DifVector.cxx.
DifVector & DifVector::rotate | ( | const DifRotation & | r | ) |
Definition at line 76 of file DifVector.cxx.
|
inline |
|
inline |
DifVector & DifVector::rotate | ( | const double & | alpha, |
const double & | beta, | ||
const double & | gamma ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
DifNumber DifVector::theta | ( | ) | const |
|
inline |
|
inline |
DifNumber DifVector::x |
Definition at line 148 of file DifVector.h.
Referenced by DifRotation::DifRotation(), TrkCompTrk::directionErr(), TrkRep::directionErr(), DifFourVector::errorMatrix(), errorMatrix(), HelixTraj::getDFInfo(), TrkCircleTraj::getDFInfo(), HelixTraj::getDFInfo2(), TrkCircleTraj::getDFInfo2(), DifFourVector::jacobian(), jacobian(), TrkCompTrk::positionErr(), TrkRep::positionErr(), and DifRotation::rotate().
DifNumber DifVector::y |
Definition at line 149 of file DifVector.h.
Referenced by DifRotation::DifRotation(), TrkCompTrk::directionErr(), TrkRep::directionErr(), DifFourVector::errorMatrix(), errorMatrix(), HelixTraj::getDFInfo(), TrkCircleTraj::getDFInfo(), HelixTraj::getDFInfo2(), TrkCircleTraj::getDFInfo2(), DifFourVector::jacobian(), jacobian(), TrkCompTrk::positionErr(), and TrkRep::positionErr().
DifNumber DifVector::z |
Definition at line 150 of file DifVector.h.
Referenced by DifRotation::DifRotation(), TrkCompTrk::directionErr(), TrkRep::directionErr(), DifFourVector::errorMatrix(), errorMatrix(), HelixTraj::getDFInfo(), TrkCircleTraj::getDFInfo(), HelixTraj::getDFInfo2(), TrkCircleTraj::getDFInfo2(), DifFourVector::jacobian(), jacobian(), TrkCompTrk::positionErr(), and TrkRep::positionErr().