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
EvtDiLog.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 EVTGENBASE_EVTDILOG_HH
22#define EVTGENBASE_EVTDILOG_HH 1
23
24// Include files
25
32namespace EvtDiLog {
33 double DiLog( double x );
34
35 // constants for computation
36 static const double Z1 = 1.;
37 static const double HF = Z1 / 2.;
38 static const double PI = 3.14159265358979324;
39 static const double PI3 = PI * PI / 3.;
40 static const double PI6 = PI * PI / 6.;
41 static const double PI12 = PI * PI / 12.;
42 static const double C[20] = {
43 0.42996693560813697, 0.40975987533077105, -0.01858843665014592,
44 0.00145751084062268, -0.00014304184442340, 0.00001588415541880,
45 -0.00000190784959387, 0.00000024195180854, -0.00000003193341274,
46 0.00000000434545063, -0.00000000060578480, 0.00000000008612098,
47 -0.00000000001244332, 0.00000000000182256, -0.00000000000027007,
48 0.00000000000004042, -0.00000000000000610, 0.00000000000000093,
49 -0.00000000000000014, 0.00000000000000002 };
50} // namespace EvtDiLog
51#endif // EVTGENBASE_EVTDILOG_HH
static const double PI12
Definition EvtDiLog.hh:41
static const double Z1
Definition EvtDiLog.hh:36
static const double HF
Definition EvtDiLog.hh:37
static const double PI6
Definition EvtDiLog.hh:40
static const double C[20]
Definition EvtDiLog.hh:42
double DiLog(double x)
Definition EvtDiLog.cpp:31
static const double PI
Definition EvtDiLog.hh:38
static const double PI3
Definition EvtDiLog.hh:39