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

Go to the source code of this file.

Functions

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

Function Documentation

◆ boostTo() [1/2]

EvtVector4R boostTo ( const EvtVector4R rs,
const EvtVector3R boost 
)

Definition at line 70 of file EvtVector4R.cc.

71 {
72
73 EvtVector4R tmp(rs);
74 tmp.applyBoostTo(boost);
75 return tmp;
76
77}

◆ boostTo() [2/2]

EvtVector4R boostTo ( const EvtVector4R rs,
const EvtVector4R p4 
)

Definition at line 61 of file EvtVector4R.cc.

62 {
63
64 EvtVector4R tmp(rs);
65 tmp.applyBoostTo(p4);
66 return tmp;
67
68}

◆ operator<<()

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

Definition at line 100 of file EvtVector4R.cc.

100 {
101
102 s<<"("<<v.v[0]<<","<<v.v[1]<<","<<v.v[2]<<","<<v.v[3]<<")";
103
104 return s;
105
106}
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()

EvtVector4R rotateEuler ( const EvtVector4R rs,
double  alpha,
double  beta,
double  gamma 
)

Definition at line 52 of file EvtVector4R.cc.

53 {
54
55 EvtVector4R tmp(rs);
56 tmp.applyRotateEuler(alpha,beta,gamma);
57 return tmp;
58
59}
const double alpha