80 cout <<
"The model have 6 parameters: |g00| phi00 |g22| phi22 |g42| phi42" << endl;
91 if ( p1str ==
"K_2*+" || p2str ==
"K_2*+" || p1str ==
"K_2*0" || p2str ==
"K_2*0" )
93 else if ( p1str ==
"K_3*+" || p2str ==
"K_3*+" || p1str ==
"K_3*0" || p2str ==
"K_3*0" )
95 else if ( p1str ==
"Zc+" || p2str ==
"pi-" || p1str ==
"Zc-" || p2str ==
"pi^+" )
97 else if ( p0str ==
"Zc+" && ( p1str ==
"J/psi" || p2str ==
"J/psi" ) ) { flag = 5; }
100 double r = 2 *
p1.d3mag();
102 double pi = 3.1415926;
106 double pmag =
phsp( mm0, mm1, mm2 );
115 double phi02 =
getArg( 1 ) * 2 *
pi;
117 double phi22 =
getArg( 3 ) * 2 *
pi;
123 std::vector<EvtComplex> VG;
127 std::vector<double> VH2, VH1, VH0;
128 VH2.resize( nd / 2 );
129 VH1.resize( nd / 2 );
130 VH0.resize( nd / 2 );
133 VH2[0] = sqrt( 2. / 5. ) * b1 * r;
134 VH2[1] = 1 / sqrt( 10. ) * r * r * r * b3;
135 VH1[0] = -1 / sqrt( 10. ) * b1 * r;
136 VH1[1] = r * r * r * b3 * sqrt( 2. / 5. );
138 else if ( flag == 3 )
140 VH2[0] = sqrt( 5. / 14. ) * b2 * r * r;
141 VH2[1] = 1 / sqrt( 7. ) * r * r * r * r * b4;
142 VH1[0] = sqrt( 1. / 7. ) * b2 * r * r;
143 VH1[1] = -sqrt( 5. / 14. ) * r * r * r * r * b4;
145 else if ( flag == 4 || flag == 5 )
147 VH2[0] = sqrt( 1. / 3. ) * b0;
148 VH2[1] = 1 / sqrt( 6. ) * r * r * b2;
149 VH1[0] = sqrt( 1. / 3. ) * b0;
150 VH1[1] = -2 / sqrt( 6. ) * r * r * b2;
154 std::cout <<
"Not allowed mode!" << std::endl;
162 std::vector<double> DH1, DH2;
169 for (
int i = 0; i < nd; i++ )
171 for (
int j = 0; j < nd; j++ )
173 _H2err += DH2[i] * DH2[j] * VC[i][j];
174 _H1err += DH1[i] * DH1[j] * VC[i][j];
185 double pi = 3.1415926;
186 std::vector<double> fd;
188 double phi02 =
getArg( 1 ) * 2 *
pi;
190 double phi22 =
getArg( 3 ) * 2 *
pi;
191 std::vector<double> vpar;
192 vpar.push_back( g02 );
193 vpar.push_back( phi02 );
194 vpar.push_back( g22 );
195 vpar.push_back( phi22 );
199 double hamps0 =
abs2( H20 );
200 for (
int i = 0; i < vpar.size(); i++ )
203 vpar.push_back( g02 );
204 vpar.push_back( phi02 );
205 vpar.push_back( g22 );
206 vpar.push_back( phi22 );
212 double hamps2 =
abs2( H20 );
213 double xder = ( hamps2 - hamps0 ) / dev;
214 fd.push_back( xder );
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)