BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesPointErr Class Reference

#include <BesPointErr.h>

Inheritance diagram for BesPointErr:

Public Types

enum  PolarCoordinateIndex {
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3 ,
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3 ,
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3
}
enum  CylindricalCoordinateIndex {
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3 ,
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3 ,
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3
}
enum  PolarCoordinateIndex {
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3 ,
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3 ,
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3
}
enum  CylindricalCoordinateIndex {
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3 ,
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3 ,
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3
}
enum  PolarCoordinateIndex {
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3 ,
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3 ,
  Rho = 0 , Theta = 1 , Phi = 2 , NUM_PCOORDINATES = 3
}
enum  CylindricalCoordinateIndex {
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3 ,
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3 ,
  C_Rho = 0 , C_Zeta = 1 , C_Phi = 2 , NUM_CCOORDINATES = 3
}

Public Member Functions

 BesPointErr ()
 BesPointErr (const HepPoint3D &p)
 BesPointErr (const HepPoint3D &p, const BesError &covMat)
 BesPointErr (const BesPointErr &v)
double determineChisq (const HepPoint3D &diffPoint) const
BesError covRTPMatrix () const
BesError covRZPMatrix () const
const BesErrorcovMatrix () const
void setCovMatrix (const BesError &v)
 BesPointErr ()
 BesPointErr (const HepPoint3D &p)
 BesPointErr (const HepPoint3D &p, const BesError &covMat)
 BesPointErr (const BesPointErr &v)
double determineChisq (const HepPoint3D &diffPoint) const
BesError covRTPMatrix () const
BesError covRZPMatrix () const
const BesErrorcovMatrix () const
void setCovMatrix (const BesError &v)
 BesPointErr ()
 BesPointErr (const HepPoint3D &p)
 BesPointErr (const HepPoint3D &p, const BesError &covMat)
 BesPointErr (const BesPointErr &v)
double determineChisq (const HepPoint3D &diffPoint) const
BesError covRTPMatrix () const
BesError covRZPMatrix () const
const BesErrorcovMatrix () const
void setCovMatrix (const BesError &v)

Detailed Description

Member Enumeration Documentation

◆ CylindricalCoordinateIndex [1/3]

◆ CylindricalCoordinateIndex [2/3]

Enumerator
C_Rho 
C_Zeta 
C_Phi 
NUM_CCOORDINATES 
C_Rho 
C_Zeta 
C_Phi 
NUM_CCOORDINATES 
C_Rho 
C_Zeta 
C_Phi 
NUM_CCOORDINATES 

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

46{ C_Rho = 0, C_Zeta = 1, C_Phi = 2, NUM_CCOORDINATES = 3 };

◆ CylindricalCoordinateIndex [3/3]

Enumerator
C_Rho 
C_Zeta 
C_Phi 
NUM_CCOORDINATES 
C_Rho 
C_Zeta 
C_Phi 
NUM_CCOORDINATES 
C_Rho 
C_Zeta 
C_Phi 
NUM_CCOORDINATES 

Definition at line 46 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

46{ C_Rho = 0, C_Zeta = 1, C_Phi = 2, NUM_CCOORDINATES = 3 };

◆ PolarCoordinateIndex [1/3]

◆ PolarCoordinateIndex [2/3]

Enumerator
Rho 
Theta 
Phi 
NUM_PCOORDINATES 
Rho 
Theta 
Phi 
NUM_PCOORDINATES 
Rho 
Theta 
Phi 
NUM_PCOORDINATES 

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

45{ Rho = 0, Theta = 1, Phi = 2, NUM_PCOORDINATES = 3 };

◆ PolarCoordinateIndex [3/3]

Enumerator
Rho 
Theta 
Phi 
NUM_PCOORDINATES 
Rho 
Theta 
Phi 
NUM_PCOORDINATES 
Rho 
Theta 
Phi 
NUM_PCOORDINATES 

Definition at line 45 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

45{ Rho = 0, Theta = 1, Phi = 2, NUM_PCOORDINATES = 3 };

Constructor & Destructor Documentation

◆ BesPointErr() [1/12]

BesPointErr::BesPointErr ( )
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesPointErr.h.

47: HepPoint3D(), _covMatrix( 3 ) {}

Referenced by BesPointErr().

◆ BesPointErr() [2/12]

BesPointErr::BesPointErr ( const HepPoint3D & p)
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesPointErr.h.

48: HepPoint3D( p ), _covMatrix( 3 ) {}

◆ BesPointErr() [3/12]

BesPointErr::BesPointErr ( const HepPoint3D & p,
const BesError & covMat )
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesPointErr.h.

50 : HepPoint3D( p ), _covMatrix( 3 ) {
51 _covMatrix = covMat;
52 }

◆ BesPointErr() [4/12]

BesPointErr::BesPointErr ( const BesPointErr & v)
inline

Definition at line 55 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesPointErr.h.

55: HepPoint3D(), _covMatrix( 3 ) { *this = v; }
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition KarLud.h:35

◆ BesPointErr() [5/12]

BesPointErr::BesPointErr ( )
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

47: HepPoint3D(), _covMatrix( 3 ) {}

◆ BesPointErr() [6/12]

BesPointErr::BesPointErr ( const HepPoint3D & p)
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

48: HepPoint3D( p ), _covMatrix( 3 ) {}

◆ BesPointErr() [7/12]

BesPointErr::BesPointErr ( const HepPoint3D & p,
const BesError & covMat )
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

50 : HepPoint3D( p ), _covMatrix( 3 ) {
51 _covMatrix = covMat;
52 }

◆ BesPointErr() [8/12]

BesPointErr::BesPointErr ( const BesPointErr & v)
inline

Definition at line 55 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

55: HepPoint3D(), _covMatrix( 3 ) { *this = v; }

◆ BesPointErr() [9/12]

BesPointErr::BesPointErr ( )
inline

Definition at line 47 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

47: HepPoint3D(), _covMatrix( 3 ) {}

◆ BesPointErr() [10/12]

BesPointErr::BesPointErr ( const HepPoint3D & p)
inline

Definition at line 48 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

48: HepPoint3D( p ), _covMatrix( 3 ) {}

◆ BesPointErr() [11/12]

BesPointErr::BesPointErr ( const HepPoint3D & p,
const BesError & covMat )
inline

Definition at line 49 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

50 : HepPoint3D( p ), _covMatrix( 3 ) {
51 _covMatrix = covMat;
52 }

◆ BesPointErr() [12/12]

BesPointErr::BesPointErr ( const BesPointErr & v)
inline

Definition at line 55 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

55: HepPoint3D(), _covMatrix( 3 ) { *this = v; }

Member Function Documentation

◆ covMatrix() [1/3]

const BesError & BesPointErr::covMatrix ( ) const
inline

◆ covMatrix() [2/3]

const BesError & BesPointErr::covMatrix ( ) const
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

72{ return _covMatrix; }

◆ covMatrix() [3/3]

const BesError & BesPointErr::covMatrix ( ) const
inline

Definition at line 72 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

72{ return _covMatrix; }

◆ covRTPMatrix() [1/3]

BesError BesPointErr::covRTPMatrix ( ) const

Definition at line 82 of file BesPointErr.cxx.

82 {
83 // protect against 0's
84 double xv = x() == 0 ? FLT_MIN : x();
85 double yv = y() == 0 ? FLT_MIN : y();
86 double zv = z() == 0 ? FLT_MIN : z();
87 DifNumber xDF( xv, X + 1, 3 ), yDF( yv, Y + 1, 3 ), zDF( zv, Z + 1, 3 );
88 DifArray pars( 3, NUM_PCOORDINATES );
89 pars[Rho] = sqrt( xDF * xDF + yDF * yDF + zDF * zDF );
90 pars[Phi] = atan2( yDF, xDF );
91 pars[Theta] = acos( zDF / pars[Rho] );
92 return covMatrix().similarity( pars.jacobian() );
93}
Double_t x[10]
BesError similarity(const HepRotation &rot) const
Definition BesError.cxx:49

◆ covRTPMatrix() [2/3]

BesError BesPointErr::covRTPMatrix ( ) const

◆ covRTPMatrix() [3/3]

BesError BesPointErr::covRTPMatrix ( ) const

◆ covRZPMatrix() [1/3]

BesError BesPointErr::covRZPMatrix ( ) const

Definition at line 95 of file BesPointErr.cxx.

95 {
96 // protect against 0's
97 double xv = x() == 0 ? FLT_MIN : x();
98 double yv = y() == 0 ? FLT_MIN : y();
99 double zv = z() == 0 ? FLT_MIN : z();
100 DifNumber xDF( xv, X + 1, 3 ), yDF( yv, Y + 1, 3 ), zDF( zv, Z + 1, 3 );
101 DifArray pars( 3, NUM_CCOORDINATES );
102 pars[C_Rho] = sqrt( xDF * xDF + yDF * yDF );
103 pars[C_Phi] = atan2( yDF, xDF );
104 pars[C_Zeta] = zDF;
105 return covMatrix().similarity( pars.jacobian() );
106}

◆ covRZPMatrix() [2/3]

BesError BesPointErr::covRZPMatrix ( ) const

◆ covRZPMatrix() [3/3]

BesError BesPointErr::covRZPMatrix ( ) const

◆ determineChisq() [1/3]

double BesPointErr::determineChisq ( const HepPoint3D & diffPoint) const
inline

Definition at line 57 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesPointErr.h.

57 {
58 HepVector temp( 3 );
59 temp[0] = diffPoint.x() - this->x();
60 temp[1] = diffPoint.y() - this->y();
61 temp[2] = diffPoint.z() - this->z();
62 return _covMatrix.determineChisq( temp );
63 }

◆ determineChisq() [2/3]

double BesPointErr::determineChisq ( const HepPoint3D & diffPoint) const
inline

Definition at line 57 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

57 {
58 HepVector temp( 3 );
59 temp[0] = diffPoint.x() - this->x();
60 temp[1] = diffPoint.y() - this->y();
61 temp[2] = diffPoint.z() - this->z();
62 return _covMatrix.determineChisq( temp );
63 }

◆ determineChisq() [3/3]

double BesPointErr::determineChisq ( const HepPoint3D & diffPoint) const
inline

Definition at line 57 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

57 {
58 HepVector temp( 3 );
59 temp[0] = diffPoint.x() - this->x();
60 temp[1] = diffPoint.y() - this->y();
61 temp[2] = diffPoint.z() - this->z();
62 return _covMatrix.determineChisq( temp );
63 }

◆ setCovMatrix() [1/3]

void BesPointErr::setCovMatrix ( const BesError & v)
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/BesPointErr.h.

73{ _covMatrix = v; }

Referenced by operator>>().

◆ setCovMatrix() [2/3]

void BesPointErr::setCovMatrix ( const BesError & v)
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/BesPointErr.h.

73{ _covMatrix = v; }

◆ setCovMatrix() [3/3]

void BesPointErr::setCovMatrix ( const BesError & v)
inline

Definition at line 73 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesPointErr.h.

73{ _covMatrix = v; }

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