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

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 62 of file EvtVector4R.cc.

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

◆ boostTo() [2/2]

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

Definition at line 55 of file EvtVector4R.cc.

55 {
56
57 EvtVector4R tmp( rs );
58 tmp.applyBoostTo( p4 );
59 return tmp;
60}

◆ operator<<()

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

Definition at line 89 of file EvtVector4R.cc.

89 {
90
91 s << "(" << v.v[0] << "," << v.v[1] << "," << v.v[2] << "," << v.v[3] << ")";
92
93 return s;
94}
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()

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

Definition at line 48 of file EvtVector4R.cc.

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