#include <EvtGammaMatrix.hh>
Definition at line 43 of file EvtGammaMatrix.hh.
◆ EvtGammaMatrix() [1/2]
EvtGammaMatrix::EvtGammaMatrix |
( |
| ) |
|
Definition at line 34 of file EvtGammaMatrix.cc.
34 {
35 int i,j;
36
37 for(i=0;i<4;i++){
38 for(j=0;j<4;j++){
40 }
41 }
42}
◆ ~EvtGammaMatrix()
EvtGammaMatrix::~EvtGammaMatrix |
( |
| ) |
|
|
virtual |
◆ EvtGammaMatrix() [2/2]
Definition at line 80 of file EvtGammaMatrix.cc.
80 {
81 int i,j;
82
83 for(i=0;i<4;i++){
84 for(j=0;j<4;j++){
85 gamma[i][j]=gm.gamma[i][j];
86 }
87 }
88}
◆ g0()
◆ g1()
◆ g2()
◆ g3()
◆ g5()
◆ id()
◆ init()
void EvtGammaMatrix::init |
( |
| ) |
|
Definition at line 103 of file EvtGammaMatrix.cc.
103 {
104 int i,j;
105
106 for(i=0;i<4;i++){
107 for(j=0;j<4;j++){
109 }
110 }
111}
Referenced by sigmaUpper().
◆ operator*=()
Definition at line 549 of file EvtGammaMatrix.cc.
549 {
550
551 int i,j,k;
553
554 for(i=0;i<4;i++){
555 for(j=0;j<4;j++){
557 for(k=0;k<4;k++){
558 temp.gamma[i][j]+=gamma[i][k]*g.gamma[k][j];
559 }
560 }
561 }
562
563 for(i=0;i<4;i++){
564 for(j=0;j<4;j++){
565 gamma[i][j]=temp.gamma[i][j];
566 }
567 }
568
569 return *this;
570}
◆ operator+=()
Definition at line 519 of file EvtGammaMatrix.cc.
519 {
520
521 int i,j;
522
523 for(i=0;i<4;i++){
524 for(j=0;j<4;j++){
525 gamma[i][j]+=g.gamma[i][j];
526 }
527 }
528 return *this;
529}
◆ operator-=()
Definition at line 535 of file EvtGammaMatrix.cc.
535 {
536
537 int i,j;
538
539 for(i=0;i<4;i++){
540 for(j=0;j<4;j++){
541 gamma[i][j]-=g.gamma[i][j];
542 }
543 }
544 return *this;
545}
◆ operator=()
Definition at line 92 of file EvtGammaMatrix.cc.
92 {
93 int i,j;
94
95 for(i=0;i<4;i++){
96 for(j=0;j<4;j++){
97 gamma[i][j]=gm.gamma[i][j];
98 }
99 }
100 return *this;
101}
◆ sigmaLower()
const EvtGammaMatrix & EvtGammaMatrix::sigmaLower |
( |
unsigned int |
mu, |
|
|
unsigned int |
nu |
|
) |
| |
|
static |
Definition at line 646 of file EvtGammaMatrix.cc.
647{
651 static bool hasBeenCalled = false;
653
654 if (!hasBeenCalled)
655 {
656
657 for (int i=0; i<4; ++i)
658 {
660 for (int j=0; j<4; ++j)
661 {
664 }
665 }
666 }
667 return sigma[mu][nu];
668}
static const EvtGammaMatrix & g0()
static const EvtGammaMatrix & g2()
static const EvtGammaMatrix & g1()
static const EvtGammaMatrix & g3()
const EvtComplex & get(int i, int j) const
static const EvtTensor4C & g()
Referenced by EvtLambdaP_BarGamma::decay().
◆ sigmaUpper()
const EvtGammaMatrix & EvtGammaMatrix::sigmaUpper |
( |
unsigned int |
mu, |
|
|
unsigned int |
nu |
|
) |
| |
|
static |
Definition at line 604 of file EvtGammaMatrix.cc.
605{
609 static bool hasBeenCalled = false;
610 if (!hasBeenCalled)
611 {
613 for (int i=0; i<4; ++i)
615
623 sigma[1][0] = -1*s01;
625 sigma[2][0] = -1*s02;
627 sigma[3][0] = -1*s03;
629 sigma[2][1] = -1*s12;
631 sigma[3][1] = -1*s13;
633 sigma[3][2] = -1*s23;
634 }
635 hasBeenCalled = true;
636
637 if (mu > 3 || nu > 3)
638 {
639 report(
ERROR,
"EvtSigmaTensor") <<
"Expected index between 0 and 3, but found " << nu <<
"!" << endl;
640 assert(0);
641 }
642 return sigma[mu][nu];
643
644}
ostream & report(Severity severity, const char *facility)
◆ v0()
Definition at line 377 of file EvtGammaMatrix.cc.
377 {
378
381
382 if (first){
383
384 int i,j;
385
386 for(i=0;i<4;i++){
387 for(j=0;j<4;j++){
389 }
390 }
391
396 }
397
398 return g;
399
400}
◆ v1()
Definition at line 406 of file EvtGammaMatrix.cc.
406 {
407
410
411 if (first){
412
413 int i,j;
414
415 for(i=0;i<4;i++){
416 for(j=0;j<4;j++){
418 }
419 }
420
425 }
426
427 return g;
428
429}
◆ v2()
Definition at line 434 of file EvtGammaMatrix.cc.
434 {
435
438
439 if (first){
440
441 int i,j;
442
443 for(i=0;i<4;i++){
444 for(j=0;j<4;j++){
446 }
447 }
448
453 }
454
455 return g;
456
457}
◆ v3()
Definition at line 462 of file EvtGammaMatrix.cc.
462 {
463
466
467 if (first){
468
469 int i,j;
470
471 for(i=0;i<4;i++){
472 for(j=0;j<4;j++){
474 }
475 }
476
481 }
482
483 return g;
484
485}
◆ va0()
Definition at line 113 of file EvtGammaMatrix.cc.
113 {
114
117
118 if (first){
135 }
136
137 return g;
138
139}
◆ va1()
Definition at line 142 of file EvtGammaMatrix.cc.
142 {
143
146
147 if (first){
164 }
165
166 return g;
167
168}
◆ va2()
Definition at line 172 of file EvtGammaMatrix.cc.
172 {
173
176
177 if (first){
194 }
195
196 return g;
197
198}
◆ va3()
Definition at line 203 of file EvtGammaMatrix.cc.
203 {
204
207
208 if (first){
225 }
226
227 return g;
228
229}
◆ EvtDiracSpinor::adjoint
◆ operator* [1/5]
Definition at line 50 of file EvtGammaMatrix.cc.
50 {
51 int i,j;
52
54
55 for(i=0;i<4;i++){
56 for(j=0;j<4;j++){
57 temp.gamma[i][j]=g.gamma[i][j]*c;
58 }
59 }
60
61 return temp;
62
63}
◆ operator* [2/5]
Definition at line 589 of file EvtGammaMatrix.cc.
589 {
590
591 int i;
593
595
596 for(i=0;i<4;i++){
598 }
599 return temp;
600}
Evt3Rank3C conj(const Evt3Rank3C &t2)
const EvtComplex & get_spinor(int i) const
◆ operator* [3/5]
◆ operator* [4/5]
Definition at line 573 of file EvtGammaMatrix.cc.
573 {
574
575 int i,j;
577
578 for(i=0;i<4;i++){
580 for(j=0;j<4;j++){
582 }
583 }
584
585 return temp;
586}
void set_spinor(int i, const EvtComplex &sp)
◆ operator* [5/5]
◆ operator+
◆ operator-
◆ operator/
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
s, |
|
|
const EvtGammaMatrix & |
v |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: