BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
DifPoint Class Reference

#include <DifPoint.h>

+ Inheritance diagram for DifPoint:

Public Member Functions

 DifPoint (const DifPoint &p)
 
 DifPoint ()
 
 DifPoint (const HepPoint3D &p)
 
 DifPoint (const DifNumber &X, const DifNumber &Y, const DifNumber &Z)
 
 DifPoint (double X, double Y, double Z)
 
DifPointoperator= (const DifPoint &p)
 
DifPointoperator+= (const DifVector &v)
 
DifPointoperator-= (const DifVector &v)
 
DifPointoperator*= (const DifNumber &n)
 
DifPointoperator/= (const DifNumber &n)
 
HepPoint3D hepPoint () const
 
- Public Member Functions inherited from DifVector
 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
 
DifVectoroperator+= (const DifVector &v)
 
DifVectoroperator-= (const DifVector &v)
 
DifVectoroperator*= (const DifNumber &n)
 
DifVectoroperator*= (const double &n)
 
DifVectoroperator/= (const DifNumber &n)
 
DifVectoroperator/= (const double &n)
 
DifVectoroperator= (const DifVector &v)
 
DifVector operator- () const
 
int nPar () const
 
void print () const
 
DifVectorflipsign ()
 
DifVectornormalize ()
 
DifVectorzeroDerivatives ()
 
DifVectorrotate (const DifVector &axis, const DifNumber &angle)
 
DifVectorrotate (const DifVector &axis, const DifNumber &cosine, const DifNumber &sine)
 
DifVectorrotate (const DifNumber &alpha, const DifNumber &beta, const DifNumber &gamma)
 
DifVectorrotate (const DifRotation &r)
 
DifVectorrotateX (const DifNumber &angle)
 
DifVectorrotateX (const DifNumber &cosine, const DifNumber &sine)
 
DifVectorrotateY (const DifNumber &angle)
 
DifVectorrotateY (const DifNumber &cosine, const DifNumber &sine)
 
DifVectorrotateZ (const DifNumber &angle)
 
DifVectorrotateZ (const DifNumber &cosine, const DifNumber &sine)
 
DifVectorrotate (const DifVector &axis, const double &angle)
 
DifVectorrotate (const DifVector &axis, const double &cosine, const double &sine)
 
DifVectorrotate (const double &alpha, const double &beta, const double &gamma)
 
DifVectorrotateX (const double &angle)
 
DifVectorrotateX (const double &cosine, const double &sine)
 
DifVectorrotateY (const double &angle)
 
DifVectorrotateY (const double &cosine, const double &sine)
 
DifVectorrotateZ (const double &angle)
 
DifVectorrotateZ (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
 

Friends

DifPoint operator+ (const DifPoint &p, const DifVector &v)
 
DifPoint operator+ (const DifVector &v, const DifPoint &p)
 
DifPoint operator- (const DifPoint &p, const DifVector &v)
 
DifVector operator- (const DifPoint &a, const DifPoint &b)
 
DifPoint operator* (const DifPoint &p, const DifNumber &n)
 
DifPoint operator* (const DifNumber &n, const DifPoint &p)
 
DifPoint operator/ (const DifPoint &v, const DifNumber &n)
 

Additional Inherited Members

- Public Attributes inherited from DifVector
DifNumber x
 
DifNumber y
 
DifNumber z
 

Detailed Description

Definition at line 34 of file DifPoint.h.

Constructor & Destructor Documentation

◆ DifPoint() [1/5]

DifPoint::DifPoint ( const DifPoint p)
inline

Definition at line 37 of file DifPoint.h.

38 :DifVector(p) {}

◆ DifPoint() [2/5]

DifPoint::DifPoint ( )
inline

Definition at line 39 of file DifPoint.h.

40 :DifVector() {}

◆ DifPoint() [3/5]

DifPoint::DifPoint ( const HepPoint3D p)

◆ DifPoint() [4/5]

DifPoint::DifPoint ( const DifNumber X,
const DifNumber Y,
const DifNumber Z 
)
inline

Definition at line 43 of file DifPoint.h.

44 :DifVector(X,Y,Z) {}

◆ DifPoint() [5/5]

DifPoint::DifPoint ( double  X,
double  Y,
double  Z 
)
inline

Definition at line 45 of file DifPoint.h.

46 :DifVector(X,Y,Z) {}

Member Function Documentation

◆ hepPoint()

HepPoint3D DifPoint::hepPoint ( ) const

◆ operator*=()

DifPoint & DifPoint::operator*= ( const DifNumber n)
inline

◆ operator+=()

DifPoint & DifPoint::operator+= ( const DifVector v)
inline

◆ operator-=()

DifPoint & DifPoint::operator-= ( const DifVector v)
inline

◆ operator/=()

DifPoint & DifPoint::operator/= ( const DifNumber n)
inline

◆ operator=()

DifPoint & DifPoint::operator= ( const DifPoint p)
inline

Friends And Related Function Documentation

◆ operator* [1/2]

DifPoint operator* ( const DifNumber n,
const DifPoint p 
)
friend

◆ operator* [2/2]

DifPoint operator* ( const DifPoint p,
const DifNumber n 
)
friend

◆ operator+ [1/2]

DifPoint operator+ ( const DifPoint p,
const DifVector v 
)
friend

◆ operator+ [2/2]

DifPoint operator+ ( const DifVector v,
const DifPoint p 
)
friend

◆ operator- [1/2]

DifVector operator- ( const DifPoint a,
const DifPoint b 
)
friend

◆ operator- [2/2]

DifPoint operator- ( const DifPoint p,
const DifVector v 
)
friend

◆ operator/

DifPoint operator/ ( const DifPoint v,
const DifNumber n 
)
friend

The documentation for this class was generated from the following file: