41{
42
44
47 {
50 }
52 {
56 }
58 {
62 _isRBWmodel = !
getArg( 4 );
63 }
64 else
65 {
66 report(
ERROR,
"EvtD0mixDalitz" ) <<
"Number of arguments for this model must be 0, 2, 4 or 5:" << std::endl
67 << "[ x y ][ qp.re qp.im ][ doK-matrix ]" << std::endl
68 << "Check your dec file." << std::endl;
69 exit( 1 );
70 }
71
76
77 readPDGValues();
78
79
81
83 for ( int index = 0; index < 3; index++ )
84 dau[ index ] =
getDaug( index );
85
86 if ( parId == _D0 )
87 for ( int index = 0; index < 3; index++ )
88 if ( ( dau[ index ] == _K0B ) || ( dau[ index ] == _KS ) || ( dau[ index ] == _KL ) )
89 _d1 = index;
90 else if ( ( dau[ index ] == _PIP ) || ( dau[ index ] == _KP ) )
91 _d2 = index;
92 else if ( ( dau[ index ] == _PIM ) || ( dau[ index ] == _KM ) )
93 _d3 = index;
94 else
95 reportInvalidAndExit();
96 else if ( parId == _D0B )
97 for ( int index = 0; index < 3; index++ )
98 if ( ( dau[ index ] == _K0 ) || ( dau[ index ] == _KS ) || ( dau[ index ] == _KL ) )
99 _d1 = index;
100 else if ( ( dau[ index ] == _PIM ) || ( dau[ index ] == _KM ) )
101 _d2 = index;
102 else if ( ( dau[ index ] == _PIP ) || ( dau[ index ] == _KP ) )
103 _d3 = index;
104 else
105 reportInvalidAndExit();
106 else
107 reportInvalidAndExit();
108
109
110 _isKsPiPi = false;
111 if ( dau[ _d2 ] == _PIP || dau[ _d2 ] == _PIM )
112 _isKsPiPi = true;
113}
ostream & report(Severity severity, const char *facility)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void checkNDaug(int d1, int d2=-1)