BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtVector3R.cc File Reference
#include "EvtGenBase/EvtPatches.hh"
#include <iostream>
#include <math.h>
#include "EvtGenBase/EvtVector3R.hh"

Go to the source code of this file.

Functions

EvtVector3R rotateEuler (const EvtVector3R &v, double alpha, double beta, double gamma)
 
ostream & operator<< (ostream &s, const EvtVector3R &v)
 
EvtVector3R cross (const EvtVector3R &p1, const EvtVector3R &p2)
 

Function Documentation

◆ cross()

EvtVector3R cross ( const EvtVector3R p1,
const EvtVector3R p2 
)

◆ operator<<()

ostream & operator<< ( ostream &  s,
const EvtVector3R v 
)

Definition at line 75 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtVector3R.cc.

75 {
76
77 s<<"("<<v.v[0]<<","<<v.v[1]<<","<<v.v[2]<<")";
78
79 return s;
80
81}
XmlRpcServer s
Definition: HelloServer.cpp:11
**********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

◆ rotateEuler()

EvtVector3R rotateEuler ( const EvtVector3R v,
double  alpha,
double  beta,
double  gamma 
)

Definition at line 43 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtVector3R.cc.

44 {
45
46 EvtVector3R tmp(v);
47 tmp.applyRotateEuler(alpha,beta,gamma);
48 return tmp;
49
50}
const double alpha