Skip to content

Commit

Permalink
Suppress LHAPDF banner in advanced-filling example
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Jan 14, 2025
1 parent 67a7067 commit 699a76f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions examples/cpp/advanced-filling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ int main() {

//-------------------- Check Convolution ----------------------//
std::string pdfset = "NNPDF31_nlo_as_0118_luxqed";
// disable LHAPDF banners to guarantee deterministic output
LHAPDF::setVerbosity(0);
auto* pdf = LHAPDF::mkPDF(pdfset, 0);

// define callables for the PDFs and alphas
Expand Down
4 changes: 0 additions & 4 deletions examples/cpp/output
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ idx p-p c#0 l#0 p-d dx
21 3.491788e-02 3.491788e-02 0.1
22 1.967518e-02 1.967518e-02 0.1
23 5.565306e-03 5.565306e-03 0.1
LHAPDF 6.5.4 loading /home/tanjona/LHAPDF_PATH/NNPDF31_nlo_as_0118_luxqed/NNPDF31_nlo_as_0118_luxqed_0000.dat
NNPDF31_nlo_as_0118_luxqed PDF set, member #0, version 2; LHAPDF ID = 324900
bin left bin right dsig/dx
-------------------------------------
0 0.1 0.000e+00
Expand All @@ -96,8 +94,6 @@ NNPDF31_nlo_as_0118_luxqed PDF set, member #0, version 2; LHAPDF ID = 324900
2.100e+00 2.200e+00 0.000e+00
2.200e+00 2.300e+00 0.000e+00
2.300e+00 2.400e+00 0.000e+00
Thanks for using LHAPDF 6.5.4. Please make sure to cite the paper:
Eur.Phys.J. C75 (2015) 3, 132 (http://arxiv.org/abs/1412.7420)
idx left right dsig/dx dx
--- ----dim #0--- ------------ ------
0 0 0.1 5.263109e-01 0.1
Expand Down

0 comments on commit 699a76f

Please sign in to comment.