126 double sqmt2=sqrt(2.0*(this->
getP4().
mass()));
132 spplus.
set(1.0,0.0,0.0,0.0);
133 spminus.
set(0.0,1.0,0.0,0.0);
135 spplus.
set(0.0,0.0,1.0,0.0);
136 spminus.
set(0.0,0.0,0.0,1.0);
145 dirProd(sqrt(1.0/3.0)*eplus,spminus);
147 dirProd(sqrt(1.0/3.0)*eminus,spplus);
156 for (
int i=0; i<4; i++) {
157 R.Set(0,i,(sppp*_spinorRest[i])/sqmt2);
158 R.Set(1,i,(spp*_spinorRest[i])/sqmt2);
159 R.Set(2,i,(spm*_spinorRest[i])/sqmt2);
160 R.Set(3,i,(spmm*_spinorRest[i])/sqmt2);
176 spplus.
set(1.0,0.0,0.0,0.0);
177 spminus.
set(0.0,1.0,0.0,0.0);
179 spplus.
set(0.0,0.0,1.0,0.0);
180 spminus.
set(0.0,0.0,0.0,1.0);
189 dirProd(sqrt(1.0/3.0)*eplus,spminus);
191 dirProd(sqrt(1.0/3.0)*eminus,spplus);
203 double sqmt2=sqrt(2.0*(this->
getP4().
mass()));
205 for (
int i=0; i<4; i++) {
206 R.Set(0,i,(sppp*_spinorRest[i])/sqmt2);
207 R.Set(1,i,(spp*_spinorRest[i])/sqmt2);
208 R.Set(2,i,(spm*_spinorRest[i])/sqmt2);
209 R.Set(3,i,(spmm*_spinorRest[i])/sqmt2);
const EvtVector4R & getP4() const
void setp(double e, double px, double py, double pz)
void setpart_num(EvtId particle_number)
EvtRaritaSchwinger spRS(int) const
EvtRaritaSchwinger spRSParent(int) const
void init(EvtId id, const EvtVector4R &p4)
EvtSpinDensity rotateToHelicityBasis() const
virtual ~EvtRaritaSchwingerParticle()
EvtRaritaSchwingerParticle()