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

#include <BesError.h>

Inheritance diagram for BesError:

Public Member Functions

 BesError ()
 BesError (int n)
 BesError (const HepSymMatrix &p)
 BesError (const BesError &v)
BesErroroperator= (const BesError &v)
BesErroroperator= (const HepSymMatrix &v)
double determineChisq (const HepVector &diff) const
BesErroroperator*= (double t)
BesErroroperator/= (double t)
BesErroroperator+= (const BesError &m2)
BesErroroperator-= (const BesError &m2)
BesError operator- ()
BesErroroperator+= (const HepSymMatrix &m2)
BesErroroperator-= (const HepSymMatrix &m2)
BesError operator- () const
BesErroroperator+= (const HepDiagMatrix &m2)
BesErroroperator-= (const HepDiagMatrix &m2)
BesError similarity (const HepRotation &rot) const
BesError similarity (const HepLorentzRotation &rot) const
BesError similarity (const BesError &E)
BesError similarity (const HepMatrix &m1) const
BesErrorsimilarityWith (const BesError &m, const HepMatrix &m1)
double similarity (const HepVector &v) const
HepSymMatrix similarity (const HepSymMatrix &m1) const
 BesError ()
 BesError (int n)
 BesError (const HepSymMatrix &p)
 BesError (const BesError &v)
BesErroroperator= (const BesError &v)
BesErroroperator= (const HepSymMatrix &v)
double determineChisq (const HepVector &diff) const
BesErroroperator*= (double t)
BesErroroperator/= (double t)
BesErroroperator+= (const BesError &m2)
BesErroroperator-= (const BesError &m2)
BesError operator- ()
BesErroroperator+= (const HepSymMatrix &m2)
BesErroroperator-= (const HepSymMatrix &m2)
BesError operator- () const
BesErroroperator+= (const HepDiagMatrix &m2)
BesErroroperator-= (const HepDiagMatrix &m2)
BesError similarity (const HepRotation &rot) const
BesError similarity (const HepLorentzRotation &rot) const
BesError similarity (const BesError &E)
BesError similarity (const HepMatrix &m1) const
BesErrorsimilarityWith (const BesError &m, const HepMatrix &m1)
double similarity (const HepVector &v) const
HepSymMatrix similarity (const HepSymMatrix &m1) const
 BesError ()
 BesError (int n)
 BesError (const HepSymMatrix &p)
 BesError (const BesError &v)
BesErroroperator= (const BesError &v)
BesErroroperator= (const HepSymMatrix &v)
double determineChisq (const HepVector &diff) const
BesErroroperator*= (double t)
BesErroroperator/= (double t)
BesErroroperator+= (const BesError &m2)
BesErroroperator-= (const BesError &m2)
BesError operator- ()
BesErroroperator+= (const HepSymMatrix &m2)
BesErroroperator-= (const HepSymMatrix &m2)
BesError operator- () const
BesErroroperator+= (const HepDiagMatrix &m2)
BesErroroperator-= (const HepDiagMatrix &m2)
BesError similarity (const HepRotation &rot) const
BesError similarity (const HepLorentzRotation &rot) const
BesError similarity (const BesError &E)
BesError similarity (const HepMatrix &m1) const
BesErrorsimilarityWith (const BesError &m, const HepMatrix &m1)
double similarity (const HepVector &v) const
HepSymMatrix similarity (const HepSymMatrix &m1) const

Static Public Attributes

static const double chisqUndef = -1.

Friends

BesError operator* (double t, const BesError &m1)
BesError operator* (const BesError &m1, double t)
BesError operator/ (double t, const BesError &m1)
BesError operator/ (const BesError &m1, double t)
BesError operator+ (const BesError &m1, const BesError &m2)
BesError operator- (const BesError &m1, const BesError &m2)
std::ostream & operator<< (std::ostream &out, const BesError &mat)
std::istream & operator>> (std::istream &in, BesError &mat)
BesError operator* (double t, const BesError &m1)
BesError operator* (const BesError &m1, double t)
BesError operator/ (double t, const BesError &m1)
BesError operator/ (const BesError &m1, double t)
BesError operator+ (const BesError &m1, const BesError &m2)
BesError operator- (const BesError &m1, const BesError &m2)
std::ostream & operator<< (std::ostream &out, const BesError &mat)
std::istream & operator>> (std::istream &in, BesError &mat)
BesError operator* (double t, const BesError &m1)
BesError operator* (const BesError &m1, double t)
BesError operator/ (double t, const BesError &m1)
BesError operator/ (const BesError &m1, double t)
BesError operator+ (const BesError &m1, const BesError &m2)
BesError operator- (const BesError &m1, const BesError &m2)
std::ostream & operator<< (std::ostream &out, const BesError &mat)
std::istream & operator>> (std::istream &in, BesError &mat)

Detailed Description

Constructor & Destructor Documentation

◆ BesError() [1/12]

◆ BesError() [2/12]

BesError::BesError ( int n)
inline

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

51: HepSymMatrix( n, 0 ) {}
const Int_t n

◆ BesError() [3/12]

BesError::BesError ( const HepSymMatrix & p)
inline

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

56: HepSymMatrix( p ) {}

◆ BesError() [4/12]

BesError::BesError ( const BesError & v)
inline

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

59: HepSymMatrix() { *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

◆ BesError() [5/12]

BesError::BesError ( )
inline

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

49: HepSymMatrix() {}

◆ BesError() [6/12]

BesError::BesError ( int n)
inline

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

51: HepSymMatrix( n, 0 ) {}

◆ BesError() [7/12]

BesError::BesError ( const HepSymMatrix & p)
inline

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

56: HepSymMatrix( p ) {}

◆ BesError() [8/12]

BesError::BesError ( const BesError & v)
inline

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

59: HepSymMatrix() { *this = v; }

◆ BesError() [9/12]

BesError::BesError ( )
inline

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

49: HepSymMatrix() {}

◆ BesError() [10/12]

BesError::BesError ( int n)
inline

Definition at line 51 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

51: HepSymMatrix( n, 0 ) {}

◆ BesError() [11/12]

BesError::BesError ( const HepSymMatrix & p)
inline

Definition at line 56 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

56: HepSymMatrix( p ) {}

◆ BesError() [12/12]

BesError::BesError ( const BesError & v)
inline

Definition at line 59 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

59: HepSymMatrix() { *this = v; }

Member Function Documentation

◆ determineChisq() [1/3]

double BesError::determineChisq ( const HepVector & diff) const

Definition at line 116 of file BesError.cxx.

116 {
117 int ierr;
118 HepMatrix dMat( diff.num_row(), 1 );
119
120 for ( int i = 0; i < diff.num_row(); i++ ) dMat[i][0] = diff[i];
121
122 double chisq = ( inverse( ierr ).similarityT( dMat ) )[0][0];
123
124 if ( ierr == 0 ) return chisq;
125 else return chisqUndef;
126}

◆ determineChisq() [2/3]

double BesError::determineChisq ( const HepVector & diff) const

◆ determineChisq() [3/3]

double BesError::determineChisq ( const HepVector & diff) const

◆ operator*=() [1/3]

BesError & BesError::operator*= ( double t)
inline

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

89{ return (BesError&)HepSymMatrix::operator*=( t ); }
int t()
Definition t.c:1

◆ operator*=() [2/3]

BesError & BesError::operator*= ( double t)
inline

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

89{ return (BesError&)HepSymMatrix::operator*=( t ); }

◆ operator*=() [3/3]

BesError & BesError::operator*= ( double t)
inline

Definition at line 89 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

89{ return (BesError&)HepSymMatrix::operator*=( t ); }

◆ operator+=() [1/9]

BesError & BesError::operator+= ( const BesError & m2)
inline

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

93 {
94 HepSymMatrix::operator+=( m2 );
95 return *this;
96 }
double double * m2
Definition qcdloop1.h:83

◆ operator+=() [2/9]

BesError & BesError::operator+= ( const BesError & m2)
inline

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

93 {
94 HepSymMatrix::operator+=( m2 );
95 return *this;
96 }

◆ operator+=() [3/9]

BesError & BesError::operator+= ( const BesError & m2)
inline

Definition at line 93 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

93 {
94 HepSymMatrix::operator+=( m2 );
95 return *this;
96 }

◆ operator+=() [4/9]

BesError & BesError::operator+= ( const HepDiagMatrix & m2)
inline

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

126 {
127 HepSymMatrix::operator+=( m2 );
128 return *this;
129 }

◆ operator+=() [5/9]

BesError & BesError::operator+= ( const HepDiagMatrix & m2)
inline

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

126 {
127 HepSymMatrix::operator+=( m2 );
128 return *this;
129 }

◆ operator+=() [6/9]

BesError & BesError::operator+= ( const HepDiagMatrix & m2)
inline

Definition at line 126 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

126 {
127 HepSymMatrix::operator+=( m2 );
128 return *this;
129 }

◆ operator+=() [7/9]

BesError & BesError::operator+= ( const HepSymMatrix & m2)
inline

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

111 {
112 HepSymMatrix::operator+=( m2 );
113 return *this;
114 }

◆ operator+=() [8/9]

BesError & BesError::operator+= ( const HepSymMatrix & m2)
inline

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

111 {
112 HepSymMatrix::operator+=( m2 );
113 return *this;
114 }

◆ operator+=() [9/9]

BesError & BesError::operator+= ( const HepSymMatrix & m2)
inline

Definition at line 111 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

111 {
112 HepSymMatrix::operator+=( m2 );
113 return *this;
114 }

◆ operator-() [1/6]

BesError BesError::operator- ( )
inline

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

103 {
104 BesError temp( *this );
105 return temp;
106 }

◆ operator-() [2/6]

BesError BesError::operator- ( )
inline

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

103 {
104 BesError temp( *this );
105 return temp;
106 }

◆ operator-() [3/6]

BesError BesError::operator- ( )
inline

Definition at line 103 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

103 {
104 BesError temp( *this );
105 return temp;
106 }

◆ operator-() [4/6]

BesError BesError::operator- ( ) const
inline

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

121 {
122 BesError temp( *this );
123 return temp;
124 }

◆ operator-() [5/6]

BesError BesError::operator- ( ) const
inline

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

121 {
122 BesError temp( *this );
123 return temp;
124 }

◆ operator-() [6/6]

BesError BesError::operator- ( ) const
inline

Definition at line 121 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

121 {
122 BesError temp( *this );
123 return temp;
124 }

◆ operator-=() [1/9]

BesError & BesError::operator-= ( const BesError & m2)
inline

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

98 {
99 HepSymMatrix::operator-=( m2 );
100 return *this;
101 }

◆ operator-=() [2/9]

BesError & BesError::operator-= ( const BesError & m2)
inline

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

98 {
99 HepSymMatrix::operator-=( m2 );
100 return *this;
101 }

◆ operator-=() [3/9]

BesError & BesError::operator-= ( const BesError & m2)
inline

Definition at line 98 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

98 {
99 HepSymMatrix::operator-=( m2 );
100 return *this;
101 }

◆ operator-=() [4/9]

BesError & BesError::operator-= ( const HepDiagMatrix & m2)
inline

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

131 {
132 HepSymMatrix::operator-=( m2 );
133 return *this;
134 }

◆ operator-=() [5/9]

BesError & BesError::operator-= ( const HepDiagMatrix & m2)
inline

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

131 {
132 HepSymMatrix::operator-=( m2 );
133 return *this;
134 }

◆ operator-=() [6/9]

BesError & BesError::operator-= ( const HepDiagMatrix & m2)
inline

Definition at line 131 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

131 {
132 HepSymMatrix::operator-=( m2 );
133 return *this;
134 }

◆ operator-=() [7/9]

BesError & BesError::operator-= ( const HepSymMatrix & m2)
inline

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

116 {
117 HepSymMatrix::operator-=( m2 );
118 return *this;
119 }

◆ operator-=() [8/9]

BesError & BesError::operator-= ( const HepSymMatrix & m2)
inline

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

116 {
117 HepSymMatrix::operator-=( m2 );
118 return *this;
119 }

◆ operator-=() [9/9]

BesError & BesError::operator-= ( const HepSymMatrix & m2)
inline

Definition at line 116 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

116 {
117 HepSymMatrix::operator-=( m2 );
118 return *this;
119 }

◆ operator/=() [1/3]

BesError & BesError::operator/= ( double t)
inline

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

91{ return (BesError&)HepSymMatrix::operator/=( t ); }

◆ operator/=() [2/3]

BesError & BesError::operator/= ( double t)
inline

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

91{ return (BesError&)HepSymMatrix::operator/=( t ); }

◆ operator/=() [3/3]

BesError & BesError::operator/= ( double t)
inline

Definition at line 91 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

91{ return (BesError&)HepSymMatrix::operator/=( t ); }

◆ operator=() [1/6]

BesError & BesError::operator= ( const BesError & v)
inline

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

61 {
62 if ( this != &v ) { HepSymMatrix::operator=( v ); }
63 return *this;
64 }

◆ operator=() [2/6]

BesError & BesError::operator= ( const BesError & v)
inline

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

61 {
62 if ( this != &v ) { HepSymMatrix::operator=( v ); }
63 return *this;
64 }

◆ operator=() [3/6]

BesError & BesError::operator= ( const BesError & v)
inline

Definition at line 61 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

61 {
62 if ( this != &v ) { HepSymMatrix::operator=( v ); }
63 return *this;
64 }

◆ operator=() [4/6]

BesError & BesError::operator= ( const HepSymMatrix & v)
inline

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

66 {
67 if ( this != &v ) { HepSymMatrix::operator=( v ); }
68 return *this;
69 }

◆ operator=() [5/6]

BesError & BesError::operator= ( const HepSymMatrix & v)
inline

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

66 {
67 if ( this != &v ) { HepSymMatrix::operator=( v ); }
68 return *this;
69 }

◆ operator=() [6/6]

BesError & BesError::operator= ( const HepSymMatrix & v)
inline

Definition at line 66 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

66 {
67 if ( this != &v ) { HepSymMatrix::operator=( v ); }
68 return *this;
69 }

◆ similarity() [1/18]

BesError BesError::similarity ( const BesError & E)

Definition at line 88 of file BesError.cxx.

88 {
89 BesError mret( HepSymMatrix::similarity( E ) );
90 return mret;
91}

◆ similarity() [2/18]

BesError BesError::similarity ( const BesError & E)

◆ similarity() [3/18]

BesError BesError::similarity ( const BesError & E)

◆ similarity() [4/18]

BesError BesError::similarity ( const HepLorentzRotation & rot) const

Definition at line 65 of file BesError.cxx.

65 {
66 HepMatrix mat( 4, 4 );
67 mat( 1, 1 ) = rot.xx();
68 mat( 1, 2 ) = rot.xy();
69 mat( 1, 3 ) = rot.xz();
70 mat( 1, 4 ) = rot.xt();
71 mat( 2, 1 ) = rot.yx();
72 mat( 2, 2 ) = rot.yy();
73 mat( 2, 3 ) = rot.yz();
74 mat( 2, 4 ) = rot.yt();
75 mat( 3, 1 ) = rot.zx();
76 mat( 3, 2 ) = rot.zy();
77 mat( 3, 3 ) = rot.zz();
78 mat( 3, 4 ) = rot.zt();
79 mat( 4, 1 ) = rot.tx();
80 mat( 4, 2 ) = rot.ty();
81 mat( 4, 3 ) = rot.tz();
82 mat( 4, 4 ) = rot.tt();
83
84 HepSymMatrix w = similarity( mat );
85 return w;
86}
double w
BesError similarity(const HepRotation &rot) const
Definition BesError.cxx:49

◆ similarity() [5/18]

BesError BesError::similarity ( const HepLorentzRotation & rot) const

◆ similarity() [6/18]

BesError BesError::similarity ( const HepLorentzRotation & rot) const

◆ similarity() [7/18]

BesError BesError::similarity ( const HepMatrix & m1) const
inline

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

143 {
144 BesError mret( m1.num_row() );
145 mret.similarityWith( *this, m1 );
146 return mret;
147 }
double * m1
Definition qcdloop1.h:83

◆ similarity() [8/18]

BesError BesError::similarity ( const HepMatrix & m1) const
inline

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

143 {
144 BesError mret( m1.num_row() );
145 mret.similarityWith( *this, m1 );
146 return mret;
147 }

◆ similarity() [9/18]

BesError BesError::similarity ( const HepMatrix & m1) const
inline

Definition at line 143 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

143 {
144 BesError mret( m1.num_row() );
145 mret.similarityWith( *this, m1 );
146 return mret;
147 }

◆ similarity() [10/18]

BesError BesError::similarity ( const HepRotation & rot) const

Definition at line 49 of file BesError.cxx.

49 {
50 HepMatrix mat( 3, 3 );
51 mat( 1, 1 ) = rot.xx();
52 mat( 1, 2 ) = rot.xy();
53 mat( 1, 3 ) = rot.xz();
54 mat( 2, 1 ) = rot.yx();
55 mat( 2, 2 ) = rot.yy();
56 mat( 2, 3 ) = rot.yz();
57 mat( 3, 1 ) = rot.zx();
58 mat( 3, 2 ) = rot.zy();
59 mat( 3, 3 ) = rot.zz();
60
61 HepSymMatrix w = similarity( mat );
62 return w;
63}

Referenced by BesPointErr::covRTPMatrix(), BesVectorErr::covRTPMatrix(), BesPointErr::covRZPMatrix(), BesVectorErr::covRZPMatrix(), similarity(), and similarity().

◆ similarity() [11/18]

BesError BesError::similarity ( const HepRotation & rot) const

◆ similarity() [12/18]

BesError BesError::similarity ( const HepRotation & rot) const

◆ similarity() [13/18]

HepSymMatrix BesError::similarity ( const HepSymMatrix & m1) const
inline

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

154 {
155 return this->HepSymMatrix::similarity( m1 );
156 }

◆ similarity() [14/18]

HepSymMatrix BesError::similarity ( const HepSymMatrix & m1) const
inline

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

154 {
155 return this->HepSymMatrix::similarity( m1 );
156 }

◆ similarity() [15/18]

HepSymMatrix BesError::similarity ( const HepSymMatrix & m1) const
inline

Definition at line 154 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

154 {
155 return this->HepSymMatrix::similarity( m1 );
156 }

◆ similarity() [16/18]

double BesError::similarity ( const HepVector & v) const
inline

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

153{ return this->HepSymMatrix::similarity( v ); }

◆ similarity() [17/18]

double BesError::similarity ( const HepVector & v) const
inline

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

153{ return this->HepSymMatrix::similarity( v ); }

◆ similarity() [18/18]

double BesError::similarity ( const HepVector & v) const
inline

Definition at line 153 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/BesError.h.

153{ return this->HepSymMatrix::similarity( v ); }

◆ similarityWith() [1/3]

BesError & BesError::similarityWith ( const BesError & m,
const HepMatrix & m1 )

Definition at line 93 of file BesError.cxx.

93 {
94 assert( num_row() == m1.num_row() );
95 HepMatrix temp = m1 * mat;
96 register double tmp;
97
98 for ( int r = 0; r < num_row(); r++ )
99 {
100 for ( int c = 0; c <= r; c++ )
101 {
102 tmp = 0.;
103 for ( int k = 0; k < m1.num_col(); k++ ) { tmp += temp[r][k] * m1[c][k]; }
104 ( *this )[r][c] = tmp;
105 }
106 }
107 return *this;
108}

Referenced by similarity().

◆ similarityWith() [2/3]

BesError & BesError::similarityWith ( const BesError & m,
const HepMatrix & m1 )

◆ similarityWith() [3/3]

BesError & BesError::similarityWith ( const BesError & m,
const HepMatrix & m1 )

◆ operator* [1/6]

BesError operator* ( const BesError & m1,
double t )
friend

Definition at line 164 of file BesError.cxx.

164 {
165 BesError mret = m1;
166 mret *= t;
167 return mret;
168}

◆ operator* [2/6]

BesError operator* ( const BesError & m1,
double t )
friend

Definition at line 164 of file BesError.cxx.

164 {
165 BesError mret = m1;
166 mret *= t;
167 return mret;
168}

◆ operator* [3/6]

BesError operator* ( const BesError & m1,
double t )
friend

Definition at line 164 of file BesError.cxx.

164 {
165 BesError mret = m1;
166 mret *= t;
167 return mret;
168}

◆ operator* [4/6]

BesError operator* ( double t,
const BesError & m1 )
friend

Definition at line 158 of file BesError.cxx.

158 {
159 BesError mret = m1;
160 mret *= t;
161 return mret;
162}

◆ operator* [5/6]

BesError operator* ( double t,
const BesError & m1 )
friend

Definition at line 158 of file BesError.cxx.

158 {
159 BesError mret = m1;
160 mret *= t;
161 return mret;
162}

◆ operator* [6/6]

BesError operator* ( double t,
const BesError & m1 )
friend

Definition at line 158 of file BesError.cxx.

158 {
159 BesError mret = m1;
160 mret *= t;
161 return mret;
162}

◆ operator+ [1/3]

BesError operator+ ( const BesError & m1,
const BesError & m2 )
friend

Definition at line 182 of file BesError.cxx.

182 {
183 BesError mret = m1;
184 mret += m2;
185 return mret;
186}

◆ operator+ [2/3]

BesError operator+ ( const BesError & m1,
const BesError & m2 )
friend

Definition at line 182 of file BesError.cxx.

182 {
183 BesError mret = m1;
184 mret += m2;
185 return mret;
186}

◆ operator+ [3/3]

BesError operator+ ( const BesError & m1,
const BesError & m2 )
friend

Definition at line 182 of file BesError.cxx.

182 {
183 BesError mret = m1;
184 mret += m2;
185 return mret;
186}

◆ operator- [1/3]

BesError operator- ( const BesError & m1,
const BesError & m2 )
friend

Definition at line 188 of file BesError.cxx.

188 {
189 BesError mret = m1;
190 mret -= m2;
191 return mret;
192}

◆ operator- [2/3]

BesError operator- ( const BesError & m1,
const BesError & m2 )
friend

Definition at line 188 of file BesError.cxx.

188 {
189 BesError mret = m1;
190 mret -= m2;
191 return mret;
192}

◆ operator- [3/3]

BesError operator- ( const BesError & m1,
const BesError & m2 )
friend

Definition at line 188 of file BesError.cxx.

188 {
189 BesError mret = m1;
190 mret -= m2;
191 return mret;
192}

◆ operator/ [1/6]

BesError operator/ ( const BesError & m1,
double t )
friend

Definition at line 176 of file BesError.cxx.

176 {
177 BesError mret = m1;
178 mret /= t;
179 return mret;
180}

◆ operator/ [2/6]

BesError operator/ ( const BesError & m1,
double t )
friend

Definition at line 176 of file BesError.cxx.

176 {
177 BesError mret = m1;
178 mret /= t;
179 return mret;
180}

◆ operator/ [3/6]

BesError operator/ ( const BesError & m1,
double t )
friend

Definition at line 176 of file BesError.cxx.

176 {
177 BesError mret = m1;
178 mret /= t;
179 return mret;
180}

◆ operator/ [4/6]

BesError operator/ ( double t,
const BesError & m1 )
friend

Definition at line 170 of file BesError.cxx.

170 {
171 BesError mret = m1;
172 mret /= t;
173 return mret;
174}

◆ operator/ [5/6]

BesError operator/ ( double t,
const BesError & m1 )
friend

Definition at line 170 of file BesError.cxx.

170 {
171 BesError mret = m1;
172 mret /= t;
173 return mret;
174}

◆ operator/ [6/6]

BesError operator/ ( double t,
const BesError & m1 )
friend

Definition at line 170 of file BesError.cxx.

170 {
171 BesError mret = m1;
172 mret /= t;
173 return mret;
174}

◆ operator<< [1/3]

std::ostream & operator<< ( std::ostream & out,
const BesError & mat )
friend

◆ operator<< [2/3]

std::ostream & operator<< ( std::ostream & out,
const BesError & mat )
friend

◆ operator<< [3/3]

std::ostream & operator<< ( std::ostream & out,
const BesError & mat )
friend

◆ operator>> [1/3]

std::istream & operator>> ( std::istream & in,
BesError & mat )
friend

◆ operator>> [2/3]

std::istream & operator>> ( std::istream & in,
BesError & mat )
friend

◆ operator>> [3/3]

std::istream & operator>> ( std::istream & in,
BesError & mat )
friend

Member Data Documentation

◆ chisqUndef

const double BesError::chisqUndef = -1.
static

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