BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
BesVectorErr.h File Reference
#include <iosfwd>
#include "MdcRecoUtil/BesError.h"
#include "CLHEP/Vector/Rotation.h"

Go to the source code of this file.

Classes

class  BesVectorErr
 

Functions

BesVectorErr operator+ (const BesVectorErr &, const BesVectorErr &)
 
BesVectorErr operator- (const BesVectorErr &, const BesVectorErr &)
 
BesVectorErr operator* (const BesVectorErr &, double a)
 
BesVectorErr operator* (double a, const BesVectorErr &)
 
std::ostream & operator<< (std::ostream &stream, const BesVectorErr &verr)
 
std::istream & operator>> (std::istream &stream, BesVectorErr &verr)
 

Function Documentation

◆ operator*() [1/2]

BesVectorErr operator* ( const BesVectorErr p,
double  a 
)

Definition at line 105 of file BesVectorErr.cxx.

105 {
106 BesVectorErr ve(Hep3Vector(a*p.x(), a*p.y(), a*p.z()),
107 (p.covMatrix()*a*a));
108 return ve;
109}
const BesError & covMatrix() const
Definition: BesVectorErr.h:121

◆ operator*() [2/2]

BesVectorErr operator* ( double  a,
const BesVectorErr p 
)

Definition at line 111 of file BesVectorErr.cxx.

111 {
112 BesVectorErr ve(Hep3Vector(a*p.x(), a*p.y(), a*p.z()),
113 (p.covMatrix()*a*a));
114 return ve;
115}

◆ operator+()

BesVectorErr operator+ ( const BesVectorErr v,
const BesVectorErr w 
)

Definition at line 92 of file BesVectorErr.cxx.

92 {
93 BesVectorErr ve(Hep3Vector(v.x()+w.x(),v.y()+w.y(),v.z()+w.z()),
94 (v.covMatrix()+w.covMatrix()));
95 return ve;
96}
double w
**********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

◆ operator-()

BesVectorErr operator- ( const BesVectorErr v,
const BesVectorErr w 
)

Definition at line 98 of file BesVectorErr.cxx.

98 {
99 BesVectorErr ve(Hep3Vector(v.x()-w.x(),v.y()-w.y(),v.z()-w.z()),
100 (v.covMatrix()+w.covMatrix()));
101 return ve;
102}

◆ operator<<()

std::ostream & operator<< ( std::ostream &  stream,
const BesVectorErr verr 
)

◆ operator>>()

std::istream & operator>> ( std::istream &  stream,
BesVectorErr verr 
)