CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRaritaSchwinger.hh File Reference

Go to the source code of this file.

Classes

class  EvtRaritaSchwinger
 

Functions

EvtRaritaSchwinger rotateEuler (const EvtRaritaSchwinger &rs, double alpha, double beta, double gamma)
 
EvtRaritaSchwinger boostTo (const EvtRaritaSchwinger &rs, const EvtVector4R p4)
 
EvtRaritaSchwinger boostTo (const EvtRaritaSchwinger &rs, const EvtVector3R boost)
 
EvtRaritaSchwinger dirProd (EvtVector4R v, EvtDiracSpinor u)
 
EvtRaritaSchwinger dirProd (EvtVector4C v, EvtDiracSpinor u)
 
EvtRaritaSchwinger conj (const EvtRaritaSchwinger &u2)
 
EvtRaritaSchwinger operator+ (const EvtRaritaSchwinger &u1, const EvtRaritaSchwinger &u2)
 
EvtRaritaSchwinger operator- (const EvtRaritaSchwinger &u1, const EvtRaritaSchwinger &u2)
 
EvtComplex operator* (const EvtRaritaSchwinger &u1, const EvtRaritaSchwinger &u2)
 

Function Documentation

◆ boostTo() [1/2]

EvtRaritaSchwinger boostTo ( const EvtRaritaSchwinger rs,
const EvtVector3R  boost 
)

Definition at line 53 of file EvtRaritaSchwinger.cc.

50 {
51
52 EvtRaritaSchwinger tmp(rs);
53 tmp.applyBoostTo(boost);
54 return tmp;
55
56}

◆ boostTo() [2/2]

EvtRaritaSchwinger boostTo ( const EvtRaritaSchwinger rs,
const EvtVector4R  p4 
)

Definition at line 51 of file EvtRaritaSchwinger.cc.

41 {
42
43 EvtRaritaSchwinger tmp(rs);
44 tmp.applyBoostTo(p4);
45 return tmp;
46
47}

◆ conj()

EvtRaritaSchwinger conj ( const EvtRaritaSchwinger u2)

◆ dirProd() [1/2]

Definition at line 57 of file EvtRaritaSchwinger.cc.

207 {
208
209 int i,j;
210
212
213 for(i=0;i<4;i++){
214 for(j=0;j<4;j++){
215 tmp._rs[i][j]=u.get_spinor(i)*v.get(j);
216 }
217 }
218
219 return tmp;
220
221}
**********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
const EvtComplex & get_spinor(int i) const

◆ dirProd() [2/2]

Definition at line 56 of file EvtRaritaSchwinger.cc.

190 {
191
192 int i,j;
193
195
196 for(i=0;i<4;i++){
197 for(j=0;j<4;j++){
198 tmp._rs[i][j]=u.get_spinor(i)*v.get(j);
199 }
200 }
201
202 return tmp;
203
204}

Referenced by EvtRaritaSchwingerParticle::init(), and EvtRaritaSchwingerParticle::rotateToHelicityBasis().

◆ operator*()

EvtComplex operator* ( const EvtRaritaSchwinger u1,
const EvtRaritaSchwinger u2 
)

Definition at line 64 of file EvtRaritaSchwinger.cc.

225 {
226
227 int i,j;
228 EvtComplex tmp=0.0;
229
230 for(i=0;i<4;i++){
231 for(j=0;j<4;j++){
232 tmp+=conj(u1._rs[i][j])*u2._rs[i][j];
233 }
234 }
235
236 return tmp;
237
238}
Evt3Rank3C conj(const Evt3Rank3C &t2)
Definition: Evt3Rank3C.cc:175

◆ operator+()

EvtRaritaSchwinger operator+ ( const EvtRaritaSchwinger u1,
const EvtRaritaSchwinger u2 
)

Definition at line 59 of file EvtRaritaSchwinger.cc.

256 {
257
258 return EvtRaritaSchwinger(u1)+=u2;
259
260}

◆ operator-()

EvtRaritaSchwinger operator- ( const EvtRaritaSchwinger u1,
const EvtRaritaSchwinger u2 
)

Definition at line 61 of file EvtRaritaSchwinger.cc.

276 {
277
278 return EvtRaritaSchwinger(u1)-=u2;
279
280}

◆ rotateEuler()

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

Definition at line 49 of file EvtRaritaSchwinger.cc.

32 {
33
34 EvtRaritaSchwinger tmp(rs);
35 tmp.applyRotateEuler(alpha,beta,gamma);
36 return tmp;
37
38}
const double alpha