Belle II Software development
EvtHNLHQET3 Class Reference

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

#include <EvtHNLHQET3.h>

Inheritance 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 24 of file EvtHNLHQET3.cc.

24 :
26 , calcamp(0)
27{}
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 29 of file EvtHNLHQET3.cc.

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

Member Function Documentation

◆ clone()

EvtDecayBase * clone ( )

Clones module.

Definition at line 46 of file EvtHNLHQET3.cc.

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

◆ decay()

void decay ( EvtParticle * p)

Creates a decay.

Definition at line 54 of file EvtHNLHQET3.cc.

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

◆ getName()

std::string getName ( )

Returns name of module.

Definition at line 37 of file EvtHNLHQET3.cc.

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

◆ init()

void init ( )

Initializes module.

Definition at line 97 of file EvtHNLHQET3.cc.

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

◆ initProbMax()

void initProbMax ( )

Sets maximal probab.

Definition at line 62 of file EvtHNLHQET3.cc.

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

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: