#include <DifRotation.h>
Definition at line 28 of file DifRotation.h.
◆ DifRotation() [1/4]
DifRotation::DifRotation |
( |
| ) |
|
Definition at line 25 of file DifRotation.cxx.
26 :_xnew(1.0,0.0,0.0),_ynew(0.0,1.0,0.0),_znew(0.0,0.0,1.0)
27{
28}
◆ DifRotation() [2/4]
Definition at line 30 of file DifRotation.cxx.
32{
33
34
38
39 _xnew.
x=cbeta*calpha*cgamma-salpha*sgamma;
40 _xnew.
y=cbeta*salpha*cgamma+calpha*sgamma;
41 _xnew.
z=-sbeta*cgamma;
42
43 _ynew.
x=-cbeta*calpha*sgamma-salpha*cgamma;
44 _ynew.
y=-cbeta*salpha*sgamma+calpha*cgamma;
46
50}
double sin(const BesAngle a)
double cos(const BesAngle a)
◆ DifRotation() [3/4]
Definition at line 52 of file DifRotation.cxx.
54 :_xnew(xp),_ynew(yp),_znew(zp)
55{}
◆ DifRotation() [4/4]
Definition at line 57 of file DifRotation.cxx.
59 :_xnew(xp),_ynew(yp),_znew()
60{
61 _znew=
cross(_xnew,_ynew);
62}
EvtVector3R cross(const EvtVector3R &p1, const EvtVector3R &p2)
◆ ~DifRotation()
DifRotation::~DifRotation |
( |
| ) |
|
|
inline |
◆ fail()
int DifRotation::fail |
( |
| ) |
const |
◆ rotate()
void DifRotation::rotate |
( |
DifVector & | v | ) |
const |
Definition at line 68 of file DifRotation.cxx.
68 {
72 v.
x=xcomp;
v.y=ycomp;
v.z=zcomp;
73}
**********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
Referenced by DifVector::rotate().
◆ xnew()
◆ ynew()
◆ znew()
The documentation for this class was generated from the following files: