#include "HADRONS++/Current_Library/VA_B_B.H" #include "METOOLS/Main/XYZFuncs.H" #include "ATOOLS/Org/Exception.H" #include "ATOOLS/Org/My_MPI.H" using namespace HADRONS; using namespace ATOOLS; using namespace METOOLS; using namespace std; #include "HADRONS++/Current_Library/VA_B_B_HO.C" #include "HADRONS++/Current_Library/VA_B_B_ST.C" VA_B_B_FFs::FormFactor_Base::~FormFactor_Base() { } void VA_B_B::SetModelParameters( struct GeneralModel model ) { m_V_CKM = model("V_CKM",1.0); switch(int(model("mode",-1.0)+0.5)) { case 0: case 2: case 10: case 11: case 12: m_unnatural = false; break; case 1: case 13: case 14: m_unnatural = true; break; default: int temp = int(model("unnatural",-1.0)+0.5); if(temp==0 || temp==1) m_unnatural=bool(temp); else THROW(fatal_error, "\"unnatural\" not specified in "+m_name); break; } m_v = model("v", 1.0); m_a = model("a", -1.0); switch( int(model("FORM_FACTOR", 1)+0.5) ) { case 1: p_ff = new VA_B_B_FFs::HO(model,p_masses,"HONR"); msg_Tracking()<<" Using HONR form factor model for "<CalcFFs(p0, p1); cout< "< > spins; spins.push_back(make_pair(0,h0)); spins.push_back(make_pair(1,h1)); Insert( m_V_CKM*amp ,spins ); } } } DEFINE_CURRENT_GETTER(VA_B_B,"VA_B_B") void ATOOLS::Getter:: PrintInfo(std::ostream &st,const size_t width) const { st<