#include <EvtGoityRoberts.hh>
Inheritance diagram for EvtGoityRoberts:
Public Member Functions | |
void | checkNArg (int a1, int a2=-1, int a3=-1, int a4=-1) |
void | checkNDaug (int d1, int d2=-1) |
void | checkQ () |
void | checkSpinDaughter (int d1, EvtSpinType::spintype sp) |
void | checkSpinParent (EvtSpinType::spintype sp) |
EvtDecayBase * | clone () |
virtual void | command (std::string cmd) |
virtual std::string | commandName () |
void | decay (EvtParticle *p) |
void | disableCheckQ () |
EvtGoityRoberts () | |
double | getArg (int j) |
double * | getArgs () |
std::string * | getArgsStr () |
std::string | getArgStr (int j) |
double | getBranchingFraction () |
EvtId | getDaug (int i) |
EvtId * | getDaugs () |
int | getDSum () |
std::string | getModelName () |
void | getName (std::string &name) |
int | getNArg () |
int | getNDaug () |
EvtId | getParentId () |
int | getPHOTOS () |
double | getProbMax (double prob) |
void | init () |
void | initProbMax () |
void | makeDecay (EvtParticle *p) |
virtual bool | matchingDecay (const EvtDecayBase &other) const |
void | noProbMax () |
virtual int | nRealDaughters () |
void | printSummary () |
double | resetProbMax (double prob) |
void | saveDecayInfo (EvtId ipar, int ndaug, EvtId *daug, int narg, std::vector< std::string > &args, std::string name, double brfr) |
void | setPHOTOS () |
void | setProbMax (double prbmx) |
void | setSummary () |
void | setVerbose () |
void | setWeight (double weight) |
int | summary () |
int | verbose () |
void | vertex (int *i1, const EvtComplex &) |
void | vertex (int i1, int i2, int i3, const EvtComplex &) |
void | vertex (int i1, int i2, const EvtComplex &) |
void | vertex (int i1, const EvtComplex &) |
void | vertex (const EvtComplex &) |
virtual | ~EvtGoityRoberts () |
Static Public Member Functions | |
void | findMass (EvtParticle *p) |
void | findMasses (EvtParticle *p, int ndaugs, EvtId daugs[10], double masses[10]) |
double | findMaxMass (EvtParticle *p) |
Protected Member Functions | |
bool | daugsDecayedByParentModel () |
Protected Attributes | |
EvtAmp | _amp2 |
bool | _daugsDecayedByParentModel |
Private Member Functions | |
void | DecayBDpilnuGR (EvtParticle *pb, EvtId nd, EvtId npion, EvtId nlep, EvtId nnu) |
void | DecayBDstarpilnuGR (EvtParticle *pb, EvtId ndstar, EvtId npion, EvtId nlep, EvtId nnu) |
|
00033 {}
|
|
00033 {}
|
|
00483 { 00484 00485 if ( _narg != a1 && _narg != a2 && _narg != a3 && _narg != a4 ) { 00486 report(ERROR,"EvtGen") << _modelname.c_str() << " generator expected "<<endl; 00487 report(ERROR,"EvtGen") << a1<<endl;; 00488 if ( a2>-1) { 00489 report(ERROR,"EvtGen") << " or " << a2<<endl; 00490 } 00491 if ( a3>-1) { 00492 report(ERROR,"EvtGen") << " or " << a3<<endl; 00493 } 00494 if ( a4>-1) { 00495 report(ERROR,"EvtGen") << " or " << a4<<endl; 00496 } 00497 report(ERROR,"EvtGen") << " arguments but found:"<< _narg << endl; 00498 printSummary(); 00499 report(ERROR,"EvtGen") << "Will terminate execution!"<<endl; 00500 ::abort(); 00501 00502 } 00503 00504 }
|
|
00505 { 00506 00507 if ( _ndaug != d1 && _ndaug != d2 ) { 00508 report(ERROR,"EvtGen") << _modelname.c_str() << " generator expected "; 00509 report(ERROR,"EvtGen") << d1; 00510 if ( d2>-1) { 00511 report(ERROR,"EvtGen") << " or " << d2; 00512 } 00513 report(ERROR,"EvtGen") << " daughters but found:"<< _ndaug << endl; 00514 printSummary(); 00515 report(ERROR,"EvtGen") << "Will terminate execution!"<<endl; 00516 ::abort(); 00517 } 00518 00519 }
|
|
00035 { 00036 int i; 00037 int q=0; 00038 int qpar; 00039 00040 //If there are no daughters (jetset etc) then we do not 00041 //want to do this test. Why? Because sometimes the parent 00042 //will have a nonzero charge. 00043 00044 if ( _ndaug != 0) { 00045 for(i=0; i<_ndaug; i++ ) { 00046 q += EvtPDL::chg3(_daug[i]); 00047 } 00048 qpar = EvtPDL::chg3(_parent); 00049 00050 if ( q != qpar ) { 00051 report(ERROR,"EvtGen") <<_modelname.c_str()<< " generator expected " 00052 << " charge to be conserved, found:"<<endl; 00053 report(ERROR,"EvtGen") << "Parent charge of "<<(qpar/3)<<endl; 00054 report(ERROR,"EvtGen") << "Sum of daughter charge of "<<(q/3)<<endl; 00055 report(ERROR,"EvtGen") << "The parent is "<< EvtPDL::name(_parent).c_str()<<endl; 00056 for(i=0; i<_ndaug; i++ ) { 00057 report(ERROR,"EvtGen") << "Daughter "<< EvtPDL::name(_daug[i]).c_str()<<endl; 00058 } 00059 report(ERROR,"EvtGen") << "Will terminate execution!"<<endl; 00060 00061 ::abort(); 00062 } 00063 } 00064 }
|
|
00534 { 00535 00536 EvtSpinType::spintype parenttype = EvtPDL::getSpinType(getDaug(d1)); 00537 if ( parenttype != sp ) { 00538 report(ERROR,"EvtGen") << _modelname.c_str() 00539 << " did not get the correct daughter spin d=" 00540 << d1 << endl; 00541 printSummary(); 00542 report(ERROR,"EvtGen") << "Will terminate execution!"<<endl; 00543 ::abort(); 00544 } 00545 00546 }
|
|
00521 { 00522 00523 EvtSpinType::spintype parenttype = EvtPDL::getSpinType(getParentId()); 00524 if ( parenttype != sp ) { 00525 report(ERROR,"EvtGen") << _modelname.c_str() 00526 << " did not get the correct parent spin\n"; 00527 printSummary(); 00528 report(ERROR,"EvtGen") << "Will terminate execution!"<<endl; 00529 ::abort(); 00530 } 00531 00532 }
|
|
Implements EvtDecayBase. 00042 { 00043 00044 return new EvtGoityRoberts; 00045 00046 }
|
|
Reimplemented in EvtJetSet, EvtLunda, EvtLundCharm, EvtPythia, and EvtTauola. 00132 { 00133 report(ERROR,"EvtGen") << "Should never call EvtDecayBase::command"<<endl; 00134 ::abort(); 00135 }
|
|
Reimplemented in EvtJetSet, EvtLunda, EvtLundCharm, EvtPythia, and EvtTauola. 00129 { 00130 return std::string(""); 00131 }
|
|
00111 {return _daugsDecayedByParentModel;}
|
|
Implements EvtDecayBase. 00067 { 00068 00069 //added by Lange Jan4,2000 00070 static EvtId DST0=EvtPDL::getId("D*0"); 00071 static EvtId DSTB=EvtPDL::getId("anti-D*0"); 00072 static EvtId DSTP=EvtPDL::getId("D*+"); 00073 static EvtId DSTM=EvtPDL::getId("D*-"); 00074 static EvtId D0=EvtPDL::getId("D0"); 00075 static EvtId D0B=EvtPDL::getId("anti-D0"); 00076 static EvtId DP=EvtPDL::getId("D+"); 00077 static EvtId DM=EvtPDL::getId("D-"); 00078 00079 00080 00081 EvtId meson=getDaug(0); 00082 00083 if (meson==DST0||meson==DSTP||meson==DSTM||meson==DSTB) { 00084 DecayBDstarpilnuGR(p,getDaug(0),getDaug(1),getDaug(2),getDaug(3)); 00085 } 00086 else{ 00087 if (meson==D0||meson==DP||meson==DM||meson==D0B) { 00088 DecayBDpilnuGR(p,getDaug(0),getDaug(1),getDaug(2),getDaug(3)); 00089 } 00090 else{ 00091 report(ERROR,"EvtGen") << "Wrong daugther in EvtGoityRoberts!\n"; 00092 } 00093 } 00094 return ; 00095 }
|
|
00312 { 00313 //added by Lange Jan4,2000 00314 static EvtId EM=EvtPDL::getId("e-"); 00315 static EvtId EP=EvtPDL::getId("e+"); 00316 static EvtId MUM=EvtPDL::getId("mu-"); 00317 static EvtId MUP=EvtPDL::getId("mu+"); 00318 00319 EvtParticle *d, *pion, *lepton, *neutrino; 00320 00321 pb->initializePhaseSpace(getNDaug(),getDaugs()); 00322 d=pb->getDaug(0); 00323 pion=pb->getDaug(1); 00324 lepton=pb->getDaug(2); 00325 neutrino=pb->getDaug(3); 00326 00327 EvtVector4C l1, l2, et0, et1, et2; 00328 00329 EvtVector4R v,vp,p4_pi; 00330 double w; 00331 00332 v.set(1.0,0.0,0.0,0.0); //4-velocity of B meson 00333 vp=(1.0/d->getP4().mass())*d->getP4(); //4-velocity of D 00334 p4_pi=pion->getP4(); //4-momentum of pion 00335 w=v*vp; //four velocity transfer. 00336 00337 double mb=EvtPDL::getMeanMass(pb->getId()); //B mass 00338 double md=EvtPDL::getMeanMass(nd); //D* mass 00339 EvtComplex dmb(0.0460,-0.5*0.00001); //B mass splitting ? 00340 //The last two numbers should be 00341 //correctly calculated from the 00342 //dstar and pion particle number. 00343 00344 double g = 0.5; // Amplitude proportional to these coupling constants 00345 double alpha3 = 0.690; // See table I in G&R's paper 00346 double alpha1 = -1.430; 00347 double alpha2 = -0.140; 00348 double f0=0.093; // The pion decay constant set to 93 MeV 00349 00350 EvtComplex dmt3(0.563,-0.5*0.191); // Mass splitting = dmt - iGamma/2 00351 EvtComplex dmt1(0.392,-0.5*1.040); 00352 EvtComplex dmt2(0.709,-0.5*0.405); 00353 00354 double betas=0.285; // magic number for meson wave function ground state 00355 double betap=0.280; // magic number for meson wave function state "1" 00356 double betad=0.260; // magic number for meson wave function state "2" 00357 double betasp=betas*betas+betap*betap; 00358 double betasd=betas*betas+betad*betad; 00359 00360 double lambdabar=0.750; //M(0-,1-) - mQ From Goity&Roberts's code 00361 00362 // Isgur&Wise fct 00363 double xi = exp(lambdabar*lambdabar*(1.0-w*w)/(4*betas*betas)); 00364 double xi1= -1.0*sqrt(2.0/3.0)*(lambdabar*lambdabar*(w*w-1.0)/(4*betas*betas))* 00365 exp(lambdabar*lambdabar*(1.0-w*w)/(4*betas*betas)); 00366 double rho1= sqrt(1.0/2.0)*(lambdabar/betas)* 00367 pow((2*betas*betap/(betasp)),2.5)* 00368 exp(lambdabar*lambdabar*(1.0-w*w)/(2*betasp)); 00369 double rho2= sqrt(1.0/8.0)*(lambdabar*lambdabar/(betas*betas))* 00370 pow((2*betas*betad/(betasd)),3.5)* 00371 exp(lambdabar*lambdabar*(1.0-w*w)/(2*betasd)); 00372 00373 EvtComplex h,a1,a2,a3; 00374 EvtComplex hnr,a1nr,a2nr,a3nr; 00375 EvtComplex hr,a1r,a2r,a3r; 00376 00377 // Non-resonance part (D* and D** removed by hand - alainb) 00378 hnr = g*xi*(1.0/(EvtComplex(p4_pi*v,0.0)+dmb))/(2*f0*mb*md); 00379 a1nr= -1.0*g*xi*(1+w)*(1.0/(EvtComplex(p4_pi*v,0.0)+dmb))/(2*f0); 00380 a2nr= g*xi*((p4_pi*(v+vp))/(EvtComplex(p4_pi*v,0.0)+dmb))/(2*f0*mb); 00381 a3nr=EvtComplex(0.0,0.0); 00382 00383 // Resonance part (D** remove by hand - alainb) 00384 hr = alpha2*rho2*(w-1)*(1.0/(EvtComplex(p4_pi*v,0.0)+dmt2))/(6*f0*mb*md) + 00385 alpha3*xi1*(1.0/(EvtComplex(p4_pi*v,0.0)+dmt3))/(2*f0*mb*md); 00386 a1r= -1.0*alpha2*rho2*(w*w-1)*(1.0/(EvtComplex(p4_pi*v,0.0)+dmt2))/(6*f0) - 00387 alpha3*xi1*(1+w)*(1.0/(EvtComplex(p4_pi*v,0.0)+dmt3))/(2*f0); 00388 a2r= alpha1*rho1*((p4_pi*v)/(EvtComplex(p4_pi*v,0.0)+dmt1))/(2*f0*mb) + 00389 alpha2*rho2*(0.5*p4_pi*(w*vp-v)+p4_pi*(vp-w*v))/ 00390 (3*f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt2)) + 00391 alpha3*xi1*((p4_pi*(v+vp))/(EvtComplex(p4_pi*v,0.0)+dmt3))/(2*f0*mb); 00392 a3r= -1.0*alpha1*rho1*((p4_pi*v)/(EvtComplex(p4_pi*v,0.0)+dmt1))/(2*f0*md) - 00393 alpha2*rho2*((p4_pi*(vp-w*v))/(EvtComplex(p4_pi*v,0.0)+dmt2))/(2*f0*md); 00394 00395 // Sum 00396 h=hnr+hr; 00397 a1=a1nr+a1r; 00398 a2=a2nr+a2r; 00399 a3=a3nr+a3r; 00400 00401 EvtVector4C omega; 00402 00403 if ( nlep==EM|| nlep==MUM ) { 00404 omega=EvtComplex(0.0,-1.0)*h*mb*md*dual(directProd(vp,p4_pi)).cont2(v)+ 00405 a1*p4_pi+a2*mb*v+a3*md*vp; 00406 l1=EvtLeptonVACurrent( 00407 lepton->spParent(0),neutrino->spParentNeutrino()); 00408 l2=EvtLeptonVACurrent( 00409 lepton->spParent(1),neutrino->spParentNeutrino()); 00410 } 00411 else{ 00412 if ( nlep==EP|| nlep==MUP ) { 00413 omega=EvtComplex(0.0,1.0)*h*mb*md*dual(directProd(vp,p4_pi)).cont2(v)+ 00414 a1*p4_pi+a2*mb*v+a3*md*vp; 00415 l1=EvtLeptonVACurrent( 00416 neutrino->spParentNeutrino(),lepton->spParent(0)); 00417 l2=EvtLeptonVACurrent( 00418 neutrino->spParentNeutrino(),lepton->spParent(1)); 00419 } 00420 else{ 00421 report(ERROR,"EvtGen") << "42387dfs878w wrong lepton number\n"; 00422 } 00423 } 00424 00425 vertex(0,l1*omega); 00426 vertex(1,l2*omega); 00427 00428 return; 00429 00430 }
|
|
00099 { 00100 00101 pb->initializePhaseSpace(getNDaug(),getDaugs()); 00102 00103 //added by Lange Jan4,2000 00104 static EvtId EM=EvtPDL::getId("e-"); 00105 static EvtId EP=EvtPDL::getId("e+"); 00106 static EvtId MUM=EvtPDL::getId("mu-"); 00107 static EvtId MUP=EvtPDL::getId("mu+"); 00108 00109 EvtParticle *dstar, *pion, *lepton, *neutrino; 00110 00111 // pb->makeDaughters(getNDaug(),getDaugs()); 00112 dstar=pb->getDaug(0); 00113 pion=pb->getDaug(1); 00114 lepton=pb->getDaug(2); 00115 neutrino=pb->getDaug(3); 00116 00117 EvtVector4C l1, l2, et0, et1, et2; 00118 00119 EvtVector4R v,vp,p4_pi; 00120 double w; 00121 00122 v.set(1.0,0.0,0.0,0.0); //4-velocity of B meson 00123 vp=(1.0/dstar->getP4().mass())*dstar->getP4(); //4-velocity of D* 00124 p4_pi=pion->getP4(); 00125 00126 w=v*vp; //four velocity transfere. 00127 00128 EvtTensor4C omega; 00129 00130 double mb=EvtPDL::getMeanMass(pb->getId()); //B mass 00131 double md=EvtPDL::getMeanMass(ndstar); //D* mass 00132 00133 EvtComplex dmb(0.0460,-0.5*0.00001); // B*-B mass splitting ? 00134 EvtComplex dmd(0.1421,-0.5*0.00006); 00135 // The last two sets of numbers should 00136 // be correctly calculated from the 00137 // dstar and pion charges. 00138 double g = 0.5; // EvtAmplitude proportional to these coupling constants 00139 double alpha3 = 0.690; // See table I in G&R's paper 00140 double alpha1 = -1.430; 00141 double alpha2 = -0.140; 00142 double f0 = 0.093; // The pion decay constants set to 93 MeV 00143 00144 EvtComplex dmt3(0.563,-0.5*0.191); // Mass splitting = dmt - iGamma/2 00145 EvtComplex dmt1(0.392,-0.5*1.040); 00146 EvtComplex dmt2(0.709,-0.5*0.405); 00147 00148 double betas=0.285; // magic number for meson wave function ground state 00149 double betap=0.280; // magic number for meson wave function state "1" 00150 double betad=0.260; // magic number for meson wave function state "2" 00151 double betasp=betas*betas+betap*betap; 00152 double betasd=betas*betas+betad*betad; 00153 00154 double lambdabar=0.750; //M(0-,1-) - mQ From Goity&Roberts's code 00155 00156 // Isgur&Wise fct 00157 double xi = exp(lambdabar*lambdabar*(1.0-w*w)/(4*betas*betas)); 00158 double xi1= -1.0*sqrt(2.0/3.0)*( 00159 lambdabar*lambdabar*(w*w-1.0)/(4*betas*betas))* 00160 exp(lambdabar*lambdabar*(1.0-w*w)/(4*betas*betas)); 00161 double rho1= sqrt(1.0/2.0)*(lambdabar/betas)* 00162 pow((2*betas*betap/(betasp)),2.5)* 00163 exp(lambdabar*lambdabar*(1.0-w*w)/(2*betasp)); 00164 double rho2= sqrt(1.0/8.0)*(lambdabar*lambdabar/(betas*betas))* 00165 pow((2*betas*betad/(betasd)),3.5)* 00166 exp(lambdabar*lambdabar*(1.0-w*w)/(2*betasd)); 00167 00168 //report(INFO,"EvtGen") <<"rho's:"<<rho1<<rho2<<endl; 00169 00170 EvtComplex h1nr,h2nr,h3nr,f1nr,f2nr; 00171 EvtComplex f3nr,f4nr,f5nr,f6nr,knr,g1nr,g2nr,g3nr,g4nr,g5nr; 00172 EvtComplex h1r,h2r,h3r,f1r,f2r,f3r,f4r,f5r,f6r,kr,g1r,g2r,g3r,g4r,g5r; 00173 EvtComplex h1,h2,h3,f1,f2,f3,f4,f5,f6,k,g1,g2,g3,g4,g5; 00174 00175 // Non-resonance part 00176 h1nr = -g*xi*(p4_pi*v)/(f0*mb*md*(EvtComplex(p4_pi*v,0.0)+dmb)); 00177 h2nr = -g*xi/(f0*mb*(EvtComplex(p4_pi*v,0.0)+dmb)); 00178 h3nr = -(g*xi/(f0*md))*(1.0/(EvtComplex(p4_pi*v,0.0)+dmb) 00179 -EvtComplex((1.0+w)/(p4_pi*vp),0.0)); 00180 00181 f1nr = -(g*xi/(2*f0*mb))*(1.0/(EvtComplex(p4_pi*v,0.0)+dmb) - 00182 1.0/(EvtComplex(p4_pi*vp,0.0)+dmd)); 00183 f2nr = f1nr*mb/md; 00184 f3nr = EvtComplex(0.0); 00185 f4nr = EvtComplex(0.0); 00186 f5nr = (g*xi/(2*f0*mb*md))*(EvtComplex(1.0,0.0) 00187 +(p4_pi*v)/(EvtComplex(p4_pi*v,0.0)+dmb)); 00188 f6nr = (g*xi/(2*f0*mb))*(1.0/(EvtComplex(p4_pi*v,0.0)+dmb) 00189 -EvtComplex(1.0/(p4_pi*vp),0.0)); 00190 00191 knr = (g*xi/(2*f0))*((p4_pi*(vp-w*v))/(EvtComplex(p4_pi*v,0.0)+dmb) + 00192 EvtComplex((p4_pi*(v-w*vp))/(p4_pi*vp),0.0)); 00193 00194 g1nr = EvtComplex(0.0); 00195 g2nr = EvtComplex(0.0); 00196 g3nr = EvtComplex(0.0); 00197 g4nr = (g*xi)/(f0*md*EvtComplex(p4_pi*vp)); 00198 g5nr = EvtComplex(0.0); 00199 00200 // Resonance part (D** removed by hand - alainb) 00201 h1r = -alpha1*rho1*(p4_pi*v)/(f0*mb*md*(EvtComplex(p4_pi*v,0.0)+dmt1)) + 00202 alpha2*rho2*(p4_pi*(v+2.0*w*v-vp)) 00203 /(3*f0*mb*md*(EvtComplex(p4_pi*v,0.0)+dmt2)) - 00204 alpha3*xi1*(p4_pi*v)/(f0*mb*md*EvtComplex(p4_pi*v,0.0)+dmt3); 00205 h2r = -alpha2*(1+w)*rho2/(3*f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt2)) - 00206 alpha3*xi1/(f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt3)); 00207 h3r = alpha2*rho2*(1+w)/(3*f0*md*(EvtComplex(p4_pi*v,0.0)+dmt2)) - 00208 alpha3*xi1/(f0*md*(EvtComplex(p4_pi*v,0.0)+dmt3)); 00209 00210 f1r = -alpha2*rho2*(w-1.0)/(6*f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt2)) - 00211 alpha3*xi1/(2*f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt3)); 00212 f2r = f1r*mb/md; 00213 f3r = EvtComplex(0.0); 00214 f4r = EvtComplex(0.0); 00215 f5r = alpha1*rho1*(p4_pi*v)/(2*f0*mb*md*(EvtComplex(p4_pi*v,0.0)+dmt1)) + 00216 alpha2*rho2*(p4_pi*(vp-v/3.0-2.0/3.0*w*v))/ 00217 (2*f0*mb*md*(EvtComplex(p4_pi*v,0.0)+dmt2)) + 00218 alpha3*xi1*(p4_pi*v)/(2*f0*mb*md*(EvtComplex(p4_pi*v,0.0)+dmt3)); 00219 f6r = alpha2*rho2*(w-1.0)/(6*f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt2)) + 00220 alpha3*xi1/(2*f0*mb*(EvtComplex(p4_pi*v,0.0)+dmt3)); 00221 00222 kr = -alpha1*rho1*(w-1.0)*(p4_pi*v)/(2*f0*(EvtComplex(p4_pi*v,0.0)+dmt1)) - 00223 alpha2*rho2*(w-1.0)*(p4_pi*(vp-w*v)) 00224 /(3*f0*(EvtComplex(p4_pi*v,0.0)+dmt2)) + 00225 alpha3*xi1*(p4_pi*(vp-w*v))/(2*f0*(EvtComplex(p4_pi*v,0.0)+dmt3)); 00226 00227 g1r = EvtComplex(0.0); 00228 g2r = EvtComplex(0.0); 00229 g3r = -g2r; 00230 g4r = 2.0*alpha2*rho2/(3*f0*md*(EvtComplex(p4_pi*v,0.0)+dmt2)); 00231 g5r = EvtComplex(0.0); 00232 00233 //Sum 00234 h1 = h1nr + h1r; 00235 h2 = h2nr + h2r; 00236 h3 = h3nr + h3r; 00237 00238 f1 = f1nr + f1r; 00239 f2 = f2nr + f2r; 00240 f3 = f3nr + f3r; 00241 f4 = f4nr + f4r; 00242 f5 = f5nr + f5r; 00243 f6 = f6nr + f6r; 00244 00245 k = knr+kr; 00246 00247 g1 = g1nr + g1r; 00248 g2 = g2nr + g2r; 00249 g3 = g3nr + g3r; 00250 g4 = g4nr + g4r; 00251 g5 = g5nr + g5r; 00252 00253 EvtTensor4C g_metric; 00254 g_metric.setdiag(1.0,-1.0,-1.0,-1.0); 00255 00256 if (nlep==EM||nlep==MUM){ 00257 omega=EvtComplex(0.0,0.5)*dual(h1*mb*md*directProd(v,vp)+ 00258 h2*mb*directProd(v,p4_pi)+ 00259 h3*md*directProd(vp,p4_pi))+ 00260 f1*mb*directProd(v,p4_pi)+f2*md*directProd(vp,p4_pi)+ 00261 f3*directProd(p4_pi,p4_pi)+f4*mb*mb*directProd(v,v)+ 00262 f5*mb*md*directProd(vp,v)+f6*mb*directProd(p4_pi,v)+k*g_metric+ 00263 EvtComplex(0.0,0.5)*directProd(dual(directProd(vp,p4_pi)).cont2(v), 00264 (g1*p4_pi+g2*mb*v))+ 00265 EvtComplex(0.0,0.5)*directProd((g3*mb*v+g4*md*vp+g5*p4_pi), 00266 dual(directProd(vp,p4_pi)).cont2(v)); 00267 00268 l1=EvtLeptonVACurrent(lepton->spParent(0),neutrino->spParentNeutrino()); 00269 l2=EvtLeptonVACurrent(lepton->spParent(1),neutrino->spParentNeutrino()); 00270 } 00271 else{ 00272 if (nlep==EP||nlep==MUP){ 00273 omega=EvtComplex(0.0,-0.5)*dual(h1*mb*md*directProd(v,vp)+ 00274 h2*mb*directProd(v,p4_pi)+ 00275 h3*md*directProd(vp,p4_pi))+ 00276 f1*mb*directProd(v,p4_pi)+f2*md*directProd(vp,p4_pi)+ 00277 f3*directProd(p4_pi,p4_pi)+f4*mb*mb*directProd(v,v)+ 00278 f5*mb*md*directProd(vp,v)+f6*mb*directProd(p4_pi,v)+k*g_metric+ 00279 EvtComplex(0.0,-0.5)*directProd(dual(directProd(vp,p4_pi)).cont2(v), 00280 (g1*p4_pi+g2*mb*v))+ 00281 EvtComplex(0.0,-0.5)*directProd((g3*mb*v+g4*md*vp+g5*p4_pi), 00282 dual(directProd(vp,p4_pi)).cont2(v)); 00283 00284 l1=EvtLeptonVACurrent(neutrino->spParentNeutrino(),lepton->spParent(0)); 00285 l2=EvtLeptonVACurrent(neutrino->spParentNeutrino(),lepton->spParent(1)); 00286 } 00287 else{ 00288 report(DEBUG,"EvtGen") << "42387dfs878w wrong lepton number\n"; 00289 } 00290 } 00291 00292 et0=omega.cont2( dstar->epsParent(0).conj() ); 00293 et1=omega.cont2( dstar->epsParent(1).conj() ); 00294 et2=omega.cont2( dstar->epsParent(2).conj() ); 00295 00296 vertex(0,0,l1.cont(et0)); 00297 vertex(0,1,l2.cont(et0)); 00298 00299 vertex(1,0,l1.cont(et1)); 00300 vertex(1,1,l2.cont(et1)); 00301 00302 vertex(2,0,l1.cont(et2)); 00303 vertex(2,1,l2.cont(et2)); 00304 00305 return; 00306 00307 }
|
|
00062 {_chkCharge=0;};
|
|
00347 { 00348 00349 //Need to also check that this mass does not screw 00350 //up the parent 00351 //This code assumes that for the ith daughter, 0..i-1 00352 //already have a mass 00353 double maxOkMass=findMaxMass(p); 00354 00355 int count=0; 00356 double mass; 00357 bool massOk=false; 00358 int i; 00359 while (!massOk) { 00360 count++; 00361 if ( count > 10000 ) { 00362 report(INFO,"EvtGen") << "Can not find a valid mass for: " << EvtPDL::name(p->getId()).c_str() <<endl; 00363 report(INFO,"EvtGen") << "Now printing parent and/or grandparent tree\n"; 00364 if ( p->getParent() ) { 00365 if ( p->getParent()->getParent() ) { 00366 p->getParent()->getParent()->printTree(); 00367 report(INFO,"EvtGen") << p->getParent()->getParent()->mass() <<endl; 00368 report(INFO,"EvtGen") << p->getParent()->mass() <<endl; 00369 } 00370 else{ 00371 p->getParent()->printTree(); 00372 report(INFO,"EvtGen") << p->getParent()->mass() <<endl; 00373 } 00374 } 00375 else p->printTree(); 00376 report(INFO,"EvtGen") << "maxokmass=" << maxOkMass << " " << EvtPDL::getMinMass(p->getId()) << " " << EvtPDL::getMaxMass(p->getId())<<endl; 00377 if ( p->getNDaug() ) { 00378 for (i=0; i<p->getNDaug(); i++) { 00379 report(INFO,"EvtGen") << p->getDaug(i)->mass()<<" "; 00380 } 00381 report(INFO,"EvtGen") << endl; 00382 } 00383 if ( maxOkMass >= EvtPDL::getMinMass(p->getId()) ) { 00384 report(INFO,"EvtGen") << "taking a default value\n"; 00385 p->setMass(maxOkMass); 00386 return; 00387 } 00388 assert(0); 00389 } 00390 mass = EvtPDL::getMass(p->getId()); 00391 //Just need to check that this mass is > than 00392 //the mass of all daughters 00393 double massSum=0.; 00394 if ( p->getNDaug() ) { 00395 for (i=0; i<p->getNDaug(); i++) { 00396 massSum+= p->getDaug(i)->mass(); 00397 } 00398 } 00399 //some special cases are handled with 0 (stable) or 1 (k0->ks/kl) daughters 00400 if (p->getNDaug()<2) massOk=true; 00401 if ( p->getParent() ) { 00402 if ( p->getParent()->getNDaug()==1 ) massOk=true; 00403 } 00404 if ( !massOk ) { 00405 if (massSum < mass) massOk=true; 00406 if ( mass> maxOkMass) massOk=false; 00407 } 00408 } 00409 00410 p->setMass(mass); 00411 00412 }
|
|
00416 { 00417 00418 int i; 00419 double mass_sum; 00420 00421 int count=0; 00422 00423 if (!( p->firstornot() )) { 00424 for (i = 0; i < ndaugs; i++ ) { 00425 masses[i] = p->getDaug(i)->mass(); 00426 } //for 00427 } //if 00428 else { 00429 p->setFirstOrNot(); 00430 // if only one daughter do it 00431 00432 if (ndaugs==1) { 00433 masses[0]=p->mass(); 00434 return; 00435 } 00436 00437 //until we get a combo whose masses are less than _parent mass. 00438 do { 00439 mass_sum = 0.0; 00440 00441 for (i = 0; i < ndaugs; i++ ) { 00442 masses[i] = EvtPDL::getMass(daugs[i]); 00443 mass_sum = mass_sum + masses[i]; 00444 } 00445 00446 count++; 00447 00448 00449 if(count==10000) { 00450 report(ERROR,"EvtGen") <<"Decaying particle:"<< 00451 EvtPDL::name(p->getId()).c_str()<<" (m="<<p->mass()<<")"<<endl; 00452 report(ERROR,"EvtGen") <<"To the following daugthers"<<endl; 00453 for (i = 0; i < ndaugs; i++ ) { 00454 report(ERROR,"EvtGen") << 00455 EvtPDL::name(daugs[i]).c_str() << endl; 00456 } 00457 report(ERROR,"EvtGen") << "Has been rejected "<<count 00458 << " times, will now take minimal masses " 00459 << " of daugthers"<<endl; 00460 00461 mass_sum=0.; 00462 for (i = 0; i < ndaugs; i++ ) { 00463 masses[i] = EvtPDL::getMinMass(daugs[i]); 00464 mass_sum = mass_sum + masses[i]; 00465 } 00466 if (mass_sum > p->mass()){ 00467 report(ERROR,"EvtGen") << "Parent mass="<<p->mass() 00468 << "to light for daugthers."<<endl 00469 << "Will throw the event away."<<endl; 00470 //dont terminate - start over on the event. 00471 EvtStatus::setRejectFlag(); 00472 mass_sum=0.; 00473 // ::abort(); 00474 } 00475 00476 } 00477 } while ( mass_sum > p->mass()); 00478 } //else 00479 00480 return; 00481 }
|
|
00312 { 00313 00314 00315 double maxOkMass=EvtPDL::getMaxMass(p->getId()); 00316 00317 //protect against vphotons 00318 if ( maxOkMass < 0.0000000001 ) return 10000000.; 00319 //and against already determined masses 00320 if ( p->hasValidP4() ) maxOkMass=p->mass(); 00321 00322 EvtParticle *par=p->getParent(); 00323 if ( par ) { 00324 double maxParMass=findMaxMass(par); 00325 int i; 00326 double minDaugMass=0.; 00327 for(i=0;i<par->getNDaug();i++){ 00328 EvtParticle *dau=par->getDaug(i); 00329 if ( dau!=p) { 00330 // it might already have a mass 00331 if ( dau->isInitialized() || dau->hasValidP4() ) 00332 minDaugMass+=dau->mass(); 00333 else 00334 //give it a bit of phase space 00335 minDaugMass+=1.000001*EvtPDL::getMinMass(dau->getId()); 00336 } 00337 } 00338 if ( maxOkMass>(maxParMass-minDaugMass)) maxOkMass=maxParMass-minDaugMass; 00339 } 00340 return maxOkMass; 00341 }
|
|
00565 { 00566 00567 // Verify string 00568 00569 const char* str = _args[j].c_str(); 00570 int i = 0; 00571 while(str[i]!=0){ 00572 if (isalpha(str[i]) && str[i]!='e') { 00573 00574 report(INFO,"EvtGen") << "String " << str << " is not a number" << endl; 00575 assert(0); 00576 } 00577 i++; 00578 } 00579 00580 char** tc=0; 00581 return strtod(_args[j].c_str(),tc); 00582 }
|
|
00548 { 00549 00550 if ( _argsD ) return _argsD; 00551 //The user has asked for a list of doubles - the arguments 00552 //better all be doubles... 00553 if ( _narg==0 ) return _argsD; 00554 00555 _argsD = new double[_narg]; 00556 00557 int i; 00558 char * tc; 00559 for(i=0;i<_narg;i++) { 00560 _argsD[i] = strtod(_args[i].c_str(),&tc); 00561 } 00562 return _argsD; 00563 }
|
|
00073 {return _args;}
|
|
00075 {return _args[j];}
|
|
00061 {return _brfr;}
|
|
00066 {return _daug[i];}
|
|
00065 {return _daug;}
|
|
00077 {return _dsum; }
|
|
00076 {return _modelname; }
|
|
Implements EvtDecayBase. 00035 {
00036
00037 model_name="GOITY_ROBERTS";
00038
00039 }
|
|
00067 {return _narg;}
|
|
00064 {return _ndaug;}
|
|
00060 {return _parent;}
|
|
00068 {return _photos;}
|
|
00067 { 00068 00069 int i; 00070 00071 //diagnostics 00072 sum_prob+=prob; 00073 if (prob>max_prob) max_prob=prob; 00074 00075 00076 if ( defaultprobmax && ntimes_prob<=500 ) { 00077 //We are building up probmax with this iteration 00078 ntimes_prob += 1; 00079 if ( prob > probmax ) { probmax = prob;} 00080 if (ntimes_prob==500) { 00081 probmax*=1.2; 00082 } 00083 return 1000000.0*prob; 00084 } 00085 00086 if ( prob> probmax*1.0001) { 00087 00088 report(INFO,"EvtGen") << "prob > probmax:("<<prob<<">"<<probmax<<")"; 00089 report(INFO,"") << "("<<_modelname.c_str()<<") "; 00090 report(INFO,"") << EvtPDL::name(_parent).c_str()<<" -> "; 00091 for(i=0;i<_ndaug;i++){ 00092 report(INFO,"") << EvtPDL::name(_daug[i]).c_str() << " "; 00093 } 00094 report(INFO,"") << endl; 00095 00096 if (defaultprobmax) probmax = prob; 00097 00098 } 00099 00100 ntimes_prob += 1; 00101 00102 00103 return probmax; 00104 00105 } //getProbMax
|
|
Reimplemented from EvtDecayBase. 00048 { 00049 00050 // check that there are 0 arguments 00051 checkNArg(0); 00052 checkNDaug(4); 00053 00054 checkSpinParent(EvtSpinType::SCALAR); 00055 checkSpinDaughter(1,EvtSpinType::SCALAR); 00056 checkSpinDaughter(2,EvtSpinType::DIRAC); 00057 checkSpinDaughter(3,EvtSpinType::NEUTRINO); 00058 00059 }
|
|
Reimplemented from EvtDecayBase. 00062 { 00063 00064 setProbMax( 3000.0); 00065 }
|
|
Implements EvtDecayBase. 00035 { 00036 00037 int ntimes=10000; 00038 00039 int i,more; 00040 00041 EvtSpinDensity rho; 00042 double prob,prob_max; 00043 00044 _amp2.init(p->getId(),getNDaug(),getDaugs()); 00045 // report(INFO,"EvtGen") << "Decaying " << EvtPDL::name(p->getId()) << endl; 00046 do{ 00047 00048 _daugsDecayedByParentModel=false; 00049 _weight = 1.0; 00050 decay(p); 00051 00052 rho=_amp2.getSpinDensity(); 00053 prob=p->getSpinDensityForward().NormalizedProb(rho); 00054 if (prob<0.0) { 00055 00056 report(ERROR,"EvtGen")<<"Negative prob:"<<p->getId().getId() 00057 <<" "<<p->getChannel()<<endl; 00058 00059 report(ERROR,"EvtGen") << "rho_forward:"<<endl; 00060 report(ERROR,"EvtGen") << p->getSpinDensityForward(); 00061 report(ERROR,"EvtGen") << "rho decay:"<<endl; 00062 report(ERROR,"EvtGen") << rho <<endl; 00063 } 00064 00065 if (prob!=prob) { 00066 00067 report(DEBUG,"EvtGen") << "Forward density matrix:"<<endl; 00068 report(ERROR,"EvtGen") << p->getSpinDensityForward(); 00069 00070 report(DEBUG,"EvtGen") << "Decay density matrix:"<<endl; 00071 report(ERROR,"EvtGen") << rho; 00072 00073 report(DEBUG,"EvtGen") << "prob:"<<prob<<endl; 00074 00075 report(DEBUG,"EvtGen") << "Particle:" 00076 <<EvtPDL::name(p->getId()).c_str()<<endl; 00077 report(DEBUG,"EvtGen") << "channel :"<<p->getChannel()<<endl; 00078 report(DEBUG,"EvtGen") << "Momentum:" << p->getP4() << " " << p->mass() << endl; 00079 if( p->getParent()!=0){ 00080 report(DEBUG,"EvtGen") << "parent:" 00081 <<EvtPDL::name( 00082 p->getParent()->getId()).c_str()<<endl; 00083 report(DEBUG,"EvtGen") << "parent channel :" 00084 <<p->getParent()->getChannel()<<endl; 00085 00086 int i; 00087 report(DEBUG,"EvtGen") << "parent daughters :"; 00088 for (i=0;i<p->getParent()->getNDaug();i++){ 00089 report(DEBUG,"") << EvtPDL::name( 00090 p->getParent()->getDaug(i)->getId()).c_str() 00091 << " "; 00092 } 00093 report(DEBUG,"") << endl; 00094 00095 report(DEBUG,"EvtGen") << "daughters :"; 00096 for (i=0;i<p->getNDaug();i++){ 00097 report(DEBUG,"") << EvtPDL::name( 00098 p->getDaug(i)->getId()).c_str() 00099 << " "; 00100 } 00101 report(DEBUG,"") << endl; 00102 00103 report(DEBUG,"EvtGen") << "daughter momenta :" << endl;; 00104 for (i=0;i<p->getNDaug();i++){ 00105 report(DEBUG,"") << p->getDaug(i)->getP4() << " " << p->getDaug(i)->mass(); 00106 report(DEBUG,"") << endl; 00107 } 00108 00109 } 00110 } 00111 00112 00113 prob/=_weight; 00114 00115 00116 prob_max = getProbMax(prob); 00117 p->setDecayProb(prob/prob_max); 00118 00119 //report(INFO,"EvtGen") << "Prob,prob_max,weight:"<<prob<<" "<<prob_max<<" "<<_weight<<endl; 00120 00121 more=prob<EvtRandom::Flat(prob_max); 00122 00123 ntimes--; 00124 00125 }while(ntimes&&more); 00126 //report(INFO,"EvtGen") << "Done\n"; 00127 00128 if (ntimes==0){ 00129 report(DEBUG,"EvtGen") << "Tried accept/reject:10000" 00130 <<" times, and rejected all the times!"<<endl; 00131 report(DEBUG,"")<<p->getSpinDensityForward()<<endl; 00132 report(DEBUG,"EvtGen") << "Is therefore accepting the last event!"<<endl; 00133 report(DEBUG,"EvtGen") << "Decay of particle:"<< 00134 EvtPDL::name(p->getId()).c_str()<<"(channel:"<< 00135 p->getChannel()<<") with mass "<<p->mass()<<endl; 00136 00137 int ii; 00138 for(ii=0;ii<p->getNDaug();ii++){ 00139 report(DEBUG,"EvtGen") <<"Daughter "<<ii<<":"<< 00140 EvtPDL::name(p->getDaug(ii)->getId()).c_str()<<" with mass "<< 00141 p->getDaug(ii)->mass()<<endl; 00142 } 00143 } 00144 00145 00146 EvtSpinDensity rho_list[10]; 00147 00148 rho_list[0]=p->getSpinDensityForward(); 00149 00150 00151 EvtAmp ampcont; 00152 00153 if (_amp2._pstates!=1){ 00154 ampcont=_amp2.contract(0,p->getSpinDensityForward()); // J2BB2 bugging here 00155 00156 } 00157 else{ 00158 ampcont=_amp2; 00159 } 00160 00161 00162 00163 // it may be that the parent decay model has already 00164 // done the decay - this should be rare and the 00165 // model better know what it is doing.. 00166 00167 if ( !daugsDecayedByParentModel() ){ 00168 00169 00170 // report(INFO,"EvtGen") << "Found " << p->getNDaug() << " daughters\n"; 00171 for(i=0;i<p->getNDaug();i++){ 00172 00173 rho.SetDim(_amp2.dstates[i]); 00174 00175 if (_amp2.dstates[i]==1) { 00176 rho.Set(0,0,EvtComplex(1.0,0.0)); 00177 } 00178 else{ 00179 rho=ampcont.contract(_amp2._dnontrivial[i],_amp2); 00180 } 00181 00182 if (!rho.Check()) { 00183 00184 report(ERROR,"EvtGen") << "-------start error-------"<<endl; 00185 report(ERROR,"EvtGen")<<"forward rho failed Check:"<< 00186 EvtPDL::name(p->getId()).c_str()<<" "<<p->getChannel()<<" "<<i<<endl; 00187 00188 report(ERROR,"EvtGen")<<"Parent:"<<EvtPDL::name(p->getParent()->getId()).c_str()<<endl; 00189 report(ERROR,"EvtGen")<<"GrandParent:"<<EvtPDL::name(p->getParent()->getParent()->getId()).c_str()<<endl; 00190 report(ERROR,"EvtGen")<<"GrandGrandParent:"<<EvtPDL::name(p->getParent()->getParent()->getParent()->getId()).c_str()<<endl; 00191 00192 report(ERROR,"EvtGen") << rho; 00193 int ii; 00194 _amp2.dump(); 00195 00196 for(ii=0;ii<i+1;ii++){ 00197 report(ERROR,"EvtGen") << rho_list[ii]; 00198 } 00199 report(ERROR,"EvtGen") << "-------Done with error-------"<<endl; 00200 } 00201 00202 00203 00204 p->getDaug(i)->setSpinDensityForward(rho); 00205 00206 00207 p->getDaug(i)->decay(); 00208 00209 rho_list[i+1]= p->getDaug(i)->getSpinDensityBackward(); 00210 00211 if (_amp2.dstates[i]!=1){ 00212 ampcont=ampcont.contract(_amp2._dnontrivial[i],rho_list[i+1]); 00213 } 00214 00215 00216 } 00217 00218 p->setSpinDensityBackward(_amp2.getBackwardSpinDensity(rho_list)); 00219 00220 00221 if (!p->getSpinDensityBackward().Check()) { 00222 00223 report(ERROR,"EvtGen")<<"rho_backward failed Check"<< 00224 p->getId().getId()<<" "<<p->getChannel()<<endl; 00225 00226 report(ERROR,"EvtGen") << p->getSpinDensityBackward(); 00227 00228 } 00229 } 00230 00231 if (getPHOTOS() || EvtRadCorr::alwaysRadCorr()) { 00232 EvtRadCorr::doRadCorr(p); 00233 00234 } 00235 00236 }
|
|
00588 { 00589 00590 if ( _ndaug != other._ndaug) return false; 00591 if ( _parent != other._parent) return false; 00592 00593 std::vector<int> useDs; 00594 for ( unsigned int i=0; i<_ndaug; i++) useDs.push_back(0); 00595 00596 for ( unsigned int i=0; i<_ndaug; i++) { 00597 bool foundIt=false; 00598 for ( unsigned int j=0; j<_ndaug; j++) { 00599 if ( useDs[j] == 1 ) continue; 00600 if ( _daug[i] == other._daug[j] && _daug[i].getAlias() == other._daug[j].getAlias()) { 00601 foundIt=true; 00602 useDs[j]=1; 00603 break; 00604 } 00605 } 00606 if ( foundIt==false) return false; 00607 } 00608 for ( unsigned int i=0; i<_ndaug; i++) if ( useDs[i]==0) return false; 00609 00610 return true; 00611 00612 }
|
|
00305 { 00306 00307 defaultprobmax=0; 00308 00309 }
|
|
Reimplemented in EvtBtoKD3P, and EvtVSSBMixCPT. 00105 { return _ndaug;}
|
|
00259 { 00260 00261 int i; 00262 00263 if (ntimes_prob>0) { 00264 00265 report(INFO,"EvtGen") << "Calls="<<ntimes_prob<<" eff:"<< 00266 sum_prob/(probmax*ntimes_prob)<<" frac. max:"<<max_prob/probmax; 00267 report(INFO,"") <<" probmax:"<<probmax<<" max:"<<max_prob<<" : "; 00268 } 00269 00270 report(INFO,"") << EvtPDL::name(_parent).c_str()<<" -> "; 00271 for(i=0;i<_ndaug;i++){ 00272 report(INFO,"") << EvtPDL::name(_daug[i]).c_str() << " "; 00273 } 00274 report(INFO,"") << " ("<<_modelname.c_str()<<"):"<< endl; 00275 00276 00277 00278 }
|
|
00108 { 00109 00110 report(INFO,"EvtGen") << "Reseting prob max\n"; 00111 report(INFO,"EvtGen") << "prob > probmax:("<<prob<<">"<<probmax<<")"; 00112 report(INFO,"") << "("<<_modelname.c_str()<<")"; 00113 report(INFO,"") << EvtPDL::getStdHep(_parent)<<"->"; 00114 00115 for( int i=0;i<_ndaug;i++){ 00116 report(INFO,"") << EvtPDL::getStdHep(_daug[i]) << " "; 00117 } 00118 report(INFO,"") << endl; 00119 00120 probmax = 0.0; 00121 defaultprobmax = 0; 00122 ntimes_prob = 0; 00123 00124 return prob; 00125 00126 }
|
|
00170 { 00171 00172 int i; 00173 00174 _brfr=brfr; 00175 _ndaug=ndaug; 00176 _narg=narg; 00177 _parent=ipar; 00178 00179 _dsum=0; 00180 00181 if (_ndaug>0) { 00182 _daug=new EvtId [_ndaug]; 00183 for(i=0;i<_ndaug;i++){ 00184 _daug[i]=daug[i]; 00185 _dsum+=daug[i].getAlias(); 00186 } 00187 } 00188 else{ 00189 _daug=0; 00190 } 00191 00192 if (_narg>0) { 00193 _args=new std::string[_narg+1]; 00194 for(i=0;i<_narg;i++){ 00195 _args[i]=args[i]; 00196 } 00197 } 00198 else{ 00199 _args = 0; 00200 } 00201 00202 _modelname=name; 00203 00204 this->init(); 00205 this->initProbMax(); 00206 00207 if (_chkCharge){ 00208 this->checkQ(); 00209 } 00210 00211 00212 if (defaultprobmax){ 00213 report(INFO,"EvtGen") << "No default probmax for "; 00214 report(INFO,"") << "("<<_modelname.c_str()<<") "; 00215 report(INFO,"") << EvtPDL::name(_parent).c_str()<<" -> "; 00216 for(i=0;i<_ndaug;i++){ 00217 report(INFO,"") << EvtPDL::name(_daug[i]).c_str() << " "; 00218 } 00219 report(INFO,"") << endl; 00220 report(INFO,"") << "This is fine for development, but must be provided for production."<<endl; 00221 report(INFO,"EvtGen") << "Never fear though - the decay will use the \n"; 00222 report(INFO,"EvtGen") << "500 iterations to build up a good probmax \n"; 00223 report(INFO,"EvtGen") << "before accepting a decay. "<<endl; 00224 } 00225 00226 }
|
|
00069 {_photos=1;}
|
|
00298 { 00299 00300 defaultprobmax=0; 00301 probmax=prbmx; 00302 00303 }
|
|
00071 {_summary=1;}
|
|
00070 {_verbose=1;}
|
|
00032 {_weight=weight;}
|
|
00078 {return _summary; }
|
|
00079 {return _verbose; }
|
|
sets the amplitudes calculated in the decay objects
|
|
sets the amplitudes calculated in the decay objects
|
|
sets the amplitudes calculated in the decay objects
|
|
sets the amplitudes calculated in the decay objects
|
|
sets the amplitudes calculated in the decay objects
|
|
|
|
|