18 out <<
" All known 4-body spin factors with example decays:\n" 19 <<
" (Not all examples are necessarily physical)\n" 20 <<
" -------------------- " << std::endl;
22 out <<
" SF_BtoAV0_AtoVP1_VtoP2P3:\n" 24 <<
" -------------------- " << std::endl;
26 out <<
" SF_BtoAV0_AtoVP1Dwave_VtoP2P3:\n" 28 <<
" -------------------- " << std::endl;
30 out <<
" SF_BtoAV0_AtoVP1_VtoP2P3_P:\n" 32 <<
" -------------------- " << std::endl;
34 out <<
" SF_BtoAV0_AtoVP1_VtoP2P3_D:\n" 36 <<
" -------------------- " << std::endl;
38 out <<
" SF_BtoPseudoTV0_PseudoTtoVP1_VtoP2P3_P:\n" 40 <<
" -------------------- " << std::endl;
42 out <<
" SF_BtoPseudoTV0_PseudoTtoVP1_VtoP2P3_D:\n" 44 <<
" -------------------- " << std::endl;
46 out <<
" SF_BtoPseudoTV0_PseudoTtoSP1_StoP2P3_P:\n" 48 <<
" -------------------- " << std::endl;
50 out <<
" SF_BtoTV0_TtoVP1_VtoP2P3_P:\n" 52 <<
" -------------------- " << std::endl;
54 out <<
" SF_BtoPseudoTV0_PseudoTtoTP1_TtoP2P3_P:\n" 56 <<
" -------------------- " << std::endl;
58 out <<
" SF_BtoVP1_VtoV0S_StoP2P3:\n" 60 <<
" -------------------- " << std::endl;
62 out <<
" SF_BtoV1V0_V1toV2P1_V2toP2P3:\n" 64 <<
" -------------------- " << std::endl;
66 out <<
" SF_BtoPV0_PtoP1V1_V1toP2P3:\n" 68 <<
" -------------------- " << std::endl;
70 out <<
" SF_DtoPP0_PtoVP1_VtoP2P3:\n" 72 <<
" -------------------- " << std::endl;
74 out <<
" SF_DtoAP0_AtoVP1_VtoP2P3:\n" 76 <<
" -------------------- " << std::endl;
78 out <<
" SF_DtoAP0_AtoVP1Dwave_VtoP2P3:\n" 80 <<
" -------------------- " << std::endl;
82 out <<
" SF_DtoAP0_AtoSP1_StoP2P3:\n" 84 <<
" -------------------- " << std::endl;
86 out <<
" SF_DtoV1V2_V1toP0P1_V1toP2P3_S:\n" 89 <<
" -------------------- " << std::endl;
91 out <<
" SF_DtoV1V2_V1toP0P1_V1toP2P3_D:\n" 94 <<
" -------------------- " << std::endl;
96 out <<
" SF_DtoVT_VtoP0P1_TtoP2P3_P:\n" 99 <<
" -------------------- " << std::endl;
101 out <<
" SF_DtoV1V2_V1toP0P1_V1toP2P3_S_nonResV1:\n" 104 <<
" -------------------- " << std::endl;
106 out <<
" SF_DtoVS_VtoP0P1_StoP2P3:\n" 108 <<
" -------------------- " << std::endl;
110 out <<
" SF_DtoVS_VtoP0P1_StoP2P3_nonResV:\n" 112 <<
" -------------------- " << std::endl;
114 out <<
" SF_DtoPP1P2_PtoP3P4 (\"artificial\" decay):\n" 116 <<
" -------------------- " << std::endl;
118 out <<
" SF_DtoS1S2_S1toP1P2_S2toP3P4:\n" 120 <<
" -------------------- " << std::endl;
127 ,
const std::string& lopt
133 if(dbThis) cout <<
"SpinFactorMaker called with option " << lopt << endl;
136 if(dbThis) cout <<
"returning flat" << endl;
140 int nFinalStates = thisDcy.
finalState().size();
141 if(nFinalStates < 3 || nFinalStates == thisDcy.
nDgtr() ){
144 }
else if( 3 == nFinalStates){
146 if(dbThis) cout <<
"... returning GS spin factor" << endl;
148 if(dbThis) cout <<
" .. with name: " << sf->
name() << endl;
150 cout <<
" calling SpinFactorMaker3Body " << endl;
153 }
else if( 4 == nFinalStates){
156 cout <<
" SpinFactorMaker: Don't know any spin" 157 <<
" factors for a final state with " 158 << nFinalStates <<
" particles." << endl;
163 cout <<
"ERROR in SpinFactorMaker! Couldn't find spin factor" 164 <<
"\n I will crash now!" << endl;
165 throw "no spin factor";
178 std::cout <<
"SpinFactorMaker3Body called for" 185 std::cout <<
"found a spin factor for this decay:\n" 186 << thisDcy << std::endl;
193 std::cout <<
"found a spin factor for this decay:\n" 194 << thisDcy << std::endl;
201 std::cout <<
"found a spin factor for this decay:\n" 202 << thisDcy << std::endl;
209 std::cout <<
"found a spin factor for this decay:\n" 210 << thisDcy << std::endl;
217 std::cout <<
"found a spin factor for this decay:\n" 218 << thisDcy << std::endl;
225 std::cout <<
"found a spin factor for this decay:\n" 226 << thisDcy << std::endl;
231 cout <<
"thisDcy.getVal().J() " << thisDcy.
getVal().J() << endl;
232 if(thisDcy.
getVal().J()==
"0"){
233 cout <<
"calling SpinFactor3()" << endl;
236 std::cout <<
"SpinFactorMaker 3 WARNING!!" 237 <<
" don't know spin factor of this decay:\n" 239 <<
" (" << SPD_Wave <<
"-wave)" << std::endl;
250 std::cout <<
"SpinFactorMaker4Body called for" 258 std::cout <<
"found a spin factor for this decay:\n" 259 << thisDcy << std::endl;
269 std::cout <<
"found a spin factor for this decay:\n" 270 << thisDcy << std::endl;
280 std::cout <<
"found a spin factor for this decay:\n" 281 << thisDcy << std::endl;
291 std::cout <<
"found a spin factor for this decay:\n" 292 << thisDcy << std::endl;
302 std::cout <<
"found a spin factor for this decay:\n" 303 << thisDcy << std::endl;
313 std::cout <<
"found a spin factor for this decay:\n" 314 << thisDcy << std::endl;
324 std::cout <<
"found a spin factor for this decay:\n" 325 << thisDcy << std::endl;
335 std::cout <<
"found a spin factor for this decay:\n" 336 << thisDcy << std::endl;
346 std::cout <<
"found a spin factor for this decay:\n" 347 << thisDcy << std::endl;
358 std::cout <<
"found a spin factor for this decay:\n" 359 << thisDcy << std::endl;
369 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
380 std::cout <<
"found a spin factor for this decay:\n" 381 << thisDcy << std::endl;
391 std::cout <<
"found a spin factor for this decay:\n" 392 << thisDcy << std::endl;
402 std::cout <<
"found a spin factor for this decay:\n" 403 << thisDcy << std::endl;
413 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
428 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
439 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
449 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
459 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
469 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
479 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
489 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
499 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
509 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
519 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
529 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
539 std::cout <<
"found a spin factor for this decay:\n" << thisDcy << std::endl;
549 std::cout <<
"found a spin factor for this decay:\n" 550 << thisDcy << std::endl;
557 std::cout <<
"found a spin factor for this decay:\n" 558 << thisDcy << std::endl;
565 std::cout <<
"found a spin factor for this decay:\n" 566 << thisDcy << std::endl;
573 std::cout <<
"found a spin factor for this decay:\n" 574 << thisDcy << std::endl;
581 std::cout <<
"found a spin factor for this decay:\n" 582 << thisDcy << std::endl;
589 std::cout <<
"found a spin factor for this decay:\n" 590 << thisDcy << std::endl;
597 std::cout <<
"found a spin factor for this decay:\n" 598 << thisDcy << std::endl;
608 std::cout <<
"found a spin factor for this decay:\n" 609 << thisDcy << std::endl;
616 std::cout <<
"found a spin factor for this decay:\n" 617 << thisDcy << std::endl;
623 std::cout <<
"found a spin factor for this decay:\n" 624 << thisDcy << std::endl;
630 std::cout <<
"found a spin factor for this decay:\n" 631 << thisDcy << std::endl;
638 std::cout <<
"found a spin factor for this decay as " 640 << thisDcy << std::endl;
647 std::cout <<
"found a spin factor for this decay as " 649 << thisDcy << std::endl;
656 std::cout <<
"found a spin factor for this decay as " 658 << thisDcy << std::endl;
665 std::cout <<
"found a spin factor for this decay as " 667 << thisDcy << std::endl;
674 std::cout <<
"found a spin factor for this decay as " 676 << thisDcy << std::endl;
683 std::cout <<
"found a spin factor for this decay." 684 << thisDcy << std::endl;
691 std::cout <<
"found a spin factor for this decay as " 693 << thisDcy << std::endl;
694 std::cout <<
"WARNING!! You didn't specify that this is supposed to be" 695 <<
" treated as S-Wave!!\n I just assume it is." << std::endl;
702 std::cout <<
"found a spin factor for this decay:\n" 703 << thisDcy << std::endl;
710 std::cout <<
"found a spin factor for this decay:\n" 711 << thisDcy << std::endl;
727 std::cout <<
"found a spin factor for this decay:\n" 728 << thisDcy << std::endl;
734 std::cout <<
"found a spin factor for this decay:\n" 735 << thisDcy << std::endl;
741 std::cout <<
"found a spin factor for this decay:\n" 742 << thisDcy << std::endl;
748 std::cout <<
"found a spin factor for this decay:\n" 749 << thisDcy << std::endl;
755 std::cout <<
"found a spin factor for this decay:\n" 756 << thisDcy << std::endl;
762 std::cout <<
"found a spin factor for this decay:\n" 763 << thisDcy << std::endl;
769 std::cout <<
"found a spin factor for this decay:\n" 770 << thisDcy << std::endl;
776 std::cout <<
"found a spin factor for this decay:\n" 777 << thisDcy << std::endl;
783 std::cout <<
"found a spin factor for this decay:\n" 784 << thisDcy << std::endl;
790 std::cout <<
"found a spin factor for this decay:\n" 791 << thisDcy << std::endl;
797 std::cout <<
"found a spin factor for this decay:\n" 798 << thisDcy << std::endl;
802 std::cout <<
"SpinFactorMaker WARNING!!" 803 <<
" don't know spin factor of this decay:\n" 805 <<
" (" << SPD_Wave <<
"-wave)" << std::endl;
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
ISpinFactor * SpinFactorMaker3Body(const AssociatedDecayTree &thisDcy, char SPD_Wave, const std::string &lopt)
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
void PrintAllSpinFactors(std::ostream &out)
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
ISpinFactor * SpinFactorMaker(const AssociatedDecayTree &thisDcy, char SPD_Wave, const std::string &lopt)
virtual std::string name() const =0
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
const ValueType & getVal() const
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
bool A_is_in_B(const std::string &a, const std::string &b)
ISpinFactor * SpinFactorMaker4Body(const AssociatedDecayTree &thisDcy, char SPD_Wave, const std::string &lopt)
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
bool equalBySVPAT_L(DecayTree A, DecayTree B)
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
bool equalBySVPAT(DecayTree A, DecayTree B)
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
std::vector< const ValueType * > finalState() const
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()
static const DecayTree & getExampleDecay()