|
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. 78 int bcurrent, wcurrent; 82 bcurrent = (int) getArg( 0 ); 83 wcurrent = (int) getArg( 1 ); 89 p4b. set( p-> mass(), 0.0, 0.0, 0.0 ); 97 double hf, kf, bp, bm; 101 switch ( bcurrent ) { 109 jb[0] = EvtVector4C( fp * ( p4b + p4[0] ) - fm * q ); 119 g. setdiag( 1.0, -1.0, -1.0, -1.0 ); 140 g. setdiag( 1.0, -1.0, -1.0, -1.0 ); 160 &hf, &kf, &bp, &bm ); 161 g. setdiag( 1.0, -1.0, -1.0, -1.0 ); 177 ep_meson_bb[0] = ep_meson_b[0] * ( p4b ); 178 ep_meson_bb[1] = ep_meson_b[1] * ( p4b ); 179 ep_meson_bb[2] = ep_meson_b[2] * ( p4b ); 180 ep_meson_bb[3] = ep_meson_b[3] * ( p4b ); 181 ep_meson_bb[4] = ep_meson_b[4] * ( p4b ); 185 . cont2( ep_meson_b[0] ) - 186 kf * ep_meson_b[0] - bp * ep_meson_bb[0] * pp - 187 bm * ep_meson_bb[0] * pm; 191 . cont2( ep_meson_b[1] ) - 192 kf * ep_meson_b[1] - bp * ep_meson_bb[1] * pp - 193 bm * ep_meson_bb[1] * pm; 197 . cont2( ep_meson_b[2] ) - 198 kf * ep_meson_b[2] - bp * ep_meson_bb[2] * pp - 199 bm * ep_meson_bb[2] * pm; 203 . cont2( ep_meson_b[3] ) - 204 kf * ep_meson_b[3] - bp * ep_meson_bb[3] * pp - 205 bm * ep_meson_bb[3] * pm; 209 . cont2( ep_meson_b[4] ) - 210 kf * ep_meson_b[4] - bp * ep_meson_bb[4] * pp - 211 bm * ep_meson_bb[4] * pm; 217 double f, gf, ap, am; 221 g. setdiag( 1.0, -1.0, -1.0, -1.0 ); 241 jb[0] = fp * ( p4b + p4[0] ) + fm * q; 245 << "In EvtBHadronic, unknown hadronic current." << endl; 250 switch ( wcurrent ) { 263 sqrt( p4[1].get( 0 ) * p4[1].get( 0 ) / p4[1].mass2() - 1.0 ); 271 << "In EvtBHadronic, unknown W current." << endl; 274 if ( nbcurrent == 1 && nwcurrent == 1 ) { 279 if ( nbcurrent == 1 ) { 280 for ( j = 0; j < nwcurrent; j++ ) { 281 vertex( j, jb[0] * jw[j] ); 286 if ( nwcurrent == 1 ) { 287 for ( j = 0; j < nbcurrent; j++ ) { 288 vertex( j, jb[j] * jw[0] ); 293 for ( j = 0; j < nbcurrent; j++ ) { 294 for ( i = 0; i < nwcurrent; i++ ) { 295 vertex( j, i, jb[j] * jw[i] ); virtual EvtTensor4C epsTensorParent(int i) const
EvtTensor3C directProd(const EvtVector3C &c1, const EvtVector3C &c2)
void setdiag(double t00, double t11, double t22, double t33)
void gettensorff(EvtId parent, EvtId daught, double t, double mass, double *hf, double *kf, double *bpf, double *bmf) override
std::string getName() override
double getArg(unsigned int j)
EvtTensor4C dual(const EvtTensor4C &t2)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
Evt3Rank3C conj(const Evt3Rank3C &t2)
EvtVector4C cont2(const EvtVector4C &v4) const
static double getMeanMass(EvtId i)
EvtVector4C cont1(const EvtVector4C &v4) const
void set(int i, double d)
void getvectorff(EvtId parent, EvtId daught, double t, double mass, double *a1f, double *a2f, double *vf, double *a0f) override
void vertex(const EvtComplex &)
double initializePhaseSpace(unsigned int numdaughter, EvtId *daughters, bool forceResetMasses=false, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
virtual EvtVector4C epsParent(int i) const
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
static EvtId getId(const std::string &name)
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
EvtBHadronic * clone() override
void decay(EvtParticle *p) override
void getscalarff(EvtId parent, EvtId daught, double t, double mass, double *fpf, double *f0f) override
|