44 {
45
47
52 if ( !( idN && idKs && idPi ) )
53 {
54 std::cout << "EvtD0toKSpi0etaPlot: the daughter sequence should be Ks/Kl pi0 eta"
55 << std::endl;
56 abort();
57 }
58
60
61 Xmin = 0.4;
62 Xmax = 1.734;
63 Xwid = 0.1334;
64 Ymin = 0.466;
65 Ymax = 1.869;
66 Ywid = 0.1403;
67 avm1 = 0.125;
68 double HisPDFtmp[12][12] = {
69 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
70 { 0, 0.00527169, 0.0113872, 0.0301807, 0.0804598, 0.0617421, 0.0427827, 0.0540283,
71 0.0165289, 0, 0, 0 },
72 { 0, 0.020155, 0.0159653, 0.0296171, 0.0808365, 0.0416933, 0.0265935, 0.0193752,
73 0.0441176, 0.0259259, 0.0287037, 0 },
74 { 0, 0.0417141, 0.0513983, 0.0479749, 0.0659032, 0.0323741, 0.0175809, 0.0304969,
75 0.0254219, 0.054984, 0.0801812, 0.0493827 },
76 { 0, 0.0388568, 0.00614035, 0.0154096, 0.028749, 0.0281987, 0.0182064, 0.00844951,
77 0.00682977, 0.0027885, 0.00239316, -0.0173611 },
78 { 0, 0.0100519, 0.0169912, 0.0200723, 0.0272782, 0.0163995, 0.0231309, 0.0170477,
79 0.013863, 0.000892459, 0.00420168, 0 },
80 { 0, 0.0361953, 0.0251366, 0.0173922, 0.0399432, 0.00877736, 0.0105188, 0.0110497,
81 0.0107359, 0.00134903, 0.00448934, 0 },
82 { 0, 0.0078219, 0.0234282, 0.0324155, 0.0451149, 0.011002, 0.0149195, 0.00172265,
83 0.00821524, 0, 0, 0 },
84 { 0, 0.021721, 0.0280722, 0.0341469, 0.0507545, 0.0136752, 0.011148, 0.0100806,
85 0.00383142, 0, 0, 0 },
86 { 0, 0, 0.0237679, 0.0316915, 0.0674883, 0.018785, 0.0192308, 0.0037594, 0.047619, 0, 0,
87 0 },
88 { 0, 0, 0.0307692, 0.0461138, 0.0755956, 0.0250696, 0, 0, 0, 0, 0, 0 },
89 { 0, 0, 0, 0, 0.0938697, 0.125, 0, 0, 0, 0, 0, 0 },
90 };
91
92 for ( int i = 0; i < 12; i++ )
93 {
94 for ( int j = 0; j < 12; j++ ) { HisPDF[i][j] = HisPDFtmp[i][j]; }
95 }
96}
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
static EvtSpinType::spintype getSpinType(EvtId i)
static EvtId getId(const std::string &name)