PDFxTMDLib  1.0.0
LibraryBanner.h
Go to the documentation of this file.
1 #pragma once
2 #include <iostream>
3 #include <string>
4 
5 namespace PDFxTMD
6 {
8 {
9  public:
11  {
12  static LibraryBanner instance;
13  return instance;
14  }
15 
16  LibraryBanner(const LibraryBanner &) = delete;
18 
19  private:
21  {
22  printBanner();
23  }
24 
25  void printBanner() const
26  {
27  std::string banner = R"(
28 ============================================================
29  Welcome to the PDFxTMDLib Library
30 ============================================================
31 Please cite the following paper when using this library:
32 
33 Title: PDFxTMDLib: A High-Performance C++ Library for Collinear and Transverse Momentum Dependent Parton Distribution Functions
34 Authors: R. Kord Valeshabadi, S. Rezaie
35 Source: https://arxiv.org/abs/2412.16680
36 
37 Thank you for using our library!
38 ============================================================
39  )";
40  std::cout << banner << std::endl;
41  }
42 };
43 } // namespace PDFxTMD
Definition: LibraryBanner.h:8
LibraryBanner & operator=(const LibraryBanner &)=delete
static LibraryBanner & Instance()
Definition: LibraryBanner.h:10
LibraryBanner(const LibraryBanner &)=delete
Definition: AllFlavorsShape.h:14