Belle II Software development
EvtHNLScalarL.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <EvtGenBase/EvtDecayAmp.hh>
12
13class EvtParticle;
14
17class EvtHNLScalarL: public EvtDecayAmp {
18
19public:
20
23
25 virtual ~EvtHNLScalarL();
26
28 std::string getName();
29
31 EvtDecayBase* clone();
32
34 void decay(EvtParticle* p);
35
37 void initProbMax();
38
40 void init();
41
42private:
43
45 static constexpr double m_ProbMax = 10000.0;
46
47};
48
49
50
void init()
Initializes module.
EvtHNLScalarL()
Default constructor.
virtual ~EvtHNLScalarL()
virtual destructor
EvtDecayBase * clone()
Clones module.
static constexpr double m_ProbMax
Maximum probability used for accept-reject generation.
void initProbMax()
Sets maximal probab.
std::string getName()
Returns name of module.
void decay(EvtParticle *p)
Creates a decay.