EvtGen
2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Toggle main menu visibility
Loading...
Searching...
No Matches
src
EvtGenModels
EvtKKLambdaCFF.cpp
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
#include "
EvtGenModels/EvtKKLambdaCFF.hh
"
22
23
#include "
EvtGenBase/EvtPDL.hh
"
24
#include "
EvtGenBase/EvtReport.hh
"
25
26
#include <math.h>
27
#include <stdlib.h>
28
#include <string>
29
30
EvtKKLambdaCFF::EvtKKLambdaCFF
(
int
numarg,
double
* arglist )
31
{
32
m_nargs
= numarg;
33
for
(
int
i = 0; i < numarg; i++ ) {
34
m_args
[i] = arglist[i];
35
}
36
37
return
;
38
}
39
40
void
EvtKKLambdaCFF::getbaryonff
(
EvtId
/*parent*/
,
EvtId
/*daught*/
,
double
t,
41
double
/*mass*/
,
double
* f1v,
double
* f1a,
42
double
* f2v,
double
* f2a )
43
{
44
*f1v = (
m_args
[0] ) / ( 1.0 - ( t / (
m_args
[1] *
m_args
[1] ) ) );
45
46
*f2v = 0.;
47
*f2a = 0.;
48
*f1a = -1.0 * ( *f1v );
49
}
50
51
void
EvtKKLambdaCFF::getscalarff
(
EvtId
,
EvtId
,
double
,
double
,
double
*,
double
* )
52
{
53
EvtGenReport
(
EVTGEN_ERROR
,
"EvtGen"
)
54
<<
"Not implemented :getscalarff in EvtKKLambdaCFF.\n"
;
55
::abort();
56
}
57
58
void
EvtKKLambdaCFF::getvectorff
(
EvtId
,
EvtId
,
double
,
double
,
double
*,
59
double
*,
double
*,
double
* )
60
{
61
EvtGenReport
(
EVTGEN_ERROR
,
"EvtGen"
)
62
<<
"Not implemented :getvectorff in EvtKKLambdaCFF.\n"
;
63
::abort();
64
}
65
66
void
EvtKKLambdaCFF::gettensorff
(
EvtId
,
EvtId
,
double
,
double
,
double
*,
67
double
*,
double
*,
double
* )
68
{
69
EvtGenReport
(
EVTGEN_ERROR
,
"EvtGen"
)
70
<<
"Not implemented :gettensorff in EvtKKLambdaCFF.\n"
;
71
::abort();
72
}
73
74
void
EvtKKLambdaCFF::getdiracff
(
EvtId
,
EvtId
,
double
,
double
,
double
*,
double
*,
75
double
*,
double
*,
double
*,
double
* )
76
{
77
EvtGenReport
(
EVTGEN_ERROR
,
"EvtGen"
)
78
<<
"Not implemented :getdiracff in EvtKKLambdaCFF.\n"
;
79
::abort();
80
}
81
82
void
EvtKKLambdaCFF::getraritaff
(
EvtId
,
EvtId
,
double
,
double
,
double
*,
83
double
*,
double
*,
double
*,
double
*,
double
*,
84
double
*,
double
* )
85
{
86
EvtGenReport
(
EVTGEN_ERROR
,
"EvtGen"
)
87
<<
"Not implemented :getraritaff in EvtKKLambdaCFF.\n"
;
88
::abort();
89
}
EvtKKLambdaCFF.hh
EvtPDL.hh
EvtReport.hh
EvtGenReport
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=nullptr)
Definition
EvtReport.cpp:32
EVTGEN_ERROR
@ EVTGEN_ERROR
Definition
EvtReport.hh:49
EvtId
Definition
EvtId.hh:27
EvtKKLambdaCFF::getvectorff
void getvectorff(EvtId, EvtId, double, double, double *, double *, double *, double *) override
Definition
EvtKKLambdaCFF.cpp:58
EvtKKLambdaCFF::m_args
double m_args[2]
Definition
EvtKKLambdaCFF.hh:52
EvtKKLambdaCFF::getscalarff
void getscalarff(EvtId parent, EvtId daught, double t, double mass, double *f0p, double *f0m) override
Definition
EvtKKLambdaCFF.cpp:51
EvtKKLambdaCFF::getbaryonff
void getbaryonff(EvtId parent, EvtId daught, double t, double mass, double *f1v, double *f1a, double *f2v, double *f2a) override
Definition
EvtKKLambdaCFF.cpp:40
EvtKKLambdaCFF::getdiracff
void getdiracff(EvtId, EvtId, double, double, double *, double *, double *, double *, double *, double *) override
Definition
EvtKKLambdaCFF.cpp:74
EvtKKLambdaCFF::gettensorff
void gettensorff(EvtId, EvtId, double, double, double *, double *, double *, double *) override
Definition
EvtKKLambdaCFF.cpp:66
EvtKKLambdaCFF::EvtKKLambdaCFF
EvtKKLambdaCFF(int numarg, double *arglist)
Definition
EvtKKLambdaCFF.cpp:30
EvtKKLambdaCFF::getraritaff
void getraritaff(EvtId, EvtId, double, double, double *, double *, double *, double *, double *, double *, double *, double *) override
Definition
EvtKKLambdaCFF.cpp:82
EvtKKLambdaCFF::m_nargs
int m_nargs
Definition
EvtKKLambdaCFF.hh:51
Generated by
1.17.0