# Newbie

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

[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:** 3

---

## [Langaus fit is not converged](https://root-forum.cern.ch/t/langaus-fit-is-not-converged/64508)

<div class="topic-metadata">

**Author:** [@honto](https://root-forum.cern.ch/u/honto)\
**Replies:** 7\
**Last updated:** [December 3, 2025, 11:55am UTC](https://root-forum.cern.ch/t/langaus-fit-is-not-converged/64508 "2025-12-03T11:55:39Z")

</div>

ROOT Version: 6.36.06 Platform: Linux Compiler: gcc I have oscilloscope data, and I need to plot a histogram with Langaus fit. But histogram is wider than my fit and they are not converged well. How can I optimize m…

---

## [Does anyone know how to set up the root configuration to simulate images similar to real coronary angiography?](https://root-forum.cern.ch/t/does-anyone-know-how-to-set-up-the-root-configuration-to-simulate-images-similar-to-real-coronary-angiography/64445)

<div class="topic-metadata">

**Author:** [@zhangmo](https://root-forum.cern.ch/u/zhangmo)\
**Replies:** 6\
**Last updated:** [December 2, 2025, 3:46pm UTC](https://root-forum.cern.ch/t/does-anyone-know-how-to-set-up-the-root-configuration-to-simulate-images-similar-to-real-coronary-angiography/64445 "2025-12-02T15:46:57Z")

</div>

How to use low doses to make our simulated images visible.And how to enhance the realism of our simulated images to better match real coronary angiograms.I have used GATE to simulate images similar to coronary angiograp…

---

## [RooFit: model with user defined functions, NaN in specific x values](https://root-forum.cern.ch/t/roofit-model-with-user-defined-functions-nan-in-specific-x-values/64502)

<div class="topic-metadata">

**Author:** [@\_pinkhaze](https://root-forum.cern.ch/u/_pinkhaze)\
**Replies:** 1\
**Last updated:** [December 2, 2025, 2:35pm UTC](https://root-forum.cern.ch/t/roofit-model-with-user-defined-functions-nan-in-specific-x-values/64502 "2025-12-02T14:35:27Z")

</div>

Dear Root experts I am trying to fit some peaks + background in a TH1 using a function I wrote in RooFit. I was able to fit my TH1 with this same function using the Fit method of ROOT, but when doing it with RooFit, my …

---

## [Make install and search for headers](https://root-forum.cern.ch/t/make-install-and-search-for-headers/62398)

<div class="topic-metadata">

**Author:** [@YannickPatois](https://root-forum.cern.ch/u/YannickPatois)\
**Replies:** 8\
**Last updated:** [November 28, 2025, 8:29am UTC](https://root-forum.cern.ch/t/make-install-and-search-for-headers/62398 "2025-11-28T08:29:05Z")

</div>

Hi, It seems I’m doing something wrong with the installation of custom ROOT libs, but I can’t se where and why. I made a small example one can find here: git clone https://github.com/YPatois/root\_test.git cd root\_tes…

---

## [有没有大佬知道想要出仿真出跟真实冠状动脉造影相似的图咋弄不](https://root-forum.cern.ch/t/topic/64440)

<div class="topic-metadata">

**Author:** [@zhangmo](https://root-forum.cern.ch/u/zhangmo)\
**Replies:** 2\
**Last updated:** [November 27, 2025, 2:41pm UTC](https://root-forum.cern.ch/t/topic/64440 "2025-11-27T14:41:55Z")

</div>

？？？来个大佬来帮我解解疑问，怎末能让结果更接近真实图像

---

## [PyROOT Examples to Upload](https://root-forum.cern.ch/t/pyroot-examples-to-upload/64430)

<div class="topic-metadata">

**Author:** [@mks-geant](https://root-forum.cern.ch/u/mks-geant)\
**Replies:** 4\
**Last updated:** [November 25, 2025, 2:37pm UTC](https://root-forum.cern.ch/t/pyroot-examples-to-upload/64430 "2025-11-25T14:37:24Z")

</div>

Hi Y’all, While I am not new to ROOT, I have recently started playing around with PyROOT. I plan to generate several templates along the way to process Trees, data, plot. I would love to share it with others. Does the…

---

## [Overlaying histograms with TAttFill](https://root-forum.cern.ch/t/overlaying-histograms-with-tattfill/64437)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 6\
**Last updated:** [November 25, 2025, 11:52am UTC](https://root-forum.cern.ch/t/overlaying-histograms-with-tattfill/64437 "2025-11-25T11:52:55Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! I want to plot 7 histograms on top of each other, in black and white, each with their own fill pattern. Since I don’t want the fill pattern of the underneath histos to…

---

## [Retrieving y-values of an histogram](https://root-forum.cern.ch/t/retrieving-y-values-of-an-histogram/64424)

<div class="topic-metadata">

**Author:** [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Replies:** 2\
**Last updated:** [November 21, 2025, 2:51pm UTC](https://root-forum.cern.ch/t/retrieving-y-values-of-an-histogram/64424 "2025-11-21T14:51:33Z")

</div>

Dear root users, I think this is a very simple problem, sorry for that. I have a root file obtained through a gate simulation. I’m interested in retrieving the values of the following histogram (energy of optical phot…

---

## [Problem to run a code script on a newly installed ROOT instance](https://root-forum.cern.ch/t/problem-to-run-a-code-script-on-a-newly-installed-root-instance/64426)

<div class="topic-metadata">

**Author:** [@MAver](https://root-forum.cern.ch/u/MAver)\
**Replies:** 1\
**Last updated:** [November 21, 2025, 8:54am UTC](https://root-forum.cern.ch/t/problem-to-run-a-code-script-on-a-newly-installed-root-instance/64426 "2025-11-21T08:54:14Z")

</div>

ROOT Version: 6.36.04 Platform: linuxx8664gcc Compiler: c++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 I installed Root last week for an drift chamber experiment in our lab cours. ROOT works: I can start Root and open a…

---

## [Integer arithmetic](https://root-forum.cern.ch/t/integer-arithmetic/64421)

<div class="topic-metadata">

**Author:** [@preimer](https://root-forum.cern.ch/u/preimer)\
**Replies:** 5\
**Last updated:** [November 20, 2025, 3:40pm UTC](https://root-forum.cern.ch/t/integer-arithmetic/64421 "2025-11-20T15:40:27Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.36.06 Platform: Mac OSX Compiler: Not Provided I am getting different results depending on whether I load some code that contai…

---

## [TTree memory corruption](https://root-forum.cern.ch/t/ttree-memory-corruption/64420)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 2\
**Last updated:** [November 19, 2025, 1:29pm UTC](https://root-forum.cern.ch/t/ttree-memory-corruption/64420 "2025-11-19T13:29:35Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! I am getting an error when storing large ROOT files. For context, I am generating 5 million events in PYTHIA, storing results into multiple TTrees, and then reading t…

---

## [Vector of vectors in TTree vs. RNTuple](https://root-forum.cern.ch/t/vector-of-vectors-in-ttree-vs-rntuple/64416)

<div class="topic-metadata">

**Author:** [@Evander137](https://root-forum.cern.ch/u/Evander137)\
**Replies:** 2\
**Last updated:** [November 19, 2025, 8:09am UTC](https://root-forum.cern.ch/t/vector-of-vectors-in-ttree-vs-rntuple/64416 "2025-11-19T08:09:56Z")

</div>

When I try to set a branch of a vector of vector of floats in a TTree, with the following script, I get an error: void test() { // gInterpreter-\>GenerateDictionary("vector\<vector\<float\> \>","vector"); TFile \* f1…

---

## [Memory reduction when loading ROOT RDataFrame in python](https://root-forum.cern.ch/t/memory-reduction-when-loading-root-rdataframe-in-python/64395)

<div class="topic-metadata">

**Author:** [@tancredi](https://root-forum.cern.ch/u/tancredi)\
**Replies:** 4\
**Last updated:** [November 12, 2025, 8:38pm UTC](https://root-forum.cern.ch/t/memory-reduction-when-loading-root-rdataframe-in-python/64395 "2025-11-12T20:38:30Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: Not Provided Platform: lxplus \*Compiler:\*gcc 13.1 When working with python and RDataFrame one often has the problem that a la…

---

## [No authorization protocol specified for TBrowser drawing](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381)

<div class="topic-metadata">

**Author:** [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Replies:** 16\
**Last updated:** [November 12, 2025, 9:08am UTC](https://root-forum.cern.ch/t/no-authorization-protocol-specified-for-tbrowser-drawing/64381 "2025-11-12T09:08:39Z")

</div>

Dear Root users, I am discovering ROOT and I have been dealing with problems when trying to open the TBrowser : I have seen that this problem has been “solved” using xhost + but this seems to be a very bad idea in …

---

## [Error in \<THashList::Delete\>: A list is accessing an object (0x47a4ef0) already deleted (list name = THashList)](https://root-forum.cern.ch/t/error-in-thashlist-delete-a-list-is-accessing-an-object-0x47a4ef0-already-deleted-list-name-thashlist/64375)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 20\
**Last updated:** [November 6, 2025, 7:07pm UTC](https://root-forum.cern.ch/t/error-in-thashlist-delete-a-list-is-accessing-an-object-0x47a4ef0-already-deleted-list-name-thashlist/64375 "2025-11-06T19:07:57Z")

</div>

ROOT Version: 6.24.02 Platform: Alma linux 9.2 Compiler: gcc 11.5.0-5 Dear experts I got the error message above when opening the ROOT file in a function: void COMET::IRECBE::ReadResponseFile(std::string const& typ…

---

## [Error in \<TTree::SetBranchAddress\>: Unable to determine the type given for the address](https://root-forum.cern.ch/t/error-in-ttree-setbranchaddress-unable-to-determine-the-type-given-for-the-address/64376)

<div class="topic-metadata">

**Author:** [@samfred](https://root-forum.cern.ch/u/samfred)\
**Replies:** 6\
**Last updated:** [November 4, 2025, 9:51pm UTC](https://root-forum.cern.ch/t/error-in-ttree-setbranchaddress-unable-to-determine-the-type-given-for-the-address/64376 "2025-11-04T21:51:37Z")

</div>

There are some posts about this that are similar but their solutions didn’t seem to work for me… I created a simple class, jet.h, and I’ve saved it into a ttree as an array of jet objects. jet m\_jets\[Max\_jet\_size\]; TT…

---

## [Installing ROOT with the test\_distrdf\_pyspark option](https://root-forum.cern.ch/t/installing-root-with-the-test-distrdf-pyspark-option/64373)

<div class="topic-metadata">

**Author:** [@Tanysha](https://root-forum.cern.ch/u/Tanysha)\
**Replies:** 1\
**Last updated:** [November 1, 2025, 8:37pm UTC](https://root-forum.cern.ch/t/installing-root-with-the-test-distrdf-pyspark-option/64373 "2025-11-01T20:37:46Z")

</div>

ROOT Version: 6.36.04 Platform: AlmaLinux 9.6 Compiler: Not Provided Hello! The administrator of our cluster installs ROOT using rpm. Please tell us which of the following packages to use so that it has the test\_di…

---

## [ROOT Manual - Basics: Object Ownership Question](https://root-forum.cern.ch/t/root-manual-basics-object-ownership-question/64355)

<div class="topic-metadata">

**Author:** [@unmovingcastle](https://root-forum.cern.ch/u/unmovingcastle)\
**Replies:** 5\
**Last updated:** [October 23, 2025, 10:46pm UTC](https://root-forum.cern.ch/t/root-manual-basics-object-ownership-question/64355 "2025-10-23T22:46:00Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided The following snippets are adapted from the Manual. I created an empt…

---

## [Infinite error bars on log-Y plot](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 3\
**Last updated:** [October 23, 2025, 3:15pm UTC](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322 "2025-10-23T15:15:12Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! How can I prevent ROOT from drawing infinity error bars when the errors are too big?

---

## [Reduce TTree key size](https://root-forum.cern.ch/t/reduce-ttree-key-size/64351)

<div class="topic-metadata">

**Author:** [@Clement\_Devanne](https://root-forum.cern.ch/u/Clement_Devanne)\
**Replies:** 2\
**Last updated:** [October 22, 2025, 3:07pm UTC](https://root-forum.cern.ch/t/reduce-ttree-key-size/64351 "2025-10-22T15:07:47Z")

</div>

ROOT Version: 6.30.08 Platform: linuxx8664gcc Compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Hi, I am trying to optimize the compressed size of a .root file and I’m confused about how TTree compression and key s…

---

## [How to draw histogram of 2D array by TTree::Draw()](https://root-forum.cern.ch/t/how-to-draw-histogram-of-2d-array-by-ttree-draw/64335)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [October 19, 2025, 10:00am UTC](https://root-forum.cern.ch/t/how-to-draw-histogram-of-2d-array-by-ttree-draw/64335 "2025-10-19T10:00:00Z")

</div>

Dear experts How can I draw the 2D histogram of a 2D array a\[m\]\[n\], where the x axis is m and y axis is a (value)? For example if I have a\[300\]\[20\] I should have a 2D histogram where x axis range is 0 ~ 299. I know I…

---

## [How to SetBit(TFile::k630forwardCompatibility)](https://root-forum.cern.ch/t/how-to-setbit-tfile-k630forwardcompatibility/64315)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 5\
**Last updated:** [October 19, 2025, 2:47am UTC](https://root-forum.cern.ch/t/how-to-setbit-tfile-k630forwardcompatibility/64315 "2025-10-19T02:47:40Z")

</div>

Dear experts I want to set the compatibility for a ROOT file, and I’m suggested to do it by TFile::SetBit(TFile::k630forwardCompatibility), but when I try to change it, I found I couldn’t: root \[0\] TFile\* f = TFile::O…

---

## [RDataFrame, lambda capture by value, and "static" behavior](https://root-forum.cern.ch/t/rdataframe-lambda-capture-by-value-and-static-behavior/64334)

<div class="topic-metadata">

**Author:** [@unmovingcastle](https://root-forum.cern.ch/u/unmovingcastle)\
**Replies:** 2\
**Last updated:** [October 18, 2025, 12:21pm UTC](https://root-forum.cern.ch/t/rdataframe-lambda-capture-by-value-and-static-behavior/64334 "2025-10-18T12:21:12Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.30.06 Platform: macosxarm64 Compiler: Apple clang version 15.0.0 The following snippet is converted from the RDataFrame Crash C…

---

## [Raw Pointers from TFile Get\<TTree\>](https://root-forum.cern.ch/t/raw-pointers-from-tfile-get-ttree/64332)

<div class="topic-metadata">

**Author:** [@unmovingcastle](https://root-forum.cern.ch/u/unmovingcastle)\
**Replies:** 1\
**Last updated:** [October 17, 2025, 7:07pm UTC](https://root-forum.cern.ch/t/raw-pointers-from-tfile-get-ttree/64332 "2025-10-17T19:07:39Z")

</div>

In the following, I purposefully put a TFile on the heap. TFile \* myFile = new TFile("myCoolFile.root"); and read a TTree from the file TTree \* myTree = (TTree\*) myFile-\>Get\<TTree\>("myCoolTree"); My Questions are: H…

---

## [Reading leaf of fixed-size array from TTree using TTreeReader](https://root-forum.cern.ch/t/reading-leaf-of-fixed-size-array-from-ttree-using-ttreereader/64300)

<div class="topic-metadata">

**Author:** [@jaofferm](https://root-forum.cern.ch/u/jaofferm)\
**Replies:** 2\
**Last updated:** [October 16, 2025, 3:24pm UTC](https://root-forum.cern.ch/t/reading-leaf-of-fixed-size-array-from-ttree-using-ttreereader/64300 "2025-10-16T15:24:09Z")

</div>

ROOT Version: 6.36.04 Platform: macosxarm64 Compiler: Not Provided Hi ROOTers! I have a relatively basic question about reading a branch from a TTree, which might be a bit of a rehash of some older questions about …

---

## [ROOT creating multiple trees](https://root-forum.cern.ch/t/root-creating-multiple-trees/63711)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 6\
**Last updated:** [October 16, 2025, 12:59pm UTC](https://root-forum.cern.ch/t/root-creating-multiple-trees/63711 "2025-10-16T12:59:20Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! I am generating 1E5 events in Pythia and storing particle data into a ROOT file. However, as shown below, why does ROOT make more than one tree? The tree\_raw;1 s…

---

## [Warning in \<TBufferFile::WriteObjectAny\>: An object of type 13TStreamerInfo (from type\_info) passed through a TObject pointer was truncated (due a missing dictionary)!](https://root-forum.cern.ch/t/warning-in-tbufferfile-writeobjectany-an-object-of-type-13tstreamerinfo-from-type-info-passed-through-a-tobject-pointer-was-truncated-due-a-missing-dictionary/64255)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 5\
**Last updated:** [October 14, 2025, 12:37pm UTC](https://root-forum.cern.ch/t/warning-in-tbufferfile-writeobjectany-an-object-of-type-13tstreamerinfo-from-type-info-passed-through-a-tobject-pointer-was-truncated-due-a-missing-dictionary/64255 "2025-10-14T12:37:24Z")

</div>

Dear experts I encountered this warning many times while running a program with ROOT library, but I don’t know how to locate the problematic code, how should I debug to find the problem? Warning in \<TBufferFile::Write…

---

## [Root TCanvas weird behavior in vscode WSL system](https://root-forum.cern.ch/t/root-tcanvas-weird-behavior-in-vscode-wsl-system/59161)

<div class="topic-metadata">

**Author:** [@thegame](https://root-forum.cern.ch/u/thegame)\
**Replies:** 5\
**Last updated:** [October 10, 2025, 2:49pm UTC](https://root-forum.cern.ch/t/root-tcanvas-weird-behavior-in-vscode-wsl-system/59161 "2025-10-10T14:49:15Z")

</div>

Hello everyone, I’m currently attempting to run the precompiled version of root\_v6.22.00\_Linux-ubuntu20-x86\_64-gcc9.3 through VScode on WSL (ubuntu 20.04). It seems to be functioning correctly overall, but I’m encounteri…

---

## [CMake + Signals/Slots](https://root-forum.cern.ch/t/cmake-signals-slots/64228)

<div class="topic-metadata">

**Author:** [@jlz](https://root-forum.cern.ch/u/jlz)\
**Replies:** 4\
**Last updated:** [September 30, 2025, 4:02pm UTC](https://root-forum.cern.ch/t/cmake-signals-slots/64228 "2025-09-30T16:02:19Z")

</div>

Hello everybody I’m trying compile a standalone application to show x,y cursor coordinates using signal/slot. I have seen several examples but no complete. This example runs on interactive ROOT but don’t work in standa…

---

## [Zooming out on canvas](https://root-forum.cern.ch/t/zooming-out-on-canvas/64225)

<div class="topic-metadata">

**Author:** [@raadshaikh](https://root-forum.cern.ch/u/raadshaikh)\
**Replies:** 1\
**Last updated:** [September 26, 2025, 6:01am UTC](https://root-forum.cern.ch/t/zooming-out-on-canvas/64225 "2025-09-26T06:01:34Z")

</div>

I have a histogram drawn on a canvas. I can zoom in by dragging and selecting a region of either the x or y axis with the mouse. What if I want to zoom out, or ‘unzoom’ –- How do I do this? The documentation seems to mo…

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

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