Belle II Software development
EvtHNLScalarL Class Reference

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

#include <EvtHNLScalarL.h>

Inheritance diagram for EvtHNLScalarL:

Public Member Functions

 EvtHNLScalarL ()
 Default constructor.
 
virtual ~EvtHNLScalarL ()
 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.
 

Static Private Attributes

static constexpr double m_ProbMax = 10000.0
 Maximum probability used for accept-reject generation.
 

Detailed Description

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

Definition at line 17 of file EvtHNLScalarL.h.

Constructor & Destructor Documentation

◆ EvtHNLScalarL()

Default constructor.

Definition at line 22 of file EvtHNLScalarL.cc.

22{}

◆ ~EvtHNLScalarL()

~EvtHNLScalarL ( )
virtual

virtual destructor

Definition at line 24 of file EvtHNLScalarL.cc.

24{}

Member Function Documentation

◆ clone()

EvtDecayBase * clone ( )

Clones module.

Definition at line 33 of file EvtHNLScalarL.cc.

34{
35 return new EvtHNLScalarL;
36}
EvtHNLScalarL()
Default constructor.

◆ decay()

void decay ( EvtParticle * p)

Creates a decay.

Definition at line 57 of file EvtHNLScalarL.cc.

58{
59 p->initializePhaseSpace(getNDaug(), getDaugs());
60
61 const EvtParticle* s = p->getDaug(0);
62 const EvtParticle* l = p->getDaug(1);
63
64 const EvtVector4R p4_s{ s->getP4() };
65
66 const int parId{ p->getPDGId() };
67
68 for (int i{ 0 }; i < 2; ++i) {
69 for (int j{ 0 }; j < 2; ++j) {
70 const EvtVector4C current{
71 EvtLeptonVACurrent(l->spParent(j), p->sp(i)) };
72
73 // Apply CP conjugation for anti-particles
74 if (parId < 0) {
75 vertex(i, j, ::conj(p4_s * current));
76 } else {
77 vertex(i, j, p4_s * current);
78 }
79 }
80 }
81}

◆ getName()

std::string getName ( )

Returns name of module.

Definition at line 26 of file EvtHNLScalarL.cc.

27{
28 return "HNLSCALARL";
29}

◆ init()

void init ( )

Initializes module.

Definition at line 39 of file EvtHNLScalarL.cc.

40{
41 checkNArg(0);
42 checkNDaug(2);
43
44 checkSpinParent(EvtSpinType::DIRAC);
45
46 checkSpinDaughter(0, EvtSpinType::SCALAR);
47 checkSpinDaughter(1, EvtSpinType::DIRAC);
48}

◆ initProbMax()

void initProbMax ( )

Sets maximal probab.

Definition at line 51 of file EvtHNLScalarL.cc.

52{
53 setProbMax(m_ProbMax);
54}
static constexpr double m_ProbMax
Maximum probability used for accept-reject generation.

Member Data Documentation

◆ m_ProbMax

double m_ProbMax = 10000.0
staticconstexprprivate

Maximum probability used for accept-reject generation.

Definition at line 45 of file EvtHNLScalarL.h.


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