rest-for-physics / rest-for-physics/framework

TRestFitAnalysisProcess needs to be implemented

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

development good first issue help wanted
Dominant language
C++
Stars
19
Forks
14
PR merge metrics
No merged PRs in 30d

Description

We are missing a generic process that just takes in the configuration file an observable from the analysis tree to be the target of the fit and define a fit function, range and parameter hints and limits.

The process should store the results of the fit.

This process could be handy when for example we study the gain evolution of a particular dataset from the detector real data. We could for instance use this process to get the position of a particular calibration peak found at a given observable.

We could have something as ...

<TRestFitAnalysisProcess>

    <fit observable="hitsAna_energy" func="gaus" range="(100,400)" initParam=.... limitParam=..../>
    <fit observable="rawAna_thresholdIntegral" func="[0] + [1]*x + [2]*TMath::Exp(..." />

</TRestFitAnalysisProcess>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named in the issue. Start by locating existing analysis processes and their configuration and result-storage conventions, then determine the required fit inputs and persisted outputs before proposing an implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.