EvtGen
2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtGenModels
EvtSVSCPLH.hh
Go to the documentation of this file.
1
2
/***********************************************************************
3
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
4
* *
5
* This file is part of EvtGen. *
6
* *
7
* EvtGen is free software: you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation, either version 3 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* EvtGen is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
19
***********************************************************************/
20
21
#ifndef EVTSVSCPLH_HH
22
#define EVTSVSCPLH_HH
23
24
#include "
EvtGenBase/EvtComplex.hh
"
25
#include "
EvtGenBase/EvtDecayAmp.hh
"
26
27
class
EvtParticle
;
28
29
// Description: The decay of a scalar to a scalar and a vector particle are
30
// performed with CP violation and different widths for
31
// the cp even and odd states. E.g. B->J/psi K_S.
32
33
class
EvtSVSCPLH
:
public
EvtDecayAmp
{
34
public
:
35
std::string
getName
()
const override
;
36
EvtDecayBase
*
clone
()
const override
;
37
38
void
initProbMax
()
override
;
39
void
init
()
override
;
40
41
void
decay
(
EvtParticle
* p )
override
;
42
43
private
:
44
EvtComplex
m_Af
,
m_Abarf
;
45
EvtComplex
m_qop
,
m_poq
;
46
47
double
m_dm
;
48
double
m_dgamma
;
49
};
50
51
#endif
EvtComplex.hh
EvtDecayAmp.hh
EvtComplex
Definition
EvtComplex.hh:29
EvtDecayAmp
Definition
EvtDecayAmp.hh:29
EvtDecayBase::EvtDecayBase
EvtDecayBase()=default
EvtParticle
Definition
EvtParticle.hh:45
EvtSVSCPLH
Definition
EvtSVSCPLH.hh:33
EvtSVSCPLH::m_dm
double m_dm
Definition
EvtSVSCPLH.hh:47
EvtSVSCPLH::decay
void decay(EvtParticle *p) override
Definition
EvtSVSCPLH.cpp:92
EvtSVSCPLH::init
void init() override
Definition
EvtSVSCPLH.cpp:46
EvtSVSCPLH::initProbMax
void initProbMax() override
Definition
EvtSVSCPLH.cpp:84
EvtSVSCPLH::clone
EvtDecayBase * clone() const override
Definition
EvtSVSCPLH.cpp:41
EvtSVSCPLH::getName
std::string getName() const override
Definition
EvtSVSCPLH.cpp:36
EvtSVSCPLH::m_dgamma
double m_dgamma
Definition
EvtSVSCPLH.hh:48
EvtSVSCPLH::m_poq
EvtComplex m_poq
Definition
EvtSVSCPLH.hh:45
EvtSVSCPLH::m_Af
EvtComplex m_Af
Definition
EvtSVSCPLH.hh:44
EvtSVSCPLH::m_Abarf
EvtComplex m_Abarf
Definition
EvtSVSCPLH.hh:44
EvtSVSCPLH::m_qop
EvtComplex m_qop
Definition
EvtSVSCPLH.hh:45
Generated by
1.16.1