# Newbie

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

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

---

## [Setting a fit parameter in one part of a function relative to another and varying it only in the first part](https://root-forum.cern.ch/t/setting-a-fit-parameter-in-one-part-of-a-function-relative-to-another-and-varying-it-only-in-the-first-part/60635)

<div class="topic-metadata">

**Author:** [@NSos](https://root-forum.cern.ch/u/NSos)\
**Replies:** 8\
**Last updated:** [September 30, 2024, 8:20am UTC](https://root-forum.cern.ch/t/setting-a-fit-parameter-in-one-part-of-a-function-relative-to-another-and-varying-it-only-in-the-first-part/60635 "2024-09-30T08:20:22Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.32.02 Platform: Ubuntu 22.04.3 Compiler: g++ 11.4.0 Hi! I would like to fit a function to my data, and the function comprises t…

---

## [How to write faster with blocks of data?](https://root-forum.cern.ch/t/how-to-write-faster-with-blocks-of-data/61816)

<div class="topic-metadata">

**Author:** [@kinstaky](https://root-forum.cern.ch/u/kinstaky)\
**Replies:** 3\
**Last updated:** [September 29, 2024, 3:44pm UTC](https://root-forum.cern.ch/t/how-to-write-faster-with-blocks-of-data/61816 "2024-09-29T15:44:02Z")

</div>

ROOT Version: 6.28 Platform: CentOS7 Compiler: g++ 9.3.0 I’m trying to analysis with CUDA. So I put computation into GPU but leave IO task in CPU. My code is like TFlie output\_file("xx.root", "recreate"); TTree tre…

---

## [How to use TBufferMerger](https://root-forum.cern.ch/t/how-to-use-tbuffermerger/61815)

<div class="topic-metadata">

**Author:** [@kinstaky](https://root-forum.cern.ch/u/kinstaky)\
**Replies:** 1\
**Last updated:** [September 29, 2024, 6:42am UTC](https://root-forum.cern.ch/t/how-to-use-tbuffermerger/61815 "2024-09-29T06:42:49Z")

</div>

ROOT Version: 6.32.02 Platform: Ubuntu 20.04 Compiler: g++ 9.4.0 I found slides from https://indico.jlab.org/event/459/contributions/11571/attachments/9442/13691/2023-CHEP-ROOT-IO.pdf. It shows that we can write fas…

---

## [TClonesArray nested within TClonesArray](https://root-forum.cern.ch/t/tclonesarray-nested-within-tclonesarray/61802)

<div class="topic-metadata">

**Author:** [@vkireyeu](https://root-forum.cern.ch/u/vkireyeu)\
**Replies:** 5\
**Last updated:** [September 28, 2024, 4:50pm UTC](https://root-forum.cern.ch/t/tclonesarray-nested-within-tclonesarray/61802 "2024-09-28T16:50:03Z")

</div>

I am trying to make some ROOT tree with the several nested TClonesArrays in it. It was not a big deal to create and fill such a tree, but to read it. In the attachment I put two examples of working/not working reading …

---

## [Maximum Likelihod Estimation through Minuit](https://root-forum.cern.ch/t/maximum-likelihod-estimation-through-minuit/61774)

<div class="topic-metadata">

**Author:** [@atha.stam](https://root-forum.cern.ch/u/atha.stam)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 6:08pm UTC](https://root-forum.cern.ch/t/maximum-likelihod-estimation-through-minuit/61774 "2024-09-25T18:08:13Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.16/00 Platform: Ubuntu 20.04 Compiler: linuxx8664gcc Dear co-rooters, (Please move to another more appropriate category if you…

---

## [Can't see the content of some catalogs in TBrowser](https://root-forum.cern.ch/t/cant-see-the-content-of-some-catalogs-in-tbrowser/61771)

<div class="topic-metadata">

**Author:** [@mpietrzak](https://root-forum.cern.ch/u/mpietrzak)\
**Replies:** 4\
**Last updated:** [September 25, 2024, 1:21pm UTC](https://root-forum.cern.ch/t/cant-see-the-content-of-some-catalogs-in-tbrowser/61771 "2024-09-25T13:21:33Z")

</div>

Hello, I have the problem as described in the topic. While browsing the catalog tree using TBrowser I can see the content of some catalogs, but not the others. It’s not even about the \*.root files but the content in gen…

---

## [Which is the latest gcc version that CINT version 5.18.00 can support on Ubuntu?](https://root-forum.cern.ch/t/which-is-the-latest-gcc-version-that-cint-version-5-18-00-can-support-on-ubuntu/61756)

<div class="topic-metadata">

**Author:** [@prabhu634](https://root-forum.cern.ch/u/prabhu634)\
**Replies:** 1\
**Last updated:** [September 23, 2024, 7:16pm UTC](https://root-forum.cern.ch/t/which-is-the-latest-gcc-version-that-cint-version-5-18-00-can-support-on-ubuntu/61756 "2024-09-23T19:16:15Z")

</div>

Hi @pcanal / @Wile\_E\_Coyote , I see that CINT version 5.18.00 is supported with gcc-4.8.5 on Ubuntu 24.04. I would like to know which is the latest gcc version that CINT 5.18.00 can support on Ubuntu?

---

## [Brew install of Root not working (still showing v6.32.04 after homebrew update)](https://root-forum.cern.ch/t/brew-install-of-root-not-working-still-showing-v6-32-04-after-homebrew-update/61759)

<div class="topic-metadata">

**Author:** [@kristen\_leibensp](https://root-forum.cern.ch/u/kristen_leibensp)\
**Replies:** 1\
**Last updated:** [September 23, 2024, 7:12pm UTC](https://root-forum.cern.ch/t/brew-install-of-root-not-working-still-showing-v6-32-04-after-homebrew-update/61759 "2024-09-23T19:12:25Z")

</div>

I had updated my mac to Sequoia and it was not working. I had updated ROOT using the homebrew formula and it says it has updated to v6.32.06. When I check the pathway it still says root is running v6.32.04

---

## [\`AssertClass\` for \`TClonesArray\`](https://root-forum.cern.ch/t/assertclass-for-tclonesarray/61733)

<div class="topic-metadata">

**Author:** [@ctacke](https://root-forum.cern.ch/u/ctacke)\
**Replies:** 5\
**Last updated:** [September 23, 2024, 4:47pm UTC](https://root-forum.cern.ch/t/assertclass-for-tclonesarray/61733 "2024-09-23T16:47:27Z")

</div>

I see that TCollection has an AssertClass member function to assert that all objects derive from some specific class. Good! From looking at the implementation, it iterates over all elements. For the generic case, this i…

---

## [How to efficiently remove zero entries from DataFrame rows](https://root-forum.cern.ch/t/how-to-efficiently-remove-zero-entries-from-dataframe-rows/61750)

<div class="topic-metadata">

**Author:** [@Terklton](https://root-forum.cern.ch/u/Terklton)\
**Replies:** 2\
**Last updated:** [September 23, 2024, 7:48am UTC](https://root-forum.cern.ch/t/how-to-efficiently-remove-zero-entries-from-dataframe-rows/61750 "2024-09-23T07:48:52Z")

</div>

Hi all, I have a dataframe with columns “pp” and “pt”. each row of these columns is a vector and some of the values are 0. I’m trying to find a way to efficiently remove the zeros. I’m using Jupyter Notebooks and Python…

---

## [Fatal error: malformed or corrupted AST file](https://root-forum.cern.ch/t/fatal-error-malformed-or-corrupted-ast-file/61735)

<div class="topic-metadata">

**Author:** [@Radwan\_Parvez](https://root-forum.cern.ch/u/Radwan_Parvez)\
**Replies:** 1\
**Last updated:** [September 21, 2024, 5:34am UTC](https://root-forum.cern.ch/t/fatal-error-malformed-or-corrupted-ast-file/61735 "2024-09-21T05:34:18Z")

</div>

Please read tips for efficient and successful posting and posting code \_ROOT Version:\_6.32.04 Platform: MacOS Sequoia 15 Compiler: xcode-select version 2409 Hi I was using root flawlessly in my mac machine. But su…

---

## [Deexcitation Product Error while simulating avalanche & avalanche simulation speed up?](https://root-forum.cern.ch/t/deexcitation-product-error-while-simulating-avalanche-avalanche-simulation-speed-up/60484)

<div class="topic-metadata">

**Author:** [@lbacz](https://root-forum.cern.ch/u/lbacz)\
**Replies:** 5\
**Last updated:** [September 20, 2024, 4:20pm UTC](https://root-forum.cern.ch/t/deexcitation-product-error-while-simulating-avalanche-avalanche-simulation-speed-up/60484 "2024-09-20T16:20:38Z")

</div>

Hello, I have 2 questions regarding avalanche simulations. For context, I am attempting to simulate an incident Electron/Proton in the range of MeVs passing through a Triple GEM Detector and the subsequent delta electr…

---

## [Don't want to work on terminal](https://root-forum.cern.ch/t/dont-want-to-work-on-terminal/61701)

<div class="topic-metadata">

**Author:** [@Chanhyuk\_Park](https://root-forum.cern.ch/u/Chanhyuk_Park)\
**Replies:** 4\
**Last updated:** [September 18, 2024, 3:28pm UTC](https://root-forum.cern.ch/t/dont-want-to-work-on-terminal/61701 "2024-09-18T15:28:05Z")

</div>

I’m a mac user, but after I installed ROOT to my mac I can only use it on my terminal, which is a terrible environment to code. Is there another platform or IDE on which I can work with ROOT using C++? Please read tips…

---

## [Replace entries in a single branch only of an existing tree with several branches based on an if condition](https://root-forum.cern.ch/t/replace-entries-in-a-single-branch-only-of-an-existing-tree-with-several-branches-based-on-an-if-condition/61691)

<div class="topic-metadata">

**Author:** [@thegame](https://root-forum.cern.ch/u/thegame)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 3:06pm UTC](https://root-forum.cern.ch/t/replace-entries-in-a-single-branch-only-of-an-existing-tree-with-several-branches-based-on-an-if-condition/61691 "2024-09-18T15:06:14Z")

</div>

Hi everyone, I have a set of ROOT files, each containing a tree named “Tree” with around 250 branches. The files follow a naming pattern like “File\_001.root”, “File\_002.root”, and so on. The tree “Tree” has multiple bra…

---

## [RDataFrame, plotting 2D vector into 1D histogram](https://root-forum.cern.ch/t/rdataframe-plotting-2d-vector-into-1d-histogram/60580)

<div class="topic-metadata">

**Author:** [@gselamet](https://root-forum.cern.ch/u/gselamet)\
**Replies:** 6\
**Last updated:** [September 16, 2024, 6:57pm UTC](https://root-forum.cern.ch/t/rdataframe-plotting-2d-vector-into-1d-histogram/60580 "2024-09-16T18:57:20Z")

</div>

Please read tips for efficient and successful posting and posting code \_ROOT Version: 6.32.02 Platform: macosx64 Compiler: not sure (homebrew build) I am using RDataFrame with pyroot. In my Tree each event has some…

---

## [FFT: How to rescale x-axis](https://root-forum.cern.ch/t/fft-how-to-rescale-x-axis/61649)

<div class="topic-metadata">

**Author:** [@atha.stam](https://root-forum.cern.ch/u/atha.stam)\
**Replies:** 6\
**Last updated:** [September 13, 2024, 6:20pm UTC](https://root-forum.cern.ch/t/fft-how-to-rescale-x-axis/61649 "2024-09-13T18:20:57Z")

</div>

ROOT Version: 6.16/00 Platform: Ubuntu 20.04 Compiler: gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) Dear co-rooters, I am trying to perform a FFT on a simple sinusodial function, copying the example FFT.C. I …

---

## [User-defined function with numbering of parameters](https://root-forum.cern.ch/t/user-defined-function-with-numbering-of-parameters/61588)

<div class="topic-metadata">

**Author:** [@Natalia\_D](https://root-forum.cern.ch/u/Natalia_D)\
**Replies:** 4\
**Last updated:** [September 13, 2024, 8:04am UTC](https://root-forum.cern.ch/t/user-defined-function-with-numbering-of-parameters/61588 "2024-09-13T08:04:01Z")

</div>

Good afternoon! I would like to define a composite function similar to TF1 \*f = new TF1("f", "gausn(0) + gausn(3)"); but with own functions instead of gausn-s. I have defined a custom function, double test\_fun(doubl…

---

## [Minuit in ROOT 6.32.04](https://root-forum.cern.ch/t/minuit-in-root-6-32-04/60620)

<div class="topic-metadata">

**Author:** [@Natalia\_D](https://root-forum.cern.ch/u/Natalia_D)\
**Replies:** 4\
**Last updated:** [September 13, 2024, 6:58am UTC](https://root-forum.cern.ch/t/minuit-in-root-6-32-04/60620 "2024-09-13T06:58:36Z")

</div>

Good afternoon! I have upgraded Root up to version 6.32.04, and realized, that behavior of Minuit has changed. An addressing gMinuit leads to the error Error in \<HandleInterpreterException\>: Trying to dereference null …

---

## [TTreeFormula support only 2 level of variables size collections](https://root-forum.cern.ch/t/ttreeformula-support-only-2-level-of-variables-size-collections/60645)

<div class="topic-metadata">

**Author:** [@Mukul](https://root-forum.cern.ch/u/Mukul)\
**Replies:** 15\
**Last updated:** [September 11, 2024, 12:28pm UTC](https://root-forum.cern.ch/t/ttreeformula-support-only-2-level-of-variables-size-collections/60645 "2024-09-11T12:28:37Z")

</div>

Hi all. This is regarding RDataFrame. However, if another way like TTreeReader is a way to solve, I will appreciate it. I have following structure in my ROOT file. I wanted to draw the ‘energy\_’ histogram just simpl…

---

## [Copying certain events to a new file](https://root-forum.cern.ch/t/copying-certain-events-to-a-new-file/61619)

<div class="topic-metadata">

**Author:** [@jbrom](https://root-forum.cern.ch/u/jbrom)\
**Replies:** 3\
**Last updated:** [September 11, 2024, 8:01am UTC](https://root-forum.cern.ch/t/copying-certain-events-to-a-new-file/61619 "2024-09-11T08:01:48Z")

</div>

ROOT Version: 6.32.02 Platform: win64 Compiler: MSVC 19.39.33521.0 For a while I’ve been working with a relatively large ROOT file, so naturally my computer takes a bit to run code over 10s of millions of events. In…

---

## [Drawing legend zooms out x-axis to start at 0; how to reset it?](https://root-forum.cern.ch/t/drawing-legend-zooms-out-x-axis-to-start-at-0-how-to-reset-it/61597)

<div class="topic-metadata">

**Author:** [@nsj](https://root-forum.cern.ch/u/nsj)\
**Replies:** 3\
**Last updated:** [September 9, 2024, 7:23am UTC](https://root-forum.cern.ch/t/drawing-legend-zooms-out-x-axis-to-start-at-0-how-to-reset-it/61597 "2024-09-09T07:23:28Z")

</div>

I am using JSROOT to display several TMultiGraphs online. Without legends, they look ok, but I need legends. I am reading the multigraphs from a root file and constructing the legends in JS. All of these multigraphs h…

---

## [Set User range on TGraph not working for x-axis , but OK for y-axis](https://root-forum.cern.ch/t/set-user-range-on-tgraph-not-working-for-x-axis-but-ok-for-y-axis/60668)

<div class="topic-metadata">

**Author:** [@kiesling](https://root-forum.cern.ch/u/kiesling)\
**Replies:** 12\
**Last updated:** [September 5, 2024, 5:06pm UTC](https://root-forum.cern.ch/t/set-user-range-on-tgraph-not-working-for-x-axis-but-ok-for-y-axis/60668 "2024-09-05T17:06:56Z")

</div>

I am using ROOT version 6.30/08 on Ubuntu 20. I draw several objects on a canvas (TGraph for data plus others for ellipse and lines). I want to set my own drawing limits using SetRangeUser. While the y axis scales corre…

---

## [Scatter plot (with colorbar) in pyroot](https://root-forum.cern.ch/t/scatter-plot-with-colorbar-in-pyroot/39214)

<div class="topic-metadata">

**Author:** [@LCC](https://root-forum.cern.ch/u/LCC)\
**Replies:** 9\
**Last updated:** [September 5, 2024, 1:39pm UTC](https://root-forum.cern.ch/t/scatter-plot-with-colorbar-in-pyroot/39214 "2024-09-05T13:39:46Z")

</div>

Hi! This is my first post here, so excuse me if it is a repeated question (although I searched for similar posts). I am completely new with Root, and I started learning it with with pyroot. Right now, my project consis…

---

## [Different Chi2/ndf results](https://root-forum.cern.ch/t/different-chi2-ndf-results/60665)

<div class="topic-metadata">

**Author:** [@Elena\_Veli](https://root-forum.cern.ch/u/Elena_Veli)\
**Replies:** 6\
**Last updated:** [September 4, 2024, 10:58am UTC](https://root-forum.cern.ch/t/different-chi2-ndf-results/60665 "2024-09-04T10:58:37Z")

</div>

Hi, So I have made a program to do fitting in some values. The chi2/ndf, I obtain from the TGrapherror is very different from the one of the TF1. The TF1 for instance can give around 2 while the TGrapherror gives 0.03… …

---

## [Filling a TTree Branch with a variable lenght array](https://root-forum.cern.ch/t/filling-a-ttree-branch-with-a-variable-lenght-array/60656)

<div class="topic-metadata">

**Author:** [@marini](https://root-forum.cern.ch/u/marini)\
**Replies:** 6\
**Last updated:** [September 3, 2024, 11:18am UTC](https://root-forum.cern.ch/t/filling-a-ttree-branch-with-a-variable-lenght-array/60656 "2024-09-03T11:18:27Z")

</div>

Please read tips for efficient and successful posting and posting code \_ROOT 6.28 \_Platform: Ubuntu 22.04.4 LTS Compiler: Not Provided Hello rooters, I’m trying to fill a TTree with a variable length array. The is…

---

## [libCore.so.6.30: cannot open shared object file: No such file or directory](https://root-forum.cern.ch/t/libcore-so-6-30-cannot-open-shared-object-file-no-such-file-or-directory/60678)

<div class="topic-metadata">

**Author:** [@emelen](https://root-forum.cern.ch/u/emelen)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 8:24pm UTC](https://root-forum.cern.ch/t/libcore-so-6-30-cannot-open-shared-object-file-no-such-file-or-directory/60678 "2024-09-02T20:24:15Z")

</div>

Hello, I try to run a software that uses root and I get an error that I haven’t seen before, even when I source root. fpgaconfig: error while loading shared libraries: libCore.so.6.30: cannot open shared object file: N…

---

## [Cannot build Garfield++: Missing VDT library](https://root-forum.cern.ch/t/cannot-build-garfield-missing-vdt-library/60664)

<div class="topic-metadata">

**Author:** [@CLR\_123](https://root-forum.cern.ch/u/CLR_123)\
**Replies:** 3\
**Last updated:** [September 2, 2024, 7:03pm UTC](https://root-forum.cern.ch/t/cannot-build-garfield-missing-vdt-library/60664 "2024-09-02T19:03:36Z")

</div>

Hello, I’m trying to install Garfield++ on my machine, building it from source (I cloned the garfieldpp repository from gitlab.cern.ch) with cmake, but when running cmake $GARFIELD\_HOME, I get the following error: CMake…

---

## [Getting value from the leaf](https://root-forum.cern.ch/t/getting-value-from-the-leaf/60662)

<div class="topic-metadata">

**Author:** [@Goktug\_Bayram](https://root-forum.cern.ch/u/Goktug_Bayram)\
**Replies:** 4\
**Last updated:** [September 2, 2024, 10:47am UTC](https://root-forum.cern.ch/t/getting-value-from-the-leaf/60662 "2024-09-02T10:47:40Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided Hello everyone, I am trying to get nDigiHF value from the hcalnano\_cal…

---

## [Different methods for sum of Pt from two particles](https://root-forum.cern.ch/t/different-methods-for-sum-of-pt-from-two-particles/60647)

<div class="topic-metadata">

**Author:** [@4lplusMatt](https://root-forum.cern.ch/u/4lplusMatt)\
**Replies:** 6\
**Last updated:** [August 30, 2024, 6:37am UTC](https://root-forum.cern.ch/t/different-methods-for-sum-of-pt-from-two-particles/60647 "2024-08-30T06:37:23Z")

</div>

Hello, I’m trying to get the total transverse momentum of a lepton pair and I have two methods giving slightly different answers. The two methods are: Create vectors for each lepton, combine them and use .Pt() Directl…

---

## [Plotting alpha paths in Root C](https://root-forum.cern.ch/t/plotting-alpha-paths-in-root-c/60619)

<div class="topic-metadata">

**Author:** [@TimFulcher](https://root-forum.cern.ch/u/TimFulcher)\
**Replies:** 1\
**Last updated:** [August 27, 2024, 5:09am UTC](https://root-forum.cern.ch/t/plotting-alpha-paths-in-root-c/60619 "2024-08-27T05:09:20Z")

</div>

ROOT Version: 6.32.02 \_Operating System:\_Sonoma 14.3 \_Compiler/Version: X code 15.3 \_CMake Version:\_3.29.2 Hi all, I’ve changed the microdosimetry example in G4 to run alphas instead of protons and wish to view the …

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

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