36 set( sp0, sp1, sp2, sp3 );
89 double e = p4.
get( 0 );
100 double bx, by, bz, gamma, b2, f1, f2;
106 b2 = bx * bx + by * by + bz * bz;
116 gamma = 1.0 / sqrt( 1.0 - b2 );
119 f1 = sqrt( ( gamma + 1.0 ) / 2.0 );
120 f2 = f1 * gamma / ( gamma + 1.0 );
126 spinorp[2] = f2 * bz *
m_spinor[0] +
143 double cb2 = cos( 0.5 * beta );
144 double sb2 = sin( 0.5 * beta );
145 double capg2 = cos( 0.5 * ( alpha + gamma ) );
146 double camg2 = cos( 0.5 * ( alpha - gamma ) );
147 double sapg2 = sin( 0.5 * ( alpha + gamma ) );
148 double samg2 = sin( 0.5 * ( alpha - gamma ) );
172 for (
int i = 0; i < 4; i++ )
233 temp.
set( 0, d * ( mat * dp ) );
236 temp.
set( 1, d * ( mat * dp ) );
239 temp.
set( 2, d * ( mat * dp ) );
242 temp.
set( 3, d * ( mat * dp ) );
266 temp = d * ( m * dp );
296 temp.
set( 0, 1, i2 * ( d * ( mat01 * dp ) ) );
297 temp.
set( 1, 0, -temp.
get( 0, 1 ) );
299 temp.
set( 0, 2, i2 * ( d * ( mat02 * dp ) ) );
300 temp.
set( 2, 0, -temp.
get( 0, 2 ) );
302 temp.
set( 0, 3, i2 * ( d * ( mat03 * dp ) ) );
303 temp.
set( 3, 0, -temp.
get( 0, 3 ) );
305 temp.
set( 1, 2, i2 * ( d * ( mat12 * dp ) ) );
306 temp.
set( 2, 1, -temp.
get( 1, 2 ) );
308 temp.
set( 1, 3, i2 * ( d * ( mat13 * dp ) ) );
309 temp.
set( 3, 1, -temp.
get( 1, 3 ) );
311 temp.
set( 2, 3, i2 * ( d * ( mat23 * dp ) ) );
312 temp.
set( 3, 2, -temp.
get( 2, 3 ) );
333 for (
int i = 0; i < 4; ++i )
334 for (
int j = 0; j < 4; ++j )
347 for ( i = 0; i < 4; i++ ) {
EvtComplex conj(const EvtComplex &c)
EvtDiracSpinor operator*(const EvtComplex &c, const EvtDiracSpinor &d)
EvtVector4C EvtLeptonVACurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtTensor4C EvtLeptonTCurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtVector4C EvtLeptonACurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtDiracSpinor rotateEuler(const EvtDiracSpinor &sp, double alpha, double beta, double gamma)
EvtComplex EvtLeptonSCurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtVector4C EvtLeptonVCurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
ostream & operator<<(ostream &s, const EvtDiracSpinor &sp)
EvtComplex EvtLeptonPCurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtDiracSpinor boostTo(const EvtDiracSpinor &sp, const EvtVector4R p4)
EvtDiracSpinor conj() const
const EvtComplex & get_spinor(int i) const
void set(const EvtComplex &sp0, const EvtComplex &sp1, const EvtComplex &sp2, const EvtComplex &sp3)
EvtDiracSpinor adjoint() const
void applyRotateEuler(double alpha, double beta, double gamma)
void applyBoostTo(const EvtVector4R &p4)
void set_spinor(int i, const EvtComplex &sp)
static const EvtGammaMatrix & va1()
static const EvtGammaMatrix & v0()
static const EvtGammaMatrix & g0()
static const EvtGammaMatrix & g2()
static const EvtGammaMatrix & g1()
static const EvtGammaMatrix & va3()
static const EvtGammaMatrix & g3()
static const EvtGammaMatrix & v2()
static const EvtGammaMatrix & va0()
static const EvtGammaMatrix & va2()
static const EvtGammaMatrix & g5()
static const EvtGammaMatrix & v1()
static const EvtGammaMatrix & v3()
void set(int i, int j, const EvtComplex &c)
const EvtComplex & get(int i, int j) const
void set(int, const EvtComplex &)