Belle II Software prerelease-11-00-00a
EvtHNLHQET3 Class Reference

The class provides the form factors for orbitally excited semileptonic decays. More...

#include <EvtHNLHQET3.h>

Inheritance diagram for EvtHNLHQET3:
Collaboration diagram for EvtHNLHQET3:

Public Member Functions

 EvtHNLHQET3 ()
 Default constructor.
 
virtual ~EvtHNLHQET3 ()
 virtual destructor
 
std::string getName ()
 Returns name of module.
 
EvtDecayBase * clone ()
 Clones module.
 
void decay (EvtParticle *p)
 Creates a decay.
 
void initProbMax ()
 Sets maximal probab.
 
void init ()
 Initializes module.
 

Private Attributes

EvtSemiLeptonicFF * hqetffmodel
 Pointers needed for FFs.
 
EvtSemiLeptonicAmp * calcamp
 Pointers needed to calculate amplitude.
 

Detailed Description

The class provides the form factors for orbitally excited semileptonic decays.

Definition at line 19 of file EvtHNLHQET3.h.

Constructor & Destructor Documentation

◆ EvtHNLHQET3()

Default constructor.

Definition at line 23 of file EvtHNLHQET3.cc.

23 :
25 , calcamp(0)
26{}
EvtSemiLeptonicAmp * calcamp
Pointers needed to calculate amplitude.
Definition EvtHNLHQET3.h:50
EvtSemiLeptonicFF * hqetffmodel
Pointers needed for FFs.
Definition EvtHNLHQET3.h:47

◆ ~EvtHNLHQET3()

~EvtHNLHQET3 ( )
virtual

virtual destructor

Definition at line 28 of file EvtHNLHQET3.cc.

29{
30 delete hqetffmodel;
31 hqetffmodel = 0;
32 delete calcamp;
33 calcamp = 0;
34}

Member Function Documentation

◆ clone()

EvtDecayBase * clone ( )

Clones module.

Definition at line 45 of file EvtHNLHQET3.cc.

46{
47
48 return new EvtHNLHQET3;
49
50}
EvtHNLHQET3()
Default constructor.

◆ decay()

void decay ( EvtParticle * p)

Creates a decay.

Definition at line 53 of file EvtHNLHQET3.cc.

54{
55
56 p->initializePhaseSpace(getNDaug(), getDaugs());
57 calcamp->CalcAmp(p, _amp2, hqetffmodel);
58
59}

◆ getName()

std::string getName ( )

Returns name of module.

Definition at line 36 of file EvtHNLHQET3.cc.

37{
38
39 return "HNLHQET3";
40
41}

◆ init()

void init ( )

Initializes module.

Definition at line 96 of file EvtHNLHQET3.cc.

97{
98
99 checkNDaug(3);
100
101 //We expect the parent to be a scalar
102 //and the daughters to be X lepton neutrino
103 checkSpinParent(EvtSpinType::SCALAR);
104
105 checkSpinDaughter(1, EvtSpinType::DIRAC);
106 checkSpinDaughter(2, EvtSpinType::DIRAC);
107
108 EvtSpinType::spintype d1type = EvtPDL::getSpinType(getDaug(0));
109 if (d1type == EvtSpinType::SCALAR) {
110 if (getNArg() == 3) {
111 hqetffmodel = new EvtHQET3FF(getArg(0), getArg(1), getArg(2));
112 calcamp = new EvtHNLSemiLeptonicScalarAmp;
113 } else {
114 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "HNLHQET3 model for scalar meson daughters needs 2 arguments. Sorry." << endl;
115 ::abort();
116 }
117 } else if (d1type == EvtSpinType::VECTOR) {
118 if (getNArg() == 5) {
119 hqetffmodel = new EvtHQET3FF(getArg(0), getArg(1), getArg(2), getArg(3), getArg(4));
120 calcamp = new EvtHNLSemiLeptonicVectorAmp;
121 } else {
122 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "HNLHQET3 model for vector meson daughtersneeds 4 arguments. Sorry." << endl;
123 ::abort();
124 }
125 } else {
126 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "HNLHQET3 model handles only scalar and vector meson daughters. Sorry." << endl;
127 ::abort();
128 }
129
130
131}

◆ initProbMax()

void initProbMax ( )

Sets maximal probab.

Definition at line 61 of file EvtHNLHQET3.cc.

62{
63
64 EvtId parnum, mesnum, lnum, nunum;
65
66 parnum = getParentId();
67 mesnum = getDaug(0);
68 lnum = getDaug(1);
69 nunum = getDaug(2);
70
71 double mymaxprob = calcamp->CalcMaxProb(parnum, mesnum,
72 lnum, nunum, hqetffmodel);
73
74 // Leptons
75 static EvtId EM = EvtPDL::getId("e-");
76 static EvtId EP = EvtPDL::getId("e+");
77 static EvtId MUM = EvtPDL::getId("mu-");
78 static EvtId MUP = EvtPDL::getId("mu+");
79 static EvtId TAUM = EvtPDL::getId("tau-");
80 static EvtId TAUP = EvtPDL::getId("tau+");
81
82 if (lnum == EP || lnum == EM || lnum == MUP || lnum == MUM) {
83 setProbMax(mymaxprob);
84 return;
85 }
86 if (lnum == TAUP || lnum == TAUM) {
87 setProbMax(6500);
88 return;
89 }
90
91
92
93}

Member Data Documentation

◆ calcamp

EvtSemiLeptonicAmp* calcamp
private

Pointers needed to calculate amplitude.

Definition at line 50 of file EvtHNLHQET3.h.

◆ hqetffmodel

EvtSemiLeptonicFF* hqetffmodel
private

Pointers needed for FFs.

Definition at line 47 of file EvtHNLHQET3.h.


The documentation for this class was generated from the following files: