56 {
57
59
60
61
65
68 <<_nA<<","<<_nB<<","<<_nC<<endl;
69 }
70
71
75
78 <<_JA2<<","<<_JB2<<","<<_JC2<<endl;
79 }
80
81
82 int* _lambdaA2=new int[_nA];
83 int* _lambdaB2=new int[_nB];
84 int* _lambdaC2=new int[_nC];
85
87 int ib,ic;
88 for(ib=0;ib<_nB;ib++){
90 }
91
92 int i;
93
95 fillHelicity(_lambdaB2,_nB,_JB2,
getDaug(0));
96 fillHelicity(_lambdaC2,_nC,_JC2,
getDaug(1));
97
99 report(
INFO,
"EvtGen")<<
"Helicity states of particle A:"<<endl;
100 for(i=0;i<_nA;i++){
102 }
103
104 report(
INFO,
"EvtGen")<<
"Helicity states of particle B:"<<endl;
105 for(i=0;i<_nB;i++){
107 }
108
109 report(
INFO,
"EvtGen")<<
"Helicity states of particle C:"<<endl;
110 for(i=0;i<_nC;i++){
112 }
113 }
114
115
116
117 int argcounter=0;
118
119 for(ib=0;ib<_nB;ib++){
120 for(ic=0;ic<_nC;ic++){
121 _HBC[ib][ic]=0.0;
122 if (
abs(_lambdaB2[ib]-_lambdaC2[ic])<=_JA2) argcounter+=2;
123 }
124 }
125
127
128 argcounter=0;
129
130 for(ib=0;ib<_nB;ib++){
131 for(ic=0;ic<_nC;ic++){
132 if (
abs(_lambdaB2[ib]-_lambdaC2[ic])<=_JA2) {
134 argcounter+=2;
136 report(
INFO,
"EvtGen")<<
"_HBC["<<ib<<
"]["<<ic<<
"]="
137 <<_HBC[ib][ic]<<endl;
138 }
139 }
140 }
141 }
142
146 _HBC);
147
148
149 delete [] _lambdaA2;
150 delete [] _lambdaB2;
151 delete [] _lambdaC2;
152 for(int ib=0;ib<_nB;ib++){
153 delete [] _HBC[ib];
154 }
155 delete [] _HBC;
156
157}
EvtComplex exp(const EvtComplex &c)
ostream & report(Severity severity, const char *facility)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
static EvtSpinType::spintype getSpinType(EvtId i)
static int getSpin2(spintype stype)
static int getSpinStates(spintype stype)