summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-26 14:23:16 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-26 17:01:42 +0200
commitec46d5abcf276480318c29211b432afa8ad27672 (patch)
tree43d814fe3e73f659f1cac809ca35a5cb834af06b
parent3dc85ce2c1f029e9c9144497245323f3afac1b38 (diff)
hep: Add xfitter.
* guix-science/packages/hep.scm (xfitter): New variable.
-rw-r--r--guix-science/packages/hep.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/guix-science/packages/hep.scm b/guix-science/packages/hep.scm
index 6c56a3a..c22d166 100644
--- a/guix-science/packages/hep.scm
+++ b/guix-science/packages/hep.scm
@@ -1511,6 +1511,48 @@ level with the full top-quark and bottom-quark mass dependence in a generic two
1511Higgs doublet model.") 1511Higgs doublet model.")
1512 (license license:gpl2))) 1512 (license license:gpl2)))
1513 1513
1514(define-public xfitter
1515 (package
1516 (name "xfitter")
1517 (version "2.2.0")
1518 (source
1519 (origin
1520 (method git-fetch)
1521 (uri (git-reference
1522 (url "https://gitlab.cern.ch/fitters/xfitter.git")
1523 (commit (string-append version "_Future_Freeze"))))
1524 (file-name (git-file-name name version))
1525 (sha256
1526 (base32 "0sxlahbabvry6rzgf07xr6sm45c1sx6s55g72204n13gay1g3af1"))))
1527 (build-system cmake-build-system)
1528 (arguments
1529 (list
1530 #:phases
1531 #~(modify-phases %standard-phases
1532 (delete 'check)
1533 (add-after 'install 'check
1534 (lambda _
1535 (let ((xfitter (string-append #$output "/bin/xfitter")))
1536 (with-directory-excursion "../source/examples/defaultNNLO"
1537 (invoke xfitter))))))))
1538 (inputs (list gsl
1539 openblas
1540 qcdnum
1541 root
1542 yaml-cpp
1543 zlib))
1544 (native-inputs (list gfortran pkg-config))
1545 (home-page "https://xfitter.hepforge.org/")
1546 (synopsis "PDF fit program for HERA proton parton densities")
1547 (description
1548 "@code{xFitter} is an open source QCD fit framework desinged to extract
1549PDFs and assess the impact of new data. The @code{xFitter} project is is a
1550common initiative by the H1 and ZEUS collaborations and extended to the LHC
1551collaborations to provide precision QCD analyses. xFitter has been used as one
1552of the main software packages for the determination of the HERA proton parton
1553densities, HERAPDFs.")
1554 (license license:gpl3)))
1555
1514(define-public yoda 1556(define-public yoda
1515 (package 1557 (package
1516 (name "yoda") 1558 (name "yoda")