54 if(!(idN && idKs && idPi ) ){std::cout<<
"EvtDtoKSpietaPlot: the daughter sequence should be Ks/Kl pi+ eta"<<std::endl;abort();}
64double HisPDFtmp[12][12] =
66{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
67{0, 1e-07, 0.0119599, 0.0296515, 0.0444187, 0.0196774, 0.00679957, 0.00950145, 0.00704225, 0.0833333, 1e-07, 0},
68{0, 0.00265756, 0.00594999, 0.04354, 0.0266106, 0.00888889, 0.0104167, 0.00903452, 0.0110731, 0.00418803, 1e-07, 0},
69{0, 0.00629828, 0.0145145, 0.0280041, 0.0236976, 0.0160962, 0.00604595, 0.0225225, 0.00838338, 0.00828402, 0.0102041, 0},
70{0, 0.0058566, 0.0214311, 0.0238095, 0.0421477, 0.0116178, 0.0188645, 0.0262201, 0.00917431, 0.00817757, 0.00310856, 0},
71{0, 0.00679852, 0.0101833, 0.0106561, 0.0188282, 0.0231757, 0.0246205, 0.0146294, 0.0124968, 0.0152171, 0.00802826, 0},
72{0, 0.01116, 0.00961875, 0.0153356, 0.0245832, 0.0207115, 0.0180312, 0.01606, 0.0126437, 0.00146566, 0.00326797, 0},
73{0, 0.005919, 0.00744745, 0.0114328, 0.0330096, 0.0306159, 0.0280269, 0.0182468, 0.0111238, 0.00387888, 1e-07, 0},
74{0, 0.00185185, 0.00144012, 0.0189673, 0.0478907, 0.0233768, 0.0250272, 0.0130943, 0.0166364, 1e-07, 1e-07, 0},
75{0, 1e-07, 0.00462388, 0.0170154, 0.0512206, 0.0407905, 0.0289623, 0.0307394, 1e-07, 1e-07, 1e-07, 0},
76{0, 1e-07, 0.00657895, 0.0152134, 0.0479368, 0.0486111, 0.0318021, 0.166667, 1e-07, 1e-07, 1e-07, 0},
77{0, 0, 0, 0, 0.0689655, 0.240741, 0, 0, 0, 0, 0, 0}
81 for (
int j=0; j<12; j++) {
82 HisPDF[i][j] = HisPDFtmp[i][j];
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)