#include <EvtRaritaSchwinger.hh>
|
| 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) |
| std::ostream & | operator<< (std::ostream &s, const EvtRaritaSchwinger &rs) |
Definition at line 42 of file EvtRaritaSchwinger.hh.
◆ EvtRaritaSchwinger() [1/2]
| EvtRaritaSchwinger::EvtRaritaSchwinger |
( |
| ) |
|
|
inline |
Definition at line 90 of file EvtRaritaSchwinger.hh.
90 {
91
92 int i, j;
93 for ( i = 0; i < 4; i++ )
94 {
95 for ( j = 0; j < 4; j++ ) { _rs[i][j] = 0.0; }
96 }
97}
Referenced by boostTo, boostTo, conj(), conj, dirProd, dirProd, EvtRaritaSchwinger(), operator*, operator+, operator+=(), operator-, operator-=(), operator<<, operator=(), and rotateEuler.
◆ ~EvtRaritaSchwinger()
| EvtRaritaSchwinger::~EvtRaritaSchwinger |
( |
| ) |
|
|
virtual |
◆ EvtRaritaSchwinger() [2/2]
Definition at line 99 of file EvtRaritaSchwinger.hh.
99 {
100
101 int i, j;
102 for ( i = 0; i < 4; i++ )
103 {
104 for ( j = 0; j < 4; j++ ) { _rs[i][j] = rs._rs[i][j]; }
105 }
106}
◆ applyBoostTo() [1/2]
| void EvtRaritaSchwinger::applyBoostTo |
( |
const EvtVector3R | boost | ) |
|
Definition at line 94 of file EvtRaritaSchwinger.cc.
94 {
95
96
121}
void applyBoostTo(const EvtVector4R &p4)
EvtDiracSpinor getSpinor(int i) const
void setSpinor(int i, const EvtDiracSpinor &sp)
void setVector(int i, const EvtVector4C &v)
EvtVector4C getVector(int i) const
void applyBoostTo(const EvtVector4R &p4)
◆ applyBoostTo() [2/2]
| void EvtRaritaSchwinger::applyBoostTo |
( |
const EvtVector4R | p4 | ) |
|
◆ applyRotateEuler()
| void EvtRaritaSchwinger::applyRotateEuler |
( |
double | alpha, |
|
|
double | beta, |
|
|
double | gamma ) |
◆ conj()
◆ get()
| EvtComplex EvtRaritaSchwinger::get |
( |
int | i, |
|
|
int | j ) const |
◆ getSpinor()
Definition at line 141 of file EvtRaritaSchwinger.cc.
141 {
142
143 EvtDiracSpinor tmp;
144 tmp.
set( _rs[0][i], _rs[1][i], _rs[2][i], _rs[3][i] );
145 return tmp;
146}
void set(const EvtComplex &sp0, const EvtComplex &sp1, const EvtComplex &sp2, const EvtComplex &sp3)
Referenced by applyBoostTo().
◆ getVector()
| EvtVector4C EvtRaritaSchwinger::getVector |
( |
int | i | ) |
const |
◆ operator+=()
Definition at line 205 of file EvtRaritaSchwinger.cc.
205 {
206
207 int i, j;
208
209 for ( i = 0; i < 4; i++ )
210 {
211 for ( j = 0; j < 4; j++ ) { _rs[i][j] += u2._rs[i][j]; }
212 }
213
214 return *this;
215}
◆ operator-=()
Definition at line 222 of file EvtRaritaSchwinger.cc.
222 {
223
224 int i, j;
225
226 for ( i = 0; i < 4; i++ )
227 {
228 for ( j = 0; j < 4; j++ ) { _rs[i][j] += u2._rs[i][j]; }
229 }
230
231 return *this;
232}
◆ operator=()
Definition at line 108 of file EvtRaritaSchwinger.hh.
108 {
109
110 int i, j;
111 for ( i = 0; i < 4; i++ )
112 {
113 for ( j = 0; j < 4; j++ ) { _rs[i][j] = rs._rs[i][j]; }
114 }
115
116 return *this;
117}
◆ set()
| void EvtRaritaSchwinger::set |
( |
int | i, |
|
|
int | j, |
|
|
const EvtComplex & | sp ) |
◆ setSpinor()
| void EvtRaritaSchwinger::setSpinor |
( |
int | i, |
|
|
const EvtDiracSpinor & | sp ) |
◆ setVector()
| void EvtRaritaSchwinger::setVector |
( |
int | i, |
|
|
const EvtVector4C & | v ) |
Definition at line 148 of file EvtRaritaSchwinger.cc.
148 {
149
150 _rs[i][0] =
v.get( 0 );
151 _rs[i][1] =
v.get( 1 );
152 _rs[i][2] =
v.get( 2 );
153 _rs[i][3] =
v.get( 3 );
154}
**********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 applyBoostTo().
◆ boostTo [1/2]
◆ boostTo [2/2]
◆ conj
◆ dirProd [1/2]
Definition at line 178 of file EvtRaritaSchwinger.cc.
178 {
179
180 int i, j;
181
183
184 for ( i = 0; i < 4; i++ )
185 {
186 for ( j = 0; j < 4; j++ ) { tmp._rs[i][j] = u.
get_spinor( i ) *
v.get( j ); }
187 }
188
189 return tmp;
190}
◆ dirProd [2/2]
Definition at line 164 of file EvtRaritaSchwinger.cc.
164 {
165
166 int i, j;
167
169
170 for ( i = 0; i < 4; i++ )
171 {
172 for ( j = 0; j < 4; j++ ) { tmp._rs[i][j] = u.
get_spinor( i ) *
v.get( j ); }
173 }
174
175 return tmp;
176}
◆ operator*
Definition at line 192 of file EvtRaritaSchwinger.cc.
192 {
193
194 int i, j;
195 EvtComplex tmp = 0.0;
196
197 for ( i = 0; i < 4; i++ )
198 {
199 for ( j = 0; j < 4; j++ ) { tmp +=
conj( u1._rs[i][j] ) * u2._rs[i][j]; }
200 }
201
202 return tmp;
203}
EvtRaritaSchwinger conj() const
◆ operator+
◆ operator-
◆ operator<<
◆ rotateEuler
The documentation for this class was generated from the following files: