CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtVector3R.hh File Reference
#include <iosfwd>

Go to the source code of this file.

Classes

class  EvtVector3R
 

Functions

EvtVector3R operator* (double c, const EvtVector3R &v2)
 
EvtVector3R operator* (const EvtVector3R &v1, double c)
 
EvtVector3R operator/ (const EvtVector3R &v1, double c)
 
double operator* (const EvtVector3R &v1, const EvtVector3R &v2)
 
EvtVector3R operator+ (const EvtVector3R &v1, const EvtVector3R &v2)
 
EvtVector3R operator- (const EvtVector3R &v1, const EvtVector3R &v2)
 

Function Documentation

◆ operator*() [1/3]

double operator* ( const EvtVector3R & v1,
const EvtVector3R & v2 )
inline

Definition at line 110 of file EvtVector3R.hh.

110 {
111
112 return v1.v[0]*v2.v[0]+v1.v[1]*v2.v[1]+v1.v[2]*v2.v[2];
113}

◆ operator*() [2/3]

EvtVector3R operator* ( const EvtVector3R & v1,
double c )
inline

Definition at line 100 of file EvtVector3R.hh.

100 {
101
102 return EvtVector3R(v1)*=c;
103}

◆ operator*() [3/3]

EvtVector3R operator* ( double c,
const EvtVector3R & v2 )
inline

Definition at line 95 of file EvtVector3R.hh.

95 {
96
97 return EvtVector3R(v2)*=c;
98}

◆ operator+()

EvtVector3R operator+ ( const EvtVector3R & v1,
const EvtVector3R & v2 )
inline

Definition at line 115 of file EvtVector3R.hh.

115 {
116
117 return EvtVector3R(v1)+=v2;
118}

◆ operator-()

EvtVector3R operator- ( const EvtVector3R & v1,
const EvtVector3R & v2 )
inline

Definition at line 120 of file EvtVector3R.hh.

120 {
121
122 return EvtVector3R(v1)-=v2;
123
124}

◆ operator/()

EvtVector3R operator/ ( const EvtVector3R & v1,
double c )
inline

Definition at line 105 of file EvtVector3R.hh.

105 {
106
107 return EvtVector3R(v1)/=c;
108}