# Newbie

**URL:** https://root-forum.cern.ch/c/newbie/26.md

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

---

## [About the Newbie category](https://root-forum.cern.ch/t/about-the-newbie-category/30794)

<div class="topic-metadata">

**Author:** [@Axel](https://root-forum.cern.ch/u/Axel)\
**Replies:** 0\
**Last updated:** [September 24, 2018, 8:24am UTC](https://root-forum.cern.ch/t/about-the-newbie-category/30794 "2018-09-24T08:24:19Z")

</div>

What to ask: If you don’t know whether your question is appropriate then post it here! Our community has more novice than experienced users, so don’t be afraid to ask anything. Bonus points for checking (using search) t…

---

## [JSROOT in interactive school board](https://root-forum.cern.ch/t/jsroot-in-interactive-school-board/65050)

<div class="topic-metadata">

**Author:** [@Georgios](https://root-forum.cern.ch/u/Georgios)\
**Replies:** 8\
**Last updated:** [November 13, 2026, 2:59pm UTC](https://root-forum.cern.ch/t/jsroot-in-interactive-school-board/65050 "2026-11-13T14:59:17Z")

</div>

Hello everyone, i use JSROOT to create some graphs to show in an interactive school board. Is there anything i can do to to keep mouse events and override touch events from JSROOT? I cant move graphical elements like…

---

## [Cling fails on macOS 27](https://root-forum.cern.ch/t/cling-fails-on-macos-27/65046)

<div class="topic-metadata">

**Author:** [@Stanju](https://root-forum.cern.ch/u/Stanju)\
**Replies:** 2\
**Last updated:** [November 6, 2026, 10:52am UTC](https://root-forum.cern.ch/t/cling-fails-on-macos-27/65046 "2026-11-06T10:52:04Z")

</div>

Hello Experts, I am an undergrad working on a decay dataset, I am stuck with this problem and this is my first time using ROOT so i don’t know where to start when it come to fixing it. ROOT starts on my Mac and it does…

---

## [\`#include\` causes macro executation failure](https://root-forum.cern.ch/t/include-causes-macro-executation-failure/65038)

<div class="topic-metadata">

**Author:** [@unmovingcastle](https://root-forum.cern.ch/u/unmovingcastle)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 6:38pm UTC](https://root-forum.cern.ch/t/include-causes-macro-executation-failure/65038 "2026-10-27T18:38:11Z")

</div>

ROOT Version: 6.40.04 Platform: linuxarm64 Compiler: gcc (GCC) 16.2.1 Hello Experts, I ran into a weird error: Processing examples/convention\_test.C... In file included from libpueoEvent dictionary payload:15: ./s…

---

## [Installation issue in Ubuntu 26.04.1 LTS](https://root-forum.cern.ch/t/installation-issue-in-ubuntu-26-04-1-lts/65029)

<div class="topic-metadata">

**Author:** [@Soumalya](https://root-forum.cern.ch/u/Soumalya)\
**Replies:** 3\
**Last updated:** [October 23, 2026, 12:24pm UTC](https://root-forum.cern.ch/t/installation-issue-in-ubuntu-26-04-1-lts/65029 "2026-10-23T12:24:21Z")

</div>

At 63% of building from source this error occurs. ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths! ERROR in cling::CIFactory::createCI(): cannot extract standard library include pa…

---

## [Rootssh is really slow to start up](https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033)

<div class="topic-metadata">

**Author:** [@rmcgover](https://root-forum.cern.ch/u/rmcgover)\
**Replies:** 2\
**Last updated:** [October 22, 2026, 9:21am UTC](https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033 "2026-10-22T09:21:19Z")

</div>

ROOT Version: 6.40.04 (conda-forge/linux-64::root-6.40.04-py314h3550fcc\_1) Platform: Ubuntu (WSL 2.0) Compiler: Not Provided I’m running ROOT from conda on WSL Ubuntu. I would like to use the interactive browser to …

---

## [Transverse mass calculaton with TLorentzVector gives wrong results](https://root-forum.cern.ch/t/transverse-mass-calculaton-with-tlorentzvector-gives-wrong-results/55048)

<div class="topic-metadata">

**Author:** [@helton](https://root-forum.cern.ch/u/helton)\
**Replies:** 14\
**Last updated:** [October 8, 2026, 5:23pm UTC](https://root-forum.cern.ch/t/transverse-mass-calculaton-with-tlorentzvector-gives-wrong-results/55048 "2026-10-08T17:23:03Z")

</div>

Hi all, I have the following question: Why does the .Mt() value from TLorentzVector give me a different result for the mass distribution of the W boson than the known short formula for 2 leptons? The formula gives me a …

---

## [Asimage, libAfterImage, X11 implicit function declaration and conversion errors in compiling from source](https://root-forum.cern.ch/t/asimage-libafterimage-x11-implicit-function-declaration-and-conversion-errors-in-compiling-from-source/65006)

<div class="topic-metadata">

**Author:** [@sbauer](https://root-forum.cern.ch/u/sbauer)\
**Replies:** 9\
**Last updated:** [October 2, 2026, 9:51pm UTC](https://root-forum.cern.ch/t/asimage-libafterimage-x11-implicit-function-declaration-and-conversion-errors-in-compiling-from-source/65006 "2026-10-02T21:51:58Z")

</div>

ROOT Version: 6.40.04 for linuxx8664gcc Platform: Fedora 44 on WSL 2 on Windows 11 25H2 Compiler: Cling (i think?) Hello, I am trying to compile Root from source on Fedora 44 through WSL on Windows 11. I cloned the …

---

## [Embedded Cling partially working](https://root-forum.cern.ch/t/embedded-cling-partially-working/64999)

<div class="topic-metadata">

**Author:** [@frost\_nova](https://root-forum.cern.ch/u/frost_nova)\
**Replies:** 1\
**Last updated:** [September 28, 2026, 9:40am UTC](https://root-forum.cern.ch/t/embedded-cling-partially-working/64999 "2026-09-28T09:40:06Z")

</div>

Hi, I’ve been interested on using ROOT Cling as part of a project that reads external \*.cpp files to expand itself, however I ran into multiple hurdles trying to properly setup a working demo. my current setup consist …

---

## [Rootssh and tcsh](https://root-forum.cern.ch/t/rootssh-and-tcsh/64993)

<div class="topic-metadata">

**Author:** [@hugo\_leung](https://root-forum.cern.ch/u/hugo_leung)\
**Replies:** 6\
**Last updated:** [September 16, 2026, 5:15pm UTC](https://root-forum.cern.ch/t/rootssh-and-tcsh/64993 "2026-09-16T17:15:13Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.40.04 Platform: mac and Linux Compiler: arm64-apple-darwin20.0.0-clang I am trying to connect to a remote server with rootssh. T…

---

## [Plotting LEGO with SURF](https://root-forum.cern.ch/t/plotting-lego-with-surf/64990)

<div class="topic-metadata">

**Author:** [@lost\_soul\_519](https://root-forum.cern.ch/u/lost_soul_519)\
**Replies:** 1\
**Last updated:** [September 8, 2026, 6:01am UTC](https://root-forum.cern.ch/t/plotting-lego-with-surf/64990 "2026-09-08T06:01:48Z")

</div>

Hello all. I seem to be running into an issue when I try to superpose my TH2D using LEGO and it’s corresponding fit using SURF. Specifically I think the z-axis is getting distorted (not sure how exactly to phrase it). E…

---

## [Pointers displayed during usage of TBrowser](https://root-forum.cern.ch/t/pointers-displayed-during-usage-of-tbrowser/64986)

<div class="topic-metadata">

**Author:** [@raadshaikh](https://root-forum.cern.ch/u/raadshaikh)\
**Replies:** 1\
**Last updated:** [September 4, 2026, 6:59am UTC](https://root-forum.cern.ch/t/pointers-displayed-during-usage-of-tbrowser/64986 "2026-09-04T06:59:30Z")

</div>

I open root from the terminal, then do new TBrowser, then browse to a file and double-click. In the terminal, I see something like root \[1\] (TFile \*) 0x58dba3a3ee50 Is the hex number here a pointer or address or someth…

---

## [Unexpected behavior of nested for loops when loading a macro with .L](https://root-forum.cern.ch/t/unexpected-behavior-of-nested-for-loops-when-loading-a-macro-with-l/64919)

<div class="topic-metadata">

**Author:** [@teapot](https://root-forum.cern.ch/u/teapot)\
**Replies:** 13\
**Last updated:** [August 28, 2026, 5:00pm UTC](https://root-forum.cern.ch/t/unexpected-behavior-of-nested-for-loops-when-loading-a-macro-with-l/64919 "2026-08-28T17:00:27Z")

</div>

Hi, I noticed what seems to be an unexpected behavior in Cling (ROOT 6.34.08, GCC 15.2.0, Linux). The following simple code works correctly when entered directly at the interactive prompt: for (int i = 0; i \< 10; ++i) {…

---

## [C++20 std::format fails](https://root-forum.cern.ch/t/c-20-std-format-fails/64969)

<div class="topic-metadata">

**Author:** [@johanr](https://root-forum.cern.ch/u/johanr)\
**Replies:** 6\
**Last updated:** [August 11, 2026, 12:09pm UTC](https://root-forum.cern.ch/t/c-20-std-format-fails/64969 "2026-08-11T12:09:55Z")

</div>

I’m using ROOT with C++20 in Jupyter Notebooks. I tested some C++20 features. std::span works. But std::format fails. I ran a notebook with the single line std::format("Hello World!") This failed with the error messa…

---

## [ROOT 6.40.02 build failure with CMake 4.4.2](https://root-forum.cern.ch/t/root-6-40-02-build-failure-with-cmake-4-4-2/64968)

<div class="topic-metadata">

**Author:** [@daimmig](https://root-forum.cern.ch/u/daimmig)\
**Replies:** 2\
**Last updated:** [August 7, 2026, 3:00pm UTC](https://root-forum.cern.ch/t/root-6-40-02-build-failure-with-cmake-4-4-2/64968 "2026-08-07T15:00:25Z")

</div>

CMake 4.4.2 build failure in ROOT 6.40.02 due to unquoted variable expansion in if() Where CMakeLists.txt, lines 607-609 if((var MATCHES "\_(LIBRARIES|LIBRARY|INCLUDE|VERSION)") AND (NOT ${${var}} STREQUAL "") AND …

---

## [CERN ROOT on Windows](https://root-forum.cern.ch/t/cern-root-on-windows/64947)

<div class="topic-metadata">

**Author:** [@johanr](https://root-forum.cern.ch/u/johanr)\
**Replies:** 65\
**Last updated:** [August 5, 2026, 6:46pm UTC](https://root-forum.cern.ch/t/cern-root-on-windows/64947 "2026-08-05T18:46:17Z")

</div>

Hi, I just learnt about CERN ROOT. My question is, can I use it with C++ in Jupyther notebooks on Windows? Thank you Johan

---

## [Numerical derivative of an array](https://root-forum.cern.ch/t/numerical-derivative-of-an-array/57754)

<div class="topic-metadata">

**Author:** [@samuelb91](https://root-forum.cern.ch/u/samuelb91)\
**Replies:** 3\
**Last updated:** [July 16, 2026, 9:11am UTC](https://root-forum.cern.ch/t/numerical-derivative-of-an-array/57754 "2026-07-16T09:11:05Z")

</div>

I have an array of doubles I’d like to compute the second derivative of. I’ve poked around on the forums/documentation for a little while, and it seems like ROOT doesn’t support numerical differentiation of an array in w…

---

## [Compiling with ROOT (issue specific to lxplus default root installation)](https://root-forum.cern.ch/t/compiling-with-root-issue-specific-to-lxplus-default-root-installation/64943)

<div class="topic-metadata">

**Author:** [@lost\_soul\_519](https://root-forum.cern.ch/u/lost_soul_519)\
**Replies:** 2\
**Last updated:** [July 13, 2026, 1:16pm UTC](https://root-forum.cern.ch/t/compiling-with-root-issue-specific-to-lxplus-default-root-installation/64943 "2026-07-13T13:16:22Z")

</div>

Hi all, Quick question on some issues with compiling ROOT programs. Consider the simple test.cxx. #include \<ROOT/RDataFrame.hxx\> #include \<iostream\> int main() { auto rdf = ROOT::RDataFrame(10); auto df = rdf.Define…

---

## [Problems filtering a vector with a scalar](https://root-forum.cern.ch/t/problems-filtering-a-vector-with-a-scalar/64922)

<div class="topic-metadata">

**Author:** [@abirze](https://root-forum.cern.ch/u/abirze)\
**Replies:** 3\
**Last updated:** [July 8, 2026, 4:14pm UTC](https://root-forum.cern.ch/t/problems-filtering-a-vector-with-a-scalar/64922 "2026-07-08T16:14:32Z")

</div>

I’m trying to filter values of a RDFrame, but the elements in the RDFrame are vectors and it seems like i’m trying to do vector to scalar comparison. Been trying to do df\_data.Filter(f'ALL\_hits\_S == {float(section)}') …

---

## [Segfault with pyroot and matplotlib](https://root-forum.cern.ch/t/segfault-with-pyroot-and-matplotlib/64915)

<div class="topic-metadata">

**Author:** [@nwin](https://root-forum.cern.ch/u/nwin)\
**Replies:** 2\
**Last updated:** [June 24, 2026, 2:16pm UTC](https://root-forum.cern.ch/t/segfault-with-pyroot-and-matplotlib/64915 "2026-06-24T14:16:50Z")

</div>

ROOT Version: 6.40.02 Platform: Arch Linux (root distro package) Compiler: gcc Python Version: 3.14.6 Consistently producible on my end with this code and (so far) any .root dataset I’ve tried. import ROOT import …

---

## [Draw("surf3 same") on top of lego plot](https://root-forum.cern.ch/t/draw-surf3-same-on-top-of-lego-plot/64910)

<div class="topic-metadata">

**Author:** [@preimer](https://root-forum.cern.ch/u/preimer)\
**Replies:** 4\
**Last updated:** [June 22, 2026, 1:39pm UTC](https://root-forum.cern.ch/t/draw-surf3-same-on-top-of-lego-plot/64910 "2026-06-22T13:39:52Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.36.16 Platform: macosxarm64 Compiler: Apple clang version 21.0.0 (clang-2100.0.123.102) There is probably an easy way to do thi…

---

## [Canvas not drawn in root 6.40.00](https://root-forum.cern.ch/t/canvas-not-drawn-in-root-6-40-00/64882)

<div class="topic-metadata">

**Author:** [@bomben](https://root-forum.cern.ch/u/bomben)\
**Replies:** 7\
**Last updated:** [June 8, 2026, 9:09am UTC](https://root-forum.cern.ch/t/canvas-not-drawn-in-root-6-40-00/64882 "2026-06-08T09:09:39Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.40.00 Platform: OS X 26.5 (25F71) Compiler: clang-2100.1.1.101 Dear all, I have jupyter notebooks who works perfectly in 6.32.…

---

## [Drawing Multi-Valued 3D Plots with Proper Meshes](https://root-forum.cern.ch/t/drawing-multi-valued-3d-plots-with-proper-meshes/64883)

<div class="topic-metadata">

**Author:** [@tmkowalewski](https://root-forum.cern.ch/u/tmkowalewski)\
**Replies:** 2\
**Last updated:** [June 8, 2026, 8:38am UTC](https://root-forum.cern.ch/t/drawing-multi-valued-3d-plots-with-proper-meshes/64883 "2026-06-08T08:38:47Z")

</div>

Hello All! I am currently trying to make 3D plots of angular correlations for gamma-ray emissions and have stumbled upon a potential issue: because the function I am plotting is multi-valued in z, the triangularization …

---

## [Latin l with TMathText and pdf issue](https://root-forum.cern.ch/t/latin-l-with-tmathtext-and-pdf-issue/33205)

<div class="topic-metadata">

**Author:** [@djamin](https://root-forum.cern.ch/u/djamin)\
**Replies:** 9\
**Last updated:** [June 5, 2026, 12:31pm UTC](https://root-forum.cern.ch/t/latin-l-with-tmathtext-and-pdf-issue/33205 "2026-06-05T12:31:16Z")

</div>

Dear Root users and experts, I am facing an issue with latin l( \\ell of TMathText) in pdf. When I look at the pdf file alone generated by my script, I can see my the latin l. Then I put this plot on an overleaf documen…

---

## [\[rbatchgenerator#6\] Difference between TInterpreter::LoadMacro() and TInterpreter::LoadFile()?](https://root-forum.cern.ch/t/rbatchgenerator-6-difference-between-tinterpreter-loadmacro-and-tinterpreter-loadfile/64876)

<div class="topic-metadata">

**Author:** [@Salomon](https://root-forum.cern.ch/u/Salomon)\
**Replies:** 1\
**Last updated:** [June 4, 2026, 7:11am UTC](https://root-forum.cern.ch/t/rbatchgenerator-6-difference-between-tinterpreter-loadmacro-and-tinterpreter-loadfile/64876 "2026-06-04T07:11:33Z")

</div>

ROOT Version: 6.38.04 ( tags/v6-38-04@v6-38-04) Platform: linuxx8664gcc Compiler: c++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 std201703 Hello, TL;DR I wasn’t able to get error code of gInterpreter.LoadMacro() i…

---

## [Magboltz GasFile Generation](https://root-forum.cern.ch/t/magboltz-gasfile-generation/64881)

<div class="topic-metadata">

**Author:** [@acage](https://root-forum.cern.ch/u/acage)\
**Replies:** 2\
**Last updated:** [June 3, 2026, 6:43pm UTC](https://root-forum.cern.ch/t/magboltz-gasfile-generation/64881 "2026-06-03T18:43:05Z")

</div>

ROOT Version: 6.32.02 Platform: Ubuntu Compiler: g++ Im wondering where I might’ve made a mistake installing garfield++ or magboltz somehow because ive tried following the CERN instructions to install garfield twice…

---

## [Best practices for solving overdetermined systems of linear equations](https://root-forum.cern.ch/t/best-practices-for-solving-overdetermined-systems-of-linear-equations/64871)

<div class="topic-metadata">

**Author:** [@DaniilKorshkov](https://root-forum.cern.ch/u/DaniilKorshkov)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 4:46pm UTC](https://root-forum.cern.ch/t/best-practices-for-solving-overdetermined-systems-of-linear-equations/64871 "2026-05-29T16:46:00Z")

</div>

ROOT Version: 6.36.04 Platform: ubuntu linux Compiler: g++ Dear ROOT users, I would like to know what would be the best practice for solving the following overdetermined system of linear equations (shown as ASCII d…

---

## [Add together an arbitrary number of signals plus background](https://root-forum.cern.ch/t/add-together-an-arbitrary-number-of-signals-plus-background/64838)

<div class="topic-metadata">

**Author:** [@sprock](https://root-forum.cern.ch/u/sprock)\
**Replies:** 2\
**Last updated:** [May 18, 2026, 2:15pm UTC](https://root-forum.cern.ch/t/add-together-an-arbitrary-number-of-signals-plus-background/64838 "2026-05-18T14:15:17Z")

</div>

Hello, The title explains what I want to do. If it matters, I am fitting Brillouin spectra and don’t always know how many peaks there will be or which I want to fit. This what I have so far: void region\_1() { TH1…

---

## [Not able to build root from source in ubuntu toolbx (podman container) image](https://root-forum.cern.ch/t/not-able-to-build-root-from-source-in-ubuntu-toolbx-podman-container-image/64844)

<div class="topic-metadata">

**Author:** [@coralstarfish](https://root-forum.cern.ch/u/coralstarfish)\
**Replies:** 6\
**Last updated:** [May 15, 2026, 2:32pm UTC](https://root-forum.cern.ch/t/not-able-to-build-root-from-source-in-ubuntu-toolbx-podman-container-image/64844 "2026-05-15T14:32:41Z")

</div>

ROOT Version: 6.36.12 Platform: (Ubuntu 24.04-LTS toolbx container) host fedora Compiler: gcc 13.3.0 Hi all, Does anyone have experience of building root from source in toolbx container. I have encountered a proble…

---

## [How to correctly scale title size and tick size across pads?](https://root-forum.cern.ch/t/how-to-correctly-scale-title-size-and-tick-size-across-pads/64837)

<div class="topic-metadata">

**Author:** [@lost\_soul\_519](https://root-forum.cern.ch/u/lost_soul_519)\
**Replies:** 1\
**Last updated:** [May 12, 2026, 11:29am UTC](https://root-forum.cern.ch/t/how-to-correctly-scale-title-size-and-tick-size-across-pads/64837 "2026-05-12T11:29:47Z")

</div>

Hello all, Hope you are well. I was trying to make a plotting code that does multiple pads but I was having some trouble in scaling the titles and ticks correctly. I may have misunderstood that the sizes scale with the…

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