10#include "EvtGenBase/EvtParticle.hh"
11#include "EvtGenBase/EvtPDL.hh"
15#include "framework/logging/Logger.h"
17#include "generators/evtgen/EvtGenModelRegister.h"
18#include "generators/evtgen/models/EvtBSemiTauonic2HDMType2.h"
19#include "generators/evtgen/models/EvtBSemiTauonicHelicityAmplitudeCalculator.h"
20#include "generators/evtgen/models/EvtBSemiTauonicVectorMesonAmplitude.h"
21#include "generators/evtgen/models/EvtBSemiTauonicScalarMesonAmplitude.h"
42 return "BSTD_2HDMTYPE2";
55 p->initializePhaseSpace(getNDaug(), getDaugs());
61 EvtId parnum, mesnum, lnum, nunum;
63 parnum = getParentId();
72 B2INFO(
"EvtBSemiTauonic2HDMType2::initProbMax()>> maxprob: " << maxprob);
84 checkSpinParent(EvtSpinType::SCALAR);
86 checkSpinDaughter(1, EvtSpinType::DIRAC);
87 checkSpinDaughter(2, EvtSpinType::NEUTRINO);
89 const double m_tau = EvtPDL::getMeanMass(getDaug(1));
91 EvtSpinType::spintype d1type = EvtPDL::getSpinType(getDaug(0));
93 if (d1type == EvtSpinType::VECTOR) {
94 B2INFO(
"EvtBSemiTauonic2HDMType2::init()>> Initializing for decays to a vector type meson ");
97 const double rhoa12 = getArg(0);
98 const double R11 = getArg(1);
99 const double R21 = getArg(2);
100 const double aR3 = getArg(3);
102 const double rho12 = 0;
103 const double aS1 = 0;
105 EvtComplex Coeffs[5];
107 const double m_b = getArg(4);
108 const double m_c = getArg(5);
109 const double tanBetaOverMH = getArg(6);
110 B2INFO(
"tan(beta)/m_H+ = " << tanBetaOverMH);
114 Coeffs[2] = -m_b * m_tau * tanBetaOverMH * tanBetaOverMH;
118 if (getNArg() == 8) {
120 const double m_H = getArg(7);
121 Coeffs[3] = -m_c * m_tau / m_H / m_H;
125 Coeffs[0], Coeffs[1], Coeffs[2], Coeffs[3], Coeffs[4],
126 EvtPDL::getMeanMass(getParentId()),
128 EvtPDL::getMeanMass(getDaug(0)));
130 }
else if (d1type == EvtSpinType::SCALAR) {
131 B2INFO(
"EvtBSemiTauonic2HDMType2::init()>> Initializing for decays to a scalar type meson ");
134 const double rho12 = getArg(0);
135 const double aS1 = getArg(1);
137 const double rhoa12 = 0;
138 const double R11 = 0;
139 const double R21 = 0;
140 const double aR3 = 0;
142 EvtComplex Coeffs[5];
144 const double m_b = getArg(2);
145 const double m_c = getArg(3);
146 const double tanBetaOverMH = getArg(4);
147 B2INFO(
"tan(beta)/m_H+ = " << tanBetaOverMH);
151 Coeffs[2] = -m_b * m_tau * tanBetaOverMH * tanBetaOverMH;
155 if (getNArg() == 6) {
157 const double m_H = getArg(5);
158 Coeffs[3] = -m_c * m_tau / m_H / m_H;
162 Coeffs[0], Coeffs[1], Coeffs[2], Coeffs[3], Coeffs[4],
163 EvtPDL::getMeanMass(getParentId()),
164 EvtPDL::getMeanMass(getDaug(0)),
168 B2ERROR(
"BSemiTauonic2HDMType2 model handles only scalar and vector meson daughters.");
The EvtGen model of semi-tauonic B decays including the charged higgs effect of 2HDM Type2 based on [...
EvtBSemiTauonicAmplitude * m_CalcAmp
A pointer to the spin-dependent amplitude calculator specific to the spin type of the daughter meson.
EvtBSemiTauonicHelicityAmplitudeCalculator * m_CalcHelAmp
A pointer to the helicity amplitude calculator.
virtual void CalcAmp(EvtParticle *parent, EvtAmp &, EvtBSemiTauonicHelicityAmplitudeCalculator *HelicityAmplitudeCalculator)=0
The function calculates the spin dependent amplitude.
The class calculates the helicity amplitude of semi-tauonic B decays including new physics effects ba...
The class calculates the spin dependent amplitudes of B->Dtaunu decays for the BSemiTauonic model bas...
The class calculates the spin dependent amplitudes of B->D*taunu decays for the BSemiTauonic model ba...
void init()
The function initializes the decay.
EvtBSemiTauonic2HDMType2()
The default constructor
virtual ~EvtBSemiTauonic2HDMType2()
The destructor
EvtDecayBase * clone()
The function makes a copy of an EvtBSemiTauonic2HDMType2 object.
void initProbMax()
The function sets the maximum value of the probability.
std::string getName()
The function returns the model name.
#define B2_EVTGEN_REGISTER_MODEL(classname)
Class to register B2_EVTGEN_REGISTER_MODEL.
void decay(EvtParticle *p)
The function evaluates the decay amplitude of the parent particle.
double CalcMaxProb(EvtId parent, EvtId meson, EvtId lepton, EvtId nudaug, EvtBSemiTauonicHelicityAmplitudeCalculator *HelicityAmplitudeCalculator)
The function calculates the maximum probability.
Abstract base class for different kinds of events.