# Newbie

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

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

---

## [RooFit variables not recognised](https://root-forum.cern.ch/t/roofit-variables-not-recognised/64833)

<div class="topic-metadata">

**Author:** [@sprock](https://root-forum.cern.ch/u/sprock)\
**Replies:** 3\
**Last updated:** [May 8, 2026, 9:51am UTC](https://root-forum.cern.ch/t/roofit-variables-not-recognised/64833 "2026-05-08T09:51:56Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: root-6.38.00 Platform: FreeBSD Compiler: FreeBSD clang version 19.1.7 Hello, This code: #include “TH1.h” #include “TMath.h” #…

---

## [Could not create the Minuit2 minimizer](https://root-forum.cern.ch/t/could-not-create-the-minuit2-minimizer/64411)

<div class="topic-metadata">

**Author:** [@sprock](https://root-forum.cern.ch/u/sprock)\
**Replies:** 22\
**Last updated:** [April 30, 2026, 9:13am UTC](https://root-forum.cern.ch/t/could-not-create-the-minuit2-minimizer/64411 "2026-04-30T09:13:31Z")

</div>

Hello, I installed root-6.36.04 on FreeBSD-RELEASE-13.5 as a package, i.e. I did not compile it myself from source. On invoking one of the fitting tutorial scripts like this: root \[0\] .x hist032\_TRatioPlot\_fit\_lines.…

---

## [About TF1 interface and the fitting function for the ROOT::Fit::Fitter](https://root-forum.cern.ch/t/about-tf1-interface-and-the-fitting-function-for-the-root-fitter/64816)

<div class="topic-metadata">

**Author:** [@EdwinYZ](https://root-forum.cern.ch/u/EdwinYZ)\
**Replies:** 3\
**Last updated:** [April 27, 2026, 8:32am UTC](https://root-forum.cern.ch/t/about-tf1-interface-and-the-fitting-function-for-the-root-fitter/64816 "2026-04-27T08:32:16Z")

</div>

Hi, Problems I’m trying to fit a dataset using ROOT::Fit::Fitter interface in a C++ project. So far, I have been using TF1 class to setup the fitting function. In general, TF1 has two kinds of interfaces: Using stri…

---

## [TRotation in a Tree](https://root-forum.cern.ch/t/trotation-in-a-tree/64819)

<div class="topic-metadata">

**Author:** [@valentin630](https://root-forum.cern.ch/u/valentin630)\
**Replies:** 4\
**Last updated:** [April 26, 2026, 11:32am UTC](https://root-forum.cern.ch/t/trotation-in-a-tree/64819 "2026-04-26T11:32:34Z")

</div>

How to write TRotation data in a Tree to read them later?

---

## [Find which lib to link against](https://root-forum.cern.ch/t/find-which-lib-to-link-against/64817)

<div class="topic-metadata">

**Author:** [@mael15](https://root-forum.cern.ch/u/mael15)\
**Replies:** 3\
**Last updated:** [April 24, 2026, 7:21am UTC](https://root-forum.cern.ch/t/find-which-lib-to-link-against/64817 "2026-04-24T07:21:31Z")

</div>

I want to use root in my c++ app and cannot find info on which .lib file to link against? For example: I want to use TFile and see in the first line of TFile.h that is is part of the IO library. I happened to guess cor…

---

## [Call to constructor of 'TF1' is ambiguous](https://root-forum.cern.ch/t/call-to-constructor-of-tf1-is-ambiguous/64811)

<div class="topic-metadata">

**Author:** [@EdwinYZ](https://root-forum.cern.ch/u/EdwinYZ)\
**Replies:** 2\
**Last updated:** [April 23, 2026, 11:06am UTC](https://root-forum.cern.ch/t/call-to-constructor-of-tf1-is-ambiguous/64811 "2026-04-23T11:06:34Z")

</div>

Hi, I got an error while compiling the following code: #include \<Fit/Fitter.h\> #include \<TF1.h\> #include \<print\> auto main() -\> int { auto fitter = ROOT::Fit::Fitter{}; auto fitted\_function = TF1{ "linear", …

---

## [Efficiency issue when reading a persistent branch from file](https://root-forum.cern.ch/t/efficiency-issue-when-reading-a-persistent-branch-from-file/64806)

<div class="topic-metadata">

**Author:** [@leonardi](https://root-forum.cern.ch/u/leonardi)\
**Replies:** 3\
**Last updated:** [April 21, 2026, 8:24am UTC](https://root-forum.cern.ch/t/efficiency-issue-when-reading-a-persistent-branch-from-file/64806 "2026-04-21T08:24:43Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.34.04 Platform: AlmaLinux 9 Compiler: gcc 11.3.0 I have a problem related to the correct handling of a persistency class. My p…

---

## [Critical error detected c0000374 with minimal example](https://root-forum.cern.ch/t/critical-error-detected-c0000374-with-minimal-example/64804)

<div class="topic-metadata">

**Author:** [@mael15](https://root-forum.cern.ch/u/mael15)\
**Replies:** 9\
**Last updated:** [April 20, 2026, 2:47pm UTC](https://root-forum.cern.ch/t/critical-error-detected-c0000374-with-minimal-example/64804 "2026-04-20T14:47:45Z")

</div>

ROOT Version: 6.38.04 Platform: Windows Compiler: Visual Studio 2026 (18.3.3) I cannot get the simplest thing to run. I want to use ROOT in my c++ app and without even writing any special code, just including “TGrap…

---

## [Is it possible to disable progress bar?](https://root-forum.cern.ch/t/is-it-possible-to-disable-progress-bar/64772)

<div class="topic-metadata">

**Author:** [@av1](https://root-forum.cern.ch/u/av1)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 2:43pm UTC](https://root-forum.cern.ch/t/is-it-possible-to-disable-progress-bar/64772 "2026-03-24T14:43:38Z")

</div>

Hi all, I have a simple function that should merge ROOT files: bool merge\_root\_files(const std::string& outputFile, const std::vector\<std::string\>& inputFiles) //NOLINT(misc-use-internal-linkage) { // Disable ROOT…

---

## [What are the most difficult C++ topics to learn?](https://root-forum.cern.ch/t/what-are-the-most-difficult-c-topics-to-learn/64636)

<div class="topic-metadata">

**Author:** [@alfredo10101](https://root-forum.cern.ch/u/alfredo10101)\
**Replies:** 7\
**Last updated:** [March 20, 2026, 6:06am UTC](https://root-forum.cern.ch/t/what-are-the-most-difficult-c-topics-to-learn/64636 "2026-03-20T06:06:02Z")

</div>

Hi. What are the most difficult C++ topics to learn?, Are Pointers one of them?. Thanks

---

## [Missing file error when installing in windows](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746)

<div class="topic-metadata">

**Author:** [@GrfBiv](https://root-forum.cern.ch/u/GrfBiv)\
**Replies:** 4\
**Last updated:** [March 11, 2026, 6:19pm UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746 "2026-03-11T18:19:03Z")

</div>

ROOT Version: v6.38.02 Platform: Windows 11 Compiler: Not Provided Every time I start root I get this exact same error message. It says that the system cannot find the file specified, then says it can’t find files ‘n…

---

## [Interest in taking up project Root in Free Theaded Python for GSOC 2026](https://root-forum.cern.ch/t/interest-in-taking-up-project-root-in-free-theaded-python-for-gsoc-2026/64707)

<div class="topic-metadata">

**Author:** [@Sanchayan\_Ghosh](https://root-forum.cern.ch/u/Sanchayan_Ghosh)\
**Replies:** 5\
**Last updated:** [March 9, 2026, 3:59pm UTC](https://root-forum.cern.ch/t/interest-in-taking-up-project-root-in-free-theaded-python-for-gsoc-2026/64707 "2026-03-09T15:59:59Z")

</div>

Hi For GSOC 2026 - I wanted to frame a proposal for working on Root in Free Threaded Python. I have understand the root code flow, and the different ROOT related features. I was able to successfully clone and go throug…

---

## [Filtering branches from a large root file fails in 6.32](https://root-forum.cern.ch/t/filtering-branches-from-a-large-root-file-fails-in-6-32/64723)

<div class="topic-metadata">

**Author:** [@Heidi\_M\_Schellman](https://root-forum.cern.ch/u/Heidi_M_Schellman)\
**Replies:** 4\
**Last updated:** [March 3, 2026, 7:10pm UTC](https://root-forum.cern.ch/t/filtering-branches-from-a-large-root-file-fails-in-6-32/64723 "2026-03-03T19:10:22Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.32.10 Platform: OSX Compiler: 16.4 (apple silicon) I am trying to filter branches from a large file as part of our open data pr…

---

## [Title on x axis not visible when SetCanvasPreferGL(True)](https://root-forum.cern.ch/t/title-on-x-axis-not-visible-when-setcanvasprefergl-true/64731)

<div class="topic-metadata">

**Author:** [@beg1nner](https://root-forum.cern.ch/u/beg1nner)\
**Replies:** 3\
**Last updated:** [March 3, 2026, 5:46pm UTC](https://root-forum.cern.ch/t/title-on-x-axis-not-visible-when-setcanvasprefergl-true/64731 "2026-03-03T17:46:08Z")

</div>

Dear ROOT experts, When I set gStyle.SetCanvasPreferGL(True), the x-title for the ratio pad becomes not visible anymore, i.e. when I want to set it \`p\_{T}^{miss}\` , only p\_{T} or only p^{miss} gets drawn. I thought that…

---

## [Downloading root\_v6.36.08.macos-26.2-arm64-clang170.pkg with Safari fails due to too little space on HD](https://root-forum.cern.ch/t/downloading-root-v6-36-08-macos-26-2-arm64-clang170-pkg-with-safari-fails-due-to-too-little-space-on-hd/64708)

<div class="topic-metadata">

**Author:** [@read](https://root-forum.cern.ch/u/read)\
**Replies:** 3\
**Last updated:** [February 18, 2026, 3:28pm UTC](https://root-forum.cern.ch/t/downloading-root-v6-36-08-macos-26-2-arm64-clang170-pkg-with-safari-fails-due-to-too-little-space-on-hd/64708 "2026-02-18T15:28:58Z")

</div>

I’m trying to download, using Safari, the pre-compiled root 6.36.08 to a new MacBook Pro M5 running MAC OS 26.2, but I get an error that I don´t have enough free space. I have more than 200 GB free and the pkg file is on…

---

## [Cling JIT error on ROOT.Garfield.RndmUniform()](https://root-forum.cern.ch/t/cling-jit-error-on-root-garfield-rndmuniform/64697)

<div class="topic-metadata">

**Author:** [@hohshita](https://root-forum.cern.ch/u/hohshita)\
**Replies:** 2\
**Last updated:** [February 12, 2026, 4:05pm UTC](https://root-forum.cern.ch/t/cling-jit-error-on-root-garfield-rndmuniform/64697 "2026-02-12T16:05:35Z")

</div>

Dear ROOT experts, I recently installed ROOT 6.36.08 and Garfield++. When I entered the following command in PyROOT session, a cling JIT error occurred. If you know of any solutions, please let me know. $ ipython –p…

---

## [Implement customized code in a ROOT file](https://root-forum.cern.ch/t/implement-customized-code-in-a-root-file/64685)

<div class="topic-metadata">

**Author:** [@Gerrit](https://root-forum.cern.ch/u/Gerrit)\
**Replies:** 8\
**Last updated:** [February 11, 2026, 10:08am UTC](https://root-forum.cern.ch/t/implement-customized-code-in-a-root-file/64685 "2026-02-11T10:08:51Z")

</div>

Hi everyone, is there a best practice to implement code and header files of self-defined classes in a ROOT file? Using the example of the TMedusa class: How do you save the files TMedusa.cxx and TMedusa.h in the medusa\_…

---

## [Setting default value for column of type Char\_t](https://root-forum.cern.ch/t/setting-default-value-for-column-of-type-char-t/64693)

<div class="topic-metadata">

**Author:** [@kahaeuss](https://root-forum.cern.ch/u/kahaeuss)\
**Replies:** 1\
**Last updated:** [February 10, 2026, 8:45pm UTC](https://root-forum.cern.ch/t/setting-default-value-for-column-of-type-char-t/64693 "2026-02-10T20:45:45Z")

</div>

B.root (5.3 KB) A.root (5.3 KB) Hi everyone, I’m having some problems setting a default value for a column of type Char\_t. I have two root files with trees, which I load into a dataframe. The first file contains a b…

---

## [Installing error. Path too long installer unable to modify path](https://root-forum.cern.ch/t/installing-error-path-too-long-installer-unable-to-modify-path/48222)

<div class="topic-metadata">

**Author:** [@Palantir](https://root-forum.cern.ch/u/Palantir)\
**Replies:** 5\
**Last updated:** [February 9, 2026, 10:09am UTC](https://root-forum.cern.ch/t/installing-error-path-too-long-installer-unable-to-modify-path/48222 "2026-02-09T10:09:16Z")

</div>

Hello, I hope i post in correct section. So I am trying to install the newest version of root on Windows, constantly getting this error. ROOT version: root\_v6.24.06.win32.vc16.debug Windows 11 Home build 22000.376 an…

---

## [What is the proper way to structure C++ macros with modularity in mind?](https://root-forum.cern.ch/t/what-is-the-proper-way-to-structure-c-macros-with-modularity-in-mind/64598)

<div class="topic-metadata">

**Author:** [@deltaSpawn0040](https://root-forum.cern.ch/u/deltaSpawn0040)\
**Replies:** 1\
**Last updated:** [January 20, 2026, 3:27am UTC](https://root-forum.cern.ch/t/what-is-the-proper-way-to-structure-c-macros-with-modularity-in-mind/64598 "2026-01-20T03:27:17Z")

</div>

ROOT Version: 6.34.08 (Yes, I know this is not the latest version) Platform: NixOS Linux, x86\_64 Compiler: Cling (if that is the default when nothing has been done to change it) This installation of ROOT is from Nixp…

---

## [Linking error](https://root-forum.cern.ch/t/linking-error/64593)

<div class="topic-metadata">

**Author:** [@Younglolk](https://root-forum.cern.ch/u/Younglolk)\
**Replies:** 3\
**Last updated:** [January 16, 2026, 12:21pm UTC](https://root-forum.cern.ch/t/linking-error/64593 "2026-01-16T12:21:47Z")

</div>

Hello, I have been trying to build my gui with cmake for some time now but i always end up with a linking error. I have been trying some different things but i can’t get it to create the missing .lib file C:\\\\Projects…

---

## [Reading data of custom classes](https://root-forum.cern.ch/t/reading-data-of-custom-classes/64128)

<div class="topic-metadata">

**Author:** [@Gerrit](https://root-forum.cern.ch/u/Gerrit)\
**Replies:** 23\
**Last updated:** [January 9, 2026, 1:36pm UTC](https://root-forum.cern.ch/t/reading-data-of-custom-classes/64128 "2026-01-09T13:36:31Z")

</div>

ROOT Version: 6.28/02 Platform: Windows 11 Compiler: Not Provided Dear ROOT experts, I have a rather old ROOT file which uses a custom class to organize data, i.e. I have the 3 files (sorry - I am not allowed to put…

---

## [Intro and queries regarding GSoc 26'](https://root-forum.cern.ch/t/intro-and-queries-regarding-gsoc-26/64575)

<div class="topic-metadata">

**Author:** [@Raymond\_Thomas\_Roshy](https://root-forum.cern.ch/u/Raymond_Thomas_Roshy)\
**Replies:** 2\
**Last updated:** [January 8, 2026, 8:29pm UTC](https://root-forum.cern.ch/t/intro-and-queries-regarding-gsoc-26/64575 "2026-01-08T20:29:26Z")

</div>

ROOT Version: Not Provided Platform: Mac Compiler: Not Provided Hello ROOT Community, My name is Raymond Thomas Roshy, and I am a 3rd-year undergraduate at BITS Pilani, Goa Campus, pursuing a dual degree in Compute…

---

## [Value\_counts in RDataFrame](https://root-forum.cern.ch/t/value-counts-in-rdataframe/64549)

<div class="topic-metadata">

**Author:** [@lidia](https://root-forum.cern.ch/u/lidia)\
**Replies:** 2\
**Last updated:** [December 25, 2025, 10:06am UTC](https://root-forum.cern.ch/t/value-counts-in-rdataframe/64549 "2025-12-25T10:06:44Z")

</div>

Dear experts, I am trying to implement something analogue to what value\_counts() does in pandas with RDataFrame. I have found this previous entry where they ask for precisely this: I have one minor question: Is there…

---

## [Plus minus sign in a latex or a text](https://root-forum.cern.ch/t/plus-minus-sign-in-a-latex-or-a-text/47239)

<div class="topic-metadata">

**Author:** [@spyhunter01](https://root-forum.cern.ch/u/spyhunter01)\
**Replies:** 6\
**Last updated:** [December 24, 2025, 12:27pm UTC](https://root-forum.cern.ch/t/plus-minus-sign-in-a-latex-or-a-text/47239 "2025-12-24T12:27:30Z")

</div>

Dear all, Can you please tell me how to make ± or -+ sign together in a text before I get crazy :slight\_smile: ? Appreciated in advance. I used to write things like : Form("%3.2f^{#circ}", 455.34556), but now this For…

---

## [Do I need to update ClassDef if I change the name of a variable](https://root-forum.cern.ch/t/do-i-need-to-update-classdef-if-i-change-the-name-of-a-variable/64545)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 2\
**Last updated:** [December 19, 2025, 1:34am UTC](https://root-forum.cern.ch/t/do-i-need-to-update-classdef-if-i-change-the-name-of-a-variable/64545 "2025-12-19T01:34:26Z")

</div>

Dear all I created a class that derived from TObject, and had a unsigned int A stored. After I change the name A to B, but remain the same type (also I changed some functionalities related to this value, but that’s an…

---

## [\[CEA 48169\] Windows + Numba: cppyy.sizeof('void\*') Issue?](https://root-forum.cern.ch/t/cea-48169-windows-numba-cppyy-sizeof-void-issue/64497)

<div class="topic-metadata">

**Author:** [@Salomon](https://root-forum.cern.ch/u/Salomon)\
**Replies:** 5\
**Last updated:** [December 15, 2025, 8:02am UTC](https://root-forum.cern.ch/t/cea-48169-windows-numba-cppyy-sizeof-void-issue/64497 "2025-12-15T08:02:19Z")

</div>

ROOT Version: 6.36.06 Platform: win64 Compiler: 19.39.33521.0 Hello, I want to test your RDataFrame example on Windows: ROOT: ROOT::RDataFrame Class Reference Python interface / User code in the RDataFrame workflo…

---

## [Empty RNode after a return](https://root-forum.cern.ch/t/empty-rnode-after-a-return/64518)

<div class="topic-metadata">

**Author:** [@unmovingcastle](https://root-forum.cern.ch/u/unmovingcastle)\
**Replies:** 2\
**Last updated:** [December 11, 2025, 1:53pm UTC](https://root-forum.cern.ch/t/empty-rnode-after-a-return/64518 "2025-12-11T13:53:10Z")

</div>

ROOT Version: 6.36.04 Built for linuxarm64 on Aug 25 2025, 00:00:00 From tags/6-36-04@6-36-04 Hello Experts, In the following snippet, the first print statement (rdf.Display()→Print()) inside helper function \_\_useE…

---

## [Installing ROOT on Windows 11](https://root-forum.cern.ch/t/installing-root-on-windows-11/54066)

<div class="topic-metadata">

**Author:** [@Tanysha](https://root-forum.cern.ch/u/Tanysha)\
**Replies:** 6\
**Last updated:** [December 11, 2025, 8:18am UTC](https://root-forum.cern.ch/t/installing-root-on-windows-11/54066 "2025-12-11T08:18:02Z")

</div>

Hi, it says that the binary distribution can only be installed on Windows 10, but I really need to install ROOT on Windows 11. I tried to install root\_v6.26.10.win64.vc17.exe, but got the following errors RegOpenKeyEx(…

---

## [Read a SQLite db file and convert it to TTree](https://root-forum.cern.ch/t/read-a-sqlite-db-file-and-convert-it-to-ttree/64530)

<div class="topic-metadata">

**Author:** [@wztbxl](https://root-forum.cern.ch/u/wztbxl)\
**Replies:** 5\
**Last updated:** [December 11, 2025, 12:51am UTC](https://root-forum.cern.ch/t/read-a-sqlite-db-file-and-convert-it-to-ttree/64530 "2025-12-11T00:51:59Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: v6-30-02 Platform: Ubuntu-20.4 on Windows Compiler: Not Provided Dear Expert, I am trying to convert a SQLite file like ArchiveL…

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

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