|
EvtGen
2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
Go to the documentation of this file. 43 for ( i = 0; i < 4; i++ ) { 44 for ( j = 0; j < 4; j++ ) { 61 for ( i = 0; i < 4; i++ ) { 62 for ( j = 0; j < 4; j++ ) { 73 << "," << g. _gamma[0][3] << "]" << endl; 75 << "," << g. _gamma[1][3] << "]" << endl; 77 << "," << g. _gamma[2][3] << "]" << endl; 79 << "," << g. _gamma[3][3] << "]" << endl; 88 for ( i = 0; i < 4; i++ ) { 89 for ( j = 0; j < 4; j++ ) { 99 for ( i = 0; i < 4; i++ ) { 100 for ( j = 0; j < 4; j++ ) { 113 for ( i = 0; i < 4; i++ ) { 114 for ( j = 0; j < 4; j++ ) { 123 static int first = 1; 151 static int first = 1; 179 static int first = 1; 207 static int first = 1; 235 static int first = 1; 242 for ( i = 0; i < 4; i++ ) { 243 for ( j = 0; j < 4; j++ ) { 260 static int first = 1; 266 for ( i = 0; i < 4; i++ ) { 267 for ( j = 0; j < 4; j++ ) { 284 static int first = 1; 290 for ( i = 0; i < 4; i++ ) { 291 for ( j = 0; j < 4; j++ ) { 308 static int first = 1; 314 for ( i = 0; i < 4; i++ ) { 315 for ( j = 0; j < 4; j++ ) { 332 static int first = 1; 338 for ( i = 0; i < 4; i++ ) { 339 for ( j = 0; j < 4; j++ ) { 368 << "Invalid index for four vector: " << index << endl; 376 static int first = 1; 382 for ( i = 0; i < 4; i++ ) { 383 for ( j = 0; j < 4; j++ ) { 400 static int first = 1; 406 for ( i = 0; i < 4; i++ ) { 407 for ( j = 0; j < 4; j++ ) { 424 static int first = 1; 430 for ( i = 0; i < 4; i++ ) { 431 for ( j = 0; j < 4; j++ ) { 448 static int first = 1; 454 for ( i = 0; i < 4; i++ ) { 455 for ( j = 0; j < 4; j++ ) { 472 static int first = 1; 478 for ( i = 0; i < 4; i++ ) { 479 for ( j = 0; j < 4; j++ ) { 497 for ( i = 0; i < 4; i++ ) { 498 for ( j = 0; j < 4; j++ ) { 509 for ( i = 0; i < 4; i++ ) { 510 for ( j = 0; j < 4; j++ ) { 522 for ( i = 0; i < 4; i++ ) { 523 for ( j = 0; j < 4; j++ ) { 525 for ( k = 0; k < 4; k++ ) { 531 for ( i = 0; i < 4; i++ ) { 532 for ( j = 0; j < 4; j++ ) { 545 for ( i = 0; i < 4; i++ ) { 547 for ( j = 0; j < 4; j++ ) { 561 static bool hasBeenCalled = false; 562 if ( !hasBeenCalled ) { 564 for ( int i = 0; i < 4; ++i ) 574 sigma[1][0] = -1 * s01; 576 sigma[2][0] = -1 * s02; 578 sigma[3][0] = -1 * s03; 580 sigma[2][1] = -1 * s12; 582 sigma[3][1] = -1 * s13; 584 sigma[3][2] = -1 * s23; 586 hasBeenCalled = true; 588 if ( mu > 3 || nu > 3 ) { 590 << "Expected index between 0 and 3, but found " << nu << "!" << endl; 593 return sigma[mu][nu]; 602 static bool hasBeenCalled = false; 605 if ( !hasBeenCalled ) 608 for ( int i = 0; i < 4; ++i ) { 609 a = eta. get( i, 0 ) * g0() + eta. get( i, 1 ) * g1() + 610 eta. get( i, 2 ) * g2() + eta. get( i, 3 ) * g3(); 611 for ( int j = 0; j < 4; ++j ) { 612 b = eta. get( j, 0 ) * g0() + eta. get( j, 1 ) * g1() + 613 eta. get( j, 2 ) * g2() + eta. get( j, 3 ) * g3(); 614 sigma[i][j] = I / 2 * ( a * b - b * a ); 618 return sigma[mu][nu];
static const EvtGammaMatrix & va1()
EvtGammaMatrix & operator+=(const EvtGammaMatrix &g)
EvtGammaMatrix slash(const EvtVector4C &p)
EvtGammaMatrix & operator-=(const EvtGammaMatrix &g)
static const EvtTensor4C & g()
static const EvtGammaMatrix & v3()
static const EvtGammaMatrix & g0()
static const EvtGammaMatrix & va2()
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
static const EvtGammaMatrix & v2()
EvtGammaMatrix & operator *=(const EvtGammaMatrix &g)
static const EvtGammaMatrix & v0()
static const EvtGammaMatrix & sigmaLower(unsigned int mu, unsigned int nu)
void set_spinor(int i, const EvtComplex &sp)
static const EvtGammaMatrix & g(int)
static const EvtGammaMatrix & g1()
static const EvtGammaMatrix & g2()
static const EvtGammaMatrix & va3()
EvtGammaMatrix & operator=(const EvtGammaMatrix &gm)
static const EvtGammaMatrix & g3()
EvtGammaMatrix operator *(const EvtGammaMatrix &g, const EvtComplex &c)
static const EvtGammaMatrix & va0()
const EvtComplex & get(int) const
static const EvtGammaMatrix & id()
const EvtComplex & get_spinor(int i) const
static const EvtGammaMatrix & sigmaUpper(unsigned int mu, unsigned int nu)
static const EvtGammaMatrix & v1()
const EvtComplex & get(int i, int j) const
ostream & operator<<(ostream &s, const EvtGammaMatrix &g)
static const EvtGammaMatrix & g5()
|