void EvtBto2piCPiso::init(){
- // check that there are 11 arguments
+ // check that there are 10 arguments
- checkNArg(11);
+ checkNArg(10);
checkNDaug(2);
checkSpinParent(EvtSpinType::SCALAR);
double tag = EvtRandom::Flat(0.0,1.0);
if (tag < 0.5) {
- EvtCPUtil::OtherB(p,t,other_b,1.0);
- other_b = B0;
+ EvtCPUtil::getInstance()->OtherB(p,t,other_b,1.0);
+ other_b = B0;
}
else {
- EvtCPUtil::OtherB(p,t,other_b,0.0);
- other_b = B0B;
+ EvtCPUtil::getInstance()->OtherB(p,t,other_b,0.0);
+ other_b = B0B;
}
EvtComplex amp;
return ;
}
+std::string EvtBto2piCPiso::getParamName(int i) {
+ switch(i) {
+ case 0:
+ return "weakPhase";
+ case 1:
+ return "deltaM";
+ case 2:
+ return "A2";
+ case 3:
+ return "A2Phase";
+ case 4:
+ return "A2bar";
+ case 5:
+ return "A2barPhase";
+ case 6:
+ return "A0";
+ case 7:
+ return "A0Phase";
+ case 8:
+ return "A0bar";
+ case 9:
+ return "A0barPhase";
+ default:
+ return "";
+ }
+}
+
+std::string EvtBto2piCPiso::getParamDefault(int i) {
+ switch(i) {
+ case 2:
+ return "1.0";
+ case 3:
+ return "0.0";
+ case 4:
+ return "1.0";
+ case 5:
+ return "0.0";
+ case 6:
+ return "1.0";
+ case 7:
+ return "0.0";
+ case 8:
+ return "1.0";
+ case 9:
+ return "0.0";
+ default:
+ return "";
+ }
+}