57 <<
"_nA,_nB,_nC:" << _nA <<
"," << _nB <<
"," << _nC << endl;
67 <<
"_JA2,_JB2,_JC2:" << _JA2 <<
"," << _JB2 <<
"," << _JC2 << endl;
71 std::vector<int> _lambdaA2( _nA );
72 std::vector<int> _lambdaB2( _nB );
73 std::vector<int> _lambdaC2( _nC );
76 for (
int ib = 0; ib < _nB; ib++ ) {
89 <<
"Helicity states of particle A:" << endl;
90 for ( i = 0; i < _nA; i++ ) {
95 <<
"Helicity states of particle B:" << endl;
96 for ( i = 0; i < _nB; i++ ) {
101 <<
"Helicity states of particle C:" << endl;
102 for ( i = 0; i < _nC; i++ ) {
111 for (
int ib = 0; ib < _nB; ib++ ) {
112 for (
int ic = 0; ic < _nC; ic++ ) {
114 if (
abs( _lambdaB2[ib] - _lambdaC2[ic] ) <= _JA2 )
123 for (
int ib = 0; ib < _nB; ib++ ) {
124 for (
int ic = 0; ic < _nC; ic++ ) {
125 if (
abs( _lambdaB2[ib] - _lambdaC2[ic] ) <= _JA2 ) {
126 _HBC[ib][ic] =
getArg( argcounter ) *
132 <<
"_HBC[" << ib <<
"][" << ic <<
"]=" << _HBC[ib][ic]
143 for (
int ib = 0; ib < _nB; ib++ ) {
155 <<
"Calculated probmax" << maxprob << endl;
174 if ( n == 2 && J2 == 2 ) {
181 if ( n == 1 && J2 == 1 ) {
192 assert( n == J2 + 1 );
194 for ( i = 0; i < n; i++ ) {
195 lambda2[i] = n - i * 2 - 1;
void initProbMax() override
void decay(EvtParticle *p) override
double getArg(unsigned int j)
static EvtSpinType::spintype getSpinType(EvtId i)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
std::string getName() override
static int getSpinStates(spintype stype)
std::unique_ptr< EvtEvalHelAmp > _evalHelAmp
void setProbMax(double prbmx)
EvtId getParentId() const
double initializePhaseSpace(unsigned int numdaughter, EvtId *daughters, bool forceResetMasses=false, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
double abs(const EvtComplex &c)
static int getSpin2(spintype stype)
EvtDecayBase * clone() override
EvtComplex exp(const EvtComplex &c)
void fillHelicity(int *lambda2, int n, int J2, EvtId id)
static int getStdHep(EvtId id)
EvtId getDaug(int i) const