# Newbie

**URL:** https://root-forum.cern.ch/c/newbie/26.md?page=3

[Latest](https://root-forum.cern.ch/latest.md) · [Categories](https://root-forum.cern.ch/categories.md) · [Tags](https://root-forum.cern.ch/tags.md)

**Page:** 4

---

## [Help figuring out linking error when compiling](https://root-forum.cern.ch/t/help-figuring-out-linking-error-when-compiling/64175)

<div class="topic-metadata">

**Author:** [@FVazquez](https://root-forum.cern.ch/u/FVazquez)\
**Replies:** 4\
**Last updated:** [September 22, 2025, 12:20pm UTC](https://root-forum.cern.ch/t/help-figuring-out-linking-error-when-compiling/64175 "2025-09-22T12:20:36Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.30 Platform: Ubuntu / Gitlab CI/CD Dear ROOT support, I am struggling with the compilation of a small project I am writing whic…

---

## [Complex matrixes](https://root-forum.cern.ch/t/complex-matrixes/64189)

<div class="topic-metadata">

**Author:** [@Rafa\_Lopez](https://root-forum.cern.ch/u/Rafa_Lopez)\
**Replies:** 1\
**Last updated:** [September 22, 2025, 7:46am UTC](https://root-forum.cern.ch/t/complex-matrixes/64189 "2025-09-22T07:46:32Z")

</div>

Hello, I have been trying for the last week to work with complex matrixes in ROOT(C++). Is there a way to work with them? I was trying to invert a matrix and do a couple of calculations but TMatrixD or TMatrixT do not al…

---

## [Difference between the vertex position and position in phase-space file](https://root-forum.cern.ch/t/difference-between-the-vertex-position-and-position-in-phase-space-file/64099)

<div class="topic-metadata">

**Author:** [@Dipanuta\_Behera](https://root-forum.cern.ch/u/Dipanuta_Behera)\
**Replies:** 16\
**Last updated:** [September 15, 2025, 7:19am UTC](https://root-forum.cern.ch/t/difference-between-the-vertex-position-and-position-in-phase-space-file/64099 "2025-09-15T07:19:30Z")

</div>

Dear all, To open a phase space .root file , I am able to open it in TBrowser .But I am confused that what could be the meaning of vertex position in y cm and Position in y cm interprets ? If anybody can elaborate the …

---

## [Simulation of spherical proportional counter using rotation symmetry](https://root-forum.cern.ch/t/simulation-of-spherical-proportional-counter-using-rotation-symmetry/64106)

<div class="topic-metadata">

**Author:** [@xkolar74](https://root-forum.cern.ch/u/xkolar74)\
**Replies:** 3\
**Last updated:** [September 9, 2025, 10:21am UTC](https://root-forum.cern.ch/t/simulation-of-spherical-proportional-counter-using-rotation-symmetry/64106 "2025-09-09T10:21:07Z")

</div>

Hello, I am working on simulating a spherical proportional counter with a thin wire anode (made thicker for the pictures). My current approach is outlined below. At first, I thought this was a reasonable way, but lookin…

---

## [RooFit projection of slice to the y-Axis](https://root-forum.cern.ch/t/roofit-projection-of-slice-to-the-y-axis/64120)

<div class="topic-metadata">

**Author:** [@DavidK](https://root-forum.cern.ch/u/DavidK)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 7:25am UTC](https://root-forum.cern.ch/t/roofit-projection-of-slice-to-the-y-axis/64120 "2025-09-05T07:25:06Z")

</div>

I have successfully fitted a weighted sum of TH2D templates to my measured data and now need to determine the particle counts. For this I would like to take slices of my combined pdf scaled to the data (brace your e…

---

## [Filling ROOT histogram in parallel in Python](https://root-forum.cern.ch/t/filling-root-histogram-in-parallel-in-python/64085)

<div class="topic-metadata">

**Author:** [@destrada](https://root-forum.cern.ch/u/destrada)\
**Replies:** 3\
**Last updated:** [August 29, 2025, 4:21pm UTC](https://root-forum.cern.ch/t/filling-root-histogram-in-parallel-in-python/64085 "2025-08-29T16:21:57Z")

</div>

I’m trying to fill a ROOT histogram using multiprocessing in Python, but the resulting ROOT file contains an empty histogram. The code runs without errors, but no data is actually filled into the histogram. I wrote thi…

---

## [Downloading the MathMore Library Using the ROOT Conda Environment](https://root-forum.cern.ch/t/downloading-the-mathmore-library-using-the-root-conda-environment/64050)

<div class="topic-metadata">

**Author:** [@aclarke](https://root-forum.cern.ch/u/aclarke)\
**Replies:** 3\
**Last updated:** [August 21, 2025, 9:53pm UTC](https://root-forum.cern.ch/t/downloading-the-mathmore-library-using-the-root-conda-environment/64050 "2025-08-21T21:53:38Z")

</div>

Hello, I have been trying to download the MathMore library so that I can use the library’s fitting options, but I haven’t been able to find how to do this using the conda environment. I have confirmed that I have GSL i…

---

## [TH1-\>Fit "L" Option](https://root-forum.cern.ch/t/th1-fit-l-option/64058)

<div class="topic-metadata">

**Author:** [@aclarke](https://root-forum.cern.ch/u/aclarke)\
**Replies:** 2\
**Last updated:** [August 21, 2025, 7:43pm UTC](https://root-forum.cern.ch/t/th1-fit-l-option/64058 "2025-08-21T19:43:36Z")

</div>

Hello, I have a question on how the log likelihood fit for TH1→Fit works. How does ROOT calculate the likelihood function from the fit function? If I do h→Fit(“f“, “L“) how does ROOT calculate the log-likelihood functi…

---

## [Errors trying to run root on OSX, installing older versions](https://root-forum.cern.ch/t/errors-trying-to-run-root-on-osx-installing-older-versions/61742)

<div class="topic-metadata">

**Author:** [@DhruvSharma](https://root-forum.cern.ch/u/DhruvSharma)\
**Replies:** 12\
**Last updated:** [August 21, 2025, 6:51pm UTC](https://root-forum.cern.ch/t/errors-trying-to-run-root-on-osx-installing-older-versions/61742 "2025-08-21T18:51:51Z")

</div>

Total ROOT/Terminal newbie here, was trying to run root on my mac and was going flawlessly until a few days ago, when it returned an error about a corrupt AST file. I’ve found posts on here explaining that an older branc…

---

## [How to set the DrawOption for y Projection using the SetShowProjectionY for a TH2D Histogram](https://root-forum.cern.ch/t/how-to-set-the-drawoption-for-y-projection-using-the-setshowprojectiony-for-a-th2d-histogram/64060)

<div class="topic-metadata">

**Author:** [@DavidK](https://root-forum.cern.ch/u/DavidK)\
**Replies:** 2\
**Last updated:** [August 21, 2025, 1:27pm UTC](https://root-forum.cern.ch/t/how-to-set-the-drawoption-for-y-projection-using-the-setshowprojectiony-for-a-th2d-histogram/64060 "2025-08-21T13:27:00Z")

</div>

I’m using TBrowser to show a TH2D histogram in a root file. I need to make multiple projections to the y-Axis. These Projections always use the “HISTO” draw option but I need to show the error bars. Tabbing into the proj…

---

## [Fitting a Histogram Using Another Histogram](https://root-forum.cern.ch/t/fitting-a-histogram-using-another-histogram/64049)

<div class="topic-metadata">

**Author:** [@aclarke](https://root-forum.cern.ch/u/aclarke)\
**Replies:** 2\
**Last updated:** [August 19, 2025, 7:56pm UTC](https://root-forum.cern.ch/t/fitting-a-histogram-using-another-histogram/64049 "2025-08-19T19:56:58Z")

</div>

Hello, I have been attempting to fit a histogram using another histogram which represents a probability distribution. My fit function is of the form fitval = std::round(par\[0\] \* dist-\>Interpolate(x\[0\])); . Whenever I try…

---

## [Lite ROOT?](https://root-forum.cern.ch/t/lite-root/64032)

<div class="topic-metadata">

**Author:** [@fabiocfabini](https://root-forum.cern.ch/u/fabiocfabini)\
**Replies:** 3\
**Last updated:** [August 18, 2025, 7:15am UTC](https://root-forum.cern.ch/t/lite-root/64032 "2025-08-18T07:15:37Z")

</div>

Hello all, I have what I think is a very simple question. Say I am interested in only a single ROOT set a of features. This could be IO, Fits etc. Is it possible to install just the features I want without having to in…

---

## [Changing Camera Axes in Eve7](https://root-forum.cern.ch/t/changing-camera-axes-in-eve7/63996)

<div class="topic-metadata">

**Author:** [@jtheo](https://root-forum.cern.ch/u/jtheo)\
**Replies:** 7\
**Last updated:** [August 15, 2025, 10:01pm UTC](https://root-forum.cern.ch/t/changing-camera-axes-in-eve7/63996 "2025-08-15T22:01:24Z")

</div>

Hi all, I’m an undergrad researcher working on a project in Eve7. This is my first time using ROOT/Eve7 on a project, and everything’s been working smoothly so far, except I’m running into a problem with setting/changing…

---

## [Using the absolute path in the file name when loading root files](https://root-forum.cern.ch/t/using-the-absolute-path-in-the-file-name-when-loading-root-files/63988)

<div class="topic-metadata">

**Author:** [@seam](https://root-forum.cern.ch/u/seam)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 5:31am UTC](https://root-forum.cern.ch/t/using-the-absolute-path-in-the-file-name-when-loading-root-files/63988 "2025-08-07T05:31:48Z")

</div>

Im really new to ROOT and programming in general so some of the more simple ideas and explanations confuse me. I’ve recently downloaded a bunch of root files for a project, but when I call them in my Jupyter notebook, i…

---

## [Data handling using rDataFrame for Tree branches of Char\_t type data](https://root-forum.cern.ch/t/data-handling-using-rdataframe-for-tree-branches-of-char-t-type-data/63983)

<div class="topic-metadata">

**Author:** [@hohshita](https://root-forum.cern.ch/u/hohshita)\
**Replies:** 3\
**Last updated:** [August 7, 2025, 4:51am UTC](https://root-forum.cern.ch/t/data-handling-using-rdataframe-for-tree-branches-of-char-t-type-data/63983 "2025-08-07T04:51:33Z")

</div>

Dear ROOT experts, We are using the Geant4 to evaluate neutron detector performance. We analyze the data from each step of the Geant4 and store the results in the ROOT Tree at the end of the event. The stored data inc…

---

## [\[CEA 46521\]\[ROOT 6.36\]\[Python\] Serialisation of TMatrixD with TBufferJSON Issue](https://root-forum.cern.ch/t/cea-46521-root-6-36-python-serialisation-of-tmatrixd-with-tbufferjson-issue/63981)

<div class="topic-metadata">

**Author:** [@Salomon](https://root-forum.cern.ch/u/Salomon)\
**Replies:** 4\
**Last updated:** [August 6, 2025, 11:08am UTC](https://root-forum.cern.ch/t/cea-46521-root-6-36-python-serialisation-of-tmatrixd-with-tbufferjson-issue/63981 "2025-08-06T11:08:48Z")

</div>

ROOT Version: 6.32.14: Passed / 6.36.02: Failed Platform: linuxx8664gcc Compiler: c++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Hello, Summary Serialisation of a TMatrixD with TBufferJSON::ToJSON() triggers a Failed to…

---

## [Terminate called after throwing an instance of 'std::out\_of\_range'](https://root-forum.cern.ch/t/terminate-called-after-throwing-an-instance-of-std-out-of-range/63943)

<div class="topic-metadata">

**Author:** [@muhammaa](https://root-forum.cern.ch/u/muhammaa)\
**Replies:** 1\
**Last updated:** [July 29, 2025, 8:07am UTC](https://root-forum.cern.ch/t/terminate-called-after-throwing-an-instance-of-std-out-of-range/63943 "2025-07-29T08:07:41Z")

</div>

I want to reconstruct the energy from the gaussian fit but instead i am getting the error. terminate called after throwing an instance of 'std::out\_of\_range' what(): vector::\_M\_range\_check: \_\_n (which is 53861) \>= th…

---

## [Handling zero bin contents](https://root-forum.cern.ch/t/handling-zero-bin-contents/63934)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 2\
**Last updated:** [July 28, 2025, 6:24am UTC](https://root-forum.cern.ch/t/handling-zero-bin-contents/63934 "2025-07-28T06:24:57Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! Is it possible to draw a histogram but skip the bins that have zero contents? The reason I ask is that I am plotting several histograms on the same canvas spaced by a …

---

## [Need help with learning TTable in pyROOT](https://root-forum.cern.ch/t/need-help-with-learning-ttable-in-pyroot/63917)

<div class="topic-metadata">

**Author:** [@sauravquantum](https://root-forum.cern.ch/u/sauravquantum)\
**Replies:** 6\
**Last updated:** [July 20, 2025, 3:38pm UTC](https://root-forum.cern.ch/t/need-help-with-learning-ttable-in-pyroot/63917 "2025-07-20T15:38:22Z")

</div>

Hi, I am needing to make a simple table of data in pyROOT. I am wanting to make something simple like this: If anyone can provide some pyROOT example of a table that would be nice. Thank you.

---

## [Pbm with histo values reading](https://root-forum.cern.ch/t/pbm-with-histo-values-reading/63895)

<div class="topic-metadata">

**Author:** [@archiron](https://root-forum.cern.ch/u/archiron)\
**Replies:** 2\
**Last updated:** [July 16, 2025, 9:27am UTC](https://root-forum.cern.ch/t/pbm-with-histo-values-reading/63895 "2025-07-16T09:27:57Z")

</div>

Hi, since now I use the following commands for some analysis : f\_root = ROOT.TFile(pathDATA + item) h\_rel = gr.getHisto(f\_root, tp\_1) for i in range(0, N\_histos): his…

---

## [Merge only selected subdirectory of some root files](https://root-forum.cern.ch/t/merge-only-selected-subdirectory-of-some-root-files/63867)

<div class="topic-metadata">

**Author:** [@kahaeuss](https://root-forum.cern.ch/u/kahaeuss)\
**Replies:** 9\
**Last updated:** [July 11, 2025, 8:24am UTC](https://root-forum.cern.ch/t/merge-only-selected-subdirectory-of-some-root-files/63867 "2025-07-11T08:24:10Z")

</div>

Hi, I’m trying to write a script to merge only a specific sub directory of a number of identically structured root files. I am basically trying to reproduce this example ROOT: tutorials/io/mergeSelective.C File Referen…

---

## [How to create sub-sub branch manually](https://root-forum.cern.ch/t/how-to-create-sub-sub-branch-manually/63779)

<div class="topic-metadata">

**Author:** [@yashnator](https://root-forum.cern.ch/u/yashnator)\
**Replies:** 4\
**Last updated:** [July 9, 2025, 12:43pm UTC](https://root-forum.cern.ch/t/how-to-create-sub-sub-branch-manually/63779 "2025-07-09T12:43:29Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.36.000 Platform: MacOS 26 Compiler: clang Hi, I was developing the ROOTIO.jl package, which is a Julia interface for ROOT. We …

---

## [Discrepancy between minuit2's terminal output errors and what is stored with the RooRealVar](https://root-forum.cern.ch/t/discrepancy-between-minuit2s-terminal-output-errors-and-what-is-stored-with-the-roorealvar/63806)

<div class="topic-metadata">

**Author:** [@bkowal](https://root-forum.cern.ch/u/bkowal)\
**Replies:** 3\
**Last updated:** [July 8, 2025, 10:59am UTC](https://root-forum.cern.ch/t/discrepancy-between-minuit2s-terminal-output-errors-and-what-is-stored-with-the-roorealvar/63806 "2025-07-08T10:59:02Z")

</div>

ROOT Version: 6.30.02 Platform: Ubuntu 20.04 Compiler: gcc 12.3.0 Hello root experts. I have a question about the difference in the stored error values for a RooRealVar vs what is printed on the terminal when the mi…

---

## [Citing ROOT](https://root-forum.cern.ch/t/citing-root/63850)

<div class="topic-metadata">

**Author:** [@dhymers](https://root-forum.cern.ch/u/dhymers)\
**Replies:** 2\
**Last updated:** [July 4, 2025, 12:47pm UTC](https://root-forum.cern.ch/t/citing-root/63850 "2025-07-04T12:47:58Z")

</div>

The preferred citation for ROOT is listed on github: GitHub - root-project/root: The official repository for ROOT: analyzing, storing and visualizing big data, scientifically This is great, because it ties in a link to …

---

## [How to properly setup tbrowser on lxplus?](https://root-forum.cern.ch/t/how-to-properly-setup-tbrowser-on-lxplus/63836)

<div class="topic-metadata">

**Author:** [@Zhuyuanda](https://root-forum.cern.ch/u/Zhuyuanda)\
**Replies:** 12\
**Last updated:** [July 2, 2025, 8:12am UTC](https://root-forum.cern.ch/t/how-to-properly-setup-tbrowser-on-lxplus/63836 "2025-07-02T08:12:57Z")

</div>

Hi experts, I would like to seek advice on properly setup tbrowser under lxplus environment. I tried XLaunch and MobaXterm with ssh -Y but still told in batch mode when using tbrowser b.

---

## [Error in \<THistPainter::PaintInit\>: log scale requested with a negative argument (-0.141557)](https://root-forum.cern.ch/t/error-in-thistpainter-paintinit-log-scale-requested-with-a-negative-argument-0-141557/63757)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 13\
**Last updated:** [June 30, 2025, 2:50pm UTC](https://root-forum.cern.ch/t/error-in-thistpainter-paintinit-log-scale-requested-with-a-negative-argument-0-141557/63757 "2025-06-30T14:50:17Z")

</div>

Dear experts I want to calculate the time cost for two different algorithms for convolution, then I draw them on a TMultiGraph which contains 2 TGraph inside. I confirmed every point is positive x and y, but I got the e…

---

## [Help learning pyROOT](https://root-forum.cern.ch/t/help-learning-pyroot/63822)

<div class="topic-metadata">

**Author:** [@sauravquantum](https://root-forum.cern.ch/u/sauravquantum)\
**Replies:** 1\
**Last updated:** [June 28, 2025, 4:08am UTC](https://root-forum.cern.ch/t/help-learning-pyroot/63822 "2025-06-28T04:08:54Z")

</div>

Hi :slightly\_smiling\_face:, I am a beginner with ROOT and am currently using an IDE such as VS Code to write Python code, specifically with PyROOT :grinning\_face\_with\_smiling\_eyes:. I was wondering if anyone knew where …

---

## [String format of datatypes in branchDescriptor](https://root-forum.cern.ch/t/string-format-of-datatypes-in-branchdescriptor/63802)

<div class="topic-metadata">

**Author:** [@dimitris\_lepipas](https://root-forum.cern.ch/u/dimitris_lepipas)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 4:24pm UTC](https://root-forum.cern.ch/t/string-format-of-datatypes-in-branchdescriptor/63802 "2025-06-25T16:24:48Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.34.4 Platform: Linux Compiler: Not Provided In the description of class ReadFile I see that the branchDescriptor should have th…

---

## [Almalinux 9 dependencies](https://root-forum.cern.ch/t/almalinux-9-dependencies/63701)

<div class="topic-metadata">

**Author:** [@Evander137](https://root-forum.cern.ch/u/Evander137)\
**Replies:** 4\
**Last updated:** [June 24, 2025, 3:49pm UTC](https://root-forum.cern.ch/t/almalinux-9-dependencies/63701 "2025-06-24T15:49:47Z")

</div>

I’m attempting to install the latest ROOT with Almalinux 9. I’m unable to find the right dependencies on the dependencies page. From cross-checking with the packages in the corresponding Docker image, it seems I should j…

---

## [How to make root file parse arguments from command line?](https://root-forum.cern.ch/t/how-to-make-root-file-parse-arguments-from-command-line/63780)

<div class="topic-metadata">

**Author:** [@Oswaldo\_Cardenas](https://root-forum.cern.ch/u/Oswaldo_Cardenas)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 4:22pm UTC](https://root-forum.cern.ch/t/how-to-make-root-file-parse-arguments-from-command-line/63780 "2025-06-23T16:22:08Z")

</div>

Hello, As someone who has been learning both C++ and ROOT at the same time, one of the issues I am having trouble with is figuring out how to implement a way to parse arguments from the command line into my main functio…

[Previous page](https://root-forum.cern.ch/c/newbie/26.md?page=2)

[Next page](https://root-forum.cern.ch/c/newbie/26.md?page=4)
