BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtVector4C.cc File Reference
#include "EvtGenBase/EvtPatches.hh"
#include <iostream>
#include <math.h>
#include <assert.h>
#include "EvtGenBase/EvtComplex.hh"
#include "EvtGenBase/EvtVector4C.hh"

Go to the source code of this file.

Functions

EvtVector4C rotateEuler (const EvtVector4C &rs, double alpha, double beta, double gamma)
 
EvtVector4C boostTo (const EvtVector4C &rs, const EvtVector4R p4)
 
EvtVector4C boostTo (const EvtVector4C &rs, const EvtVector3R boost)
 
ostream & operator<< (ostream &s, const EvtVector4C &v)
 

Function Documentation

◆ boostTo() [1/2]

EvtVector4C boostTo ( const EvtVector4C & rs,
const EvtVector3R boost )

Definition at line 64 of file EvtVector4C.cc.

65 {
66
67 EvtVector4C tmp(rs);
68 tmp.applyBoostTo(boost);
69 return tmp;
70
71}

◆ boostTo() [2/2]

EvtVector4C boostTo ( const EvtVector4C & rs,
const EvtVector4R p4 )

Definition at line 55 of file EvtVector4C.cc.

56 {
57
58 EvtVector4C tmp(rs);
59 tmp.applyBoostTo(p4);
60 return tmp;
61
62}
double double double * p4
Definition qcdloop1.h:77

◆ operator<<()

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

Definition at line 156 of file EvtVector4C.cc.

156 {
157
158 s<<"("<<v.v[0]<<","<<v.v[1]<<","<<v.v[2]<<","<<v.v[3]<<")";
159
160 return s;
161
162}
XmlRpcServer s
**********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()

EvtVector4C rotateEuler ( const EvtVector4C & rs,
double alpha,
double beta,
double gamma )

Definition at line 46 of file EvtVector4C.cc.

47 {
48
49 EvtVector4C tmp(rs);
50 tmp.applyRotateEuler(alpha,beta,gamma);
51 return tmp;
52
53}
const double alpha