Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[RF][HS3] Add a new `analytic_convolution_dist` Streamer/Factory

未关闭
#22,770 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@guitargeek 已经在做这个了。

开始于 2026年7月7日。

评估

这个 Issue 还没有评估数据。

描述

in:RooFit new feature
Feature description

Proposal: add analytic_convolution_dist to HS3 / RooFitHS3

RooFit currently serializes RooDecay via a dedicated decay_dist key. This is somewhat special-case: RooDecay is not just an exponential distribution, but a RooAbsAnaConvPdf that declares analytic basis functions to be convolved with a RooResolutionModel.

I propose introducing a generic analytic_convolution_dist node that represents the RooAbsAnaConvPdf concept directly:

  • observable/convolution variable
  • resolution model
  • list of analytic basis terms
  • coefficient expression/function per term

Example for RooDecay(DoubleSided):

{
  "name": "decay_gm",
  "type": "analytic_convolution_dist",
  "x": "dt",
  "resolution_model": "gm",
  "terms": [
    {
      "coefficient": "1",
      "basis": {
        "type": "exp_decay",
        "tau": "tau",
        "side": "both"
      }
    }
  ]
}

This generic node could support the following Classes:

  • RooDecay
  • RooBMixDecay
  • RooBDecay
  • RooBCPGenDecay
  • RooBCPEffDecay
  • RooNonCPEigenDecay

Requirements

This feature requires serializable categorical variables to fully support these classes in a clean way.

@cburgard @stalbrec

主要语言
C++
星标
3.3k
派生
1.6k
平均合并
2 天 17 小时
30 天内合并 PR
188

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

root-project/root 的其他 Issue

查看 root-project/root 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。