22#include "MdcRecoUtil/DifFourVector.h"
28 :E(0.0),
P(0.0,0.0,0.0)
33 :E(sqrt(m*m+p*p)),
P(p)
37 :E(sqrt(m*m+p*p)),
P(p)
61 HepMatrix temp(4,npar);
62 for(
int i=1; i<=npar; i++){
79 if(
y.length()<0.01)
y=xHat-z*(xHat*z);
108 if(
y.lengthSq()<0.0001)
y=xHat-z*(xHat*z);
115 for(
int i=0;i<(int)list.size();i++) {
126 p4i.
P=px*
x+py*
y+pzP*z;
141 if(
y.lengthSq()<0.0001)
y=xHat-z*(xHat*z);
148 for(
int i=0;i<(int)list.size();i++) {
159 p4i.
P=px*
x+py*
y+pzP*z;
173 if(
y.length()<0.01)
y=xHat-z*(xHat*z);
195 cout <<
"SKIP of DifFourVector::print()" <<endl;
double P(RecMdcKalTrack *trk)
double correlation(const DifNumber &a, const DifNumber &b)
EvtVector3R cross(const EvtVector3R &p1, const EvtVector3R &p2)
**********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
void boostFromMe(std::vector< DifFourVector * > &listToBoost) const
HepMatrix jacobian() const
void boostFrom(const DifFourVector &)
void boostTo(const DifFourVector &)
void boostToMe(std::vector< DifFourVector * > &listToBoost) const
HepSymMatrix errorMatrix(const HepSymMatrix &e) const
DifVector direction() const
double derivative(int i) const