58 std::vector<EvtVector4R> product;
63 EvtSpinAmp amp = _decayTree->amplitude( product );
65 int * ilist =
new int[amp.
rank()];
73 std::vector<EvtSpinType::spintype> types(2, type);
77 newamp(index) = R.Get((index[0]+twospin)/2,(index[1]+twospin)/2);
84 std::vector<int> spins = amp.
dims();
87 for(
int i=0; i<index.size(); ++i ) {
88 ilist[i]=index[i]+spins[i];
91 vertex( ilist, amp( index ) );
void getName(std::string &name)
void decay(EvtParticle *p)
virtual EvtSpinDensity rotateToHelicityBasis() const =0
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)