Hyperiso
1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
test_bsll_ff.cpp
Go to the documentation of this file.
1
#include "
Logger.h
"
2
#include <iostream>
3
#include "config.hpp"
4
// #include "hpl.h"
5
#include "
Math.h
"
6
#include "
BXsllDecay.h
"
7
8
int
main
() {
9
Logger::getInstance
()->
setLevel
(
Logger::LogLevel::INFO
);
10
// auto wb = std::shared_ptr<ObsWilsonBuilder>(nullptr);
11
// BXsllDecay d {QCDOrder::LO, 0., 0., wb};
12
13
// constexpr size_t N = 10000;
14
// std::ofstream of;
15
// of.open("Bsll_func.csv");
16
17
// auto write_line = [&of, &d] (scalar_t s) {
18
// double sd = real(s);
19
// of << sd << ","
20
// << real(log(s)) << ","
21
// << real(log(1.-s)) << ","
22
// << real(sLi2(s)) << ","
23
// << real(sLi3(s)) << ","
24
// << real(sLi3(1.-s)) << ","
25
// << real(sLi4(s)) << ","
26
// << real(sqrt(s)) << ","
27
// << real(sqrt(4.-s)) << ","
28
// << real(asin(sqrt(s)/2.)) << ","
29
// << real(sCl2(2.*asin(sqrt(sd)/2.))) << ","
30
// << real(sCl3(2.*asin(sqrt(sd)/2.))) << ","
31
// << real(d.f_17(s, 0, 0.0625)) << "," << imag(d.f_17(s, 0, 0.0625)) << ","
32
// << real(d.f_19(s, 0, 0.0625)) << "," << imag(d.f_19(s, 0, 0.0625)) << ","
33
// << real(d.f_27(s, 0, 0.0625)) << "," << imag(d.f_27(s, 0, 0.0625)) << ","
34
// << real(d.f_29(s, 0, 0.0625)) << "," << imag(d.f_29(s, 0, 0.0625))
35
// << "\n";
36
// };
37
38
// of << "s_hat,Ls,Lsb,Li2s,Li3s,Li3sb,Li4s,sqrts,sqrt4s,as,cl2,cl3,f17r,f17i,f19r,f19i,f27r,f27i,f29r,f29i\n";
39
// // write_line(1e-6);
40
// for (std::size_t i = 1; i < N - 1; ++i) {
41
// double s = static_cast<double>(i) / static_cast<double>(N - 1);
42
// write_line(s);
43
// }
44
// // write_line(1 - 1e-6);
45
// of.close();
46
47
return
0;
48
}
BXsllDecay.h
Logger.h
Math.h
Logger::setLevel
void setLevel(LogLevel level)
Sets the logging level.
Definition
Logger.cpp:38
Logger::LogLevel::INFO
@ INFO
Logger::getInstance
static Logger * getInstance()
Retrieves the singleton instance of the Logger.
Definition
Logger.cpp:5
main
int main()
Definition
test_bsll_ff.cpp:8
Hyperiso
core
src
BusinessLogic
app
test_bsll_ff.cpp
Generated by
1.9.8