# Newbie

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

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

---

## [Connecting pc with GRID](https://root-forum.cern.ch/t/connecting-pc-with-grid/63352)

<div class="topic-metadata">

**Author:** [@asifulla](https://root-forum.cern.ch/u/asifulla)\
**Replies:** 6\
**Last updated:** [April 12, 2025, 9:46pm UTC](https://root-forum.cern.ch/t/connecting-pc-with-grid/63352 "2025-04-12T21:46:08Z")

</div>

Please help me in connecting my pc with CERN Grid

---

## [Running macro stops without any error message](https://root-forum.cern.ch/t/running-macro-stops-without-any-error-message/63360)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 5\
**Last updated:** [April 12, 2025, 7:39am UTC](https://root-forum.cern.ch/t/running-macro-stops-without-any-error-message/63360 "2025-04-12T07:39:59Z")

</div>

Dear experts I made a macro that when I run it ROOT will quit immediately without output any message, but I put a message output at the very start of my macro, why? Here I attach my macro. makeXTGraphs.cxx (27.9 KB)

---

## [Creating an application: root-config: TreeViewer missing?](https://root-forum.cern.ch/t/creating-an-application-root-config-treeviewer-missing/63356)

<div class="topic-metadata">

**Author:** [@Salomon](https://root-forum.cern.ch/u/Salomon)\
**Replies:** 4\
**Last updated:** [April 11, 2025, 10:58pm UTC](https://root-forum.cern.ch/t/creating-an-application-root-config-treeviewer-missing/63356 "2025-04-11T22:58:58Z")

</div>

ROOT Version: 6.32.04 Platform: linuxx8664gcc Compiler: c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Hello, Thank you for your manual to Create a user application with ROOT. I try the following command to link ROOT librar…

---

## [C++ container/structure under TTree (or RNtuple)](https://root-forum.cern.ch/t/c-container-structure-under-ttree-or-rntuple/63357)

<div class="topic-metadata">

**Author:** [@alexis352](https://root-forum.cern.ch/u/alexis352)\
**Replies:** 2\
**Last updated:** [April 11, 2025, 6:31pm UTC](https://root-forum.cern.ch/t/c-container-structure-under-ttree-or-rntuple/63357 "2025-04-11T18:31:13Z")

</div>

Dear developers, I was wondering what kind of C++ data structures are used for the development of TTree (and now RNtuple) classes. Maybe I am simplifying the whole process, knowing that a TTree class uses long and elab…

---

## [Math/Interpolator.h not found](https://root-forum.cern.ch/t/math-interpolator-h-not-found/63353)

<div class="topic-metadata">

**Author:** [@dominiqueyvon](https://root-forum.cern.ch/u/dominiqueyvon)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 2:03pm UTC](https://root-forum.cern.ch/t/math-interpolator-h-not-found/63353 "2025-04-10T14:03:51Z")

</div>

Good afternoon, I downloaded from github the master branch few days ago, and compiled root from source. It worked fine. I was able to recompile several work sice then. I am now working again on an old code. Trying to…

---

## [I am working on Root file and it has Tdirectory and Tmap object. I am not able to work with Tmap object. I am working with root file using python not c++.please help me](https://root-forum.cern.ch/t/i-am-working-on-root-file-and-it-has-tdirectory-and-tmap-object-i-am-not-able-to-work-with-tmap-object-i-am-working-with-root-file-using-python-not-c-please-help-me/63349)

<div class="topic-metadata">

**Author:** [@asifulla](https://root-forum.cern.ch/u/asifulla)\
**Replies:** 5\
**Last updated:** [April 10, 2025, 1:55pm UTC](https://root-forum.cern.ch/t/i-am-working-on-root-file-and-it-has-tdirectory-and-tmap-object-i-am-not-able-to-work-with-tmap-object-i-am-working-with-root-file-using-python-not-c-please-help-me/63349 "2025-04-10T13:55:01Z")

</div>

I am working on Root file and it has Tdirectory and Tmap object. I am not able to work with Tmap object. I am working with root file using python not c++.please help me

---

## [Connecting my pc with GRID](https://root-forum.cern.ch/t/connecting-my-pc-with-grid/63350)

<div class="topic-metadata">

**Author:** [@asifulla](https://root-forum.cern.ch/u/asifulla)\
**Replies:** 1\
**Last updated:** [April 10, 2025, 1:37pm UTC](https://root-forum.cern.ch/t/connecting-my-pc-with-grid/63350 "2025-04-10T13:37:50Z")

</div>

I want to connect my own pc with CERN grid. If anyone knows how to do that please help me

---

## [Convolution fit issues,](https://root-forum.cern.ch/t/convolution-fit-issues/63314)

<div class="topic-metadata">

**Author:** [@Hirmans1](https://root-forum.cern.ch/u/Hirmans1)\
**Replies:** 2\
**Last updated:** [April 8, 2025, 7:40am UTC](https://root-forum.cern.ch/t/convolution-fit-issues/63314 "2025-04-08T07:40:28Z")

</div>

Dear Expert, I’m trying to fit the invariant mass with the square modulus of a complex function convoluted with a Gaussian function. However, when I add the Gaussian function to the complex function, the fit fails, as t…

---

## [Is it possible to run ROOT 6.34 with the new RBrowser in Ubuntu using the snap chromium browser?](https://root-forum.cern.ch/t/is-it-possible-to-run-root-6-34-with-the-new-rbrowser-in-ubuntu-using-the-snap-chromium-browser/63182)

<div class="topic-metadata">

**Author:** [@Jim\_Thomas](https://root-forum.cern.ch/u/Jim_Thomas)\
**Replies:** 12\
**Last updated:** [April 8, 2025, 6:37am UTC](https://root-forum.cern.ch/t/is-it-possible-to-run-root-6-34-with-the-new-rbrowser-in-ubuntu-using-the-snap-chromium-browser/63182 "2025-04-08T06:37:17Z")

</div>

Is it possible to run ROOT 6.34 with the new RBrowser in Ubuntu using the snap chromium browser? The problem appears to be that when starting a new TBrowser ROOT looks for a file named /tmp/root\_start\_XXXXX.html where /…

---

## ['TUnfold.h' file not found](https://root-forum.cern.ch/t/tunfold-h-file-not-found/57774)

<div class="topic-metadata">

**Author:** [@clemahieu](https://root-forum.cern.ch/u/clemahieu)\
**Replies:** 7\
**Last updated:** [January 9, 2024, 7:01pm UTC](https://root-forum.cern.ch/t/tunfold-h-file-not-found/57774 "2024-01-09T19:01:50Z")

</div>

Hello, I am trying to follow some TUnfold examples (eg. ROOT: tutorials/math/testUnfold2.C File Reference) . As in this example, I am using #include “TUnfold.h” as my include statement. However, when I run the code I …

---

## [Pyroot lifetime of objects created using TGeoManager](https://root-forum.cern.ch/t/pyroot-lifetime-of-objects-created-using-tgeomanager/63126)

<div class="topic-metadata">

**Author:** [@jerome0hofstetter](https://root-forum.cern.ch/u/jerome0hofstetter)\
**Replies:** 9\
**Last updated:** [April 3, 2025, 2:26pm UTC](https://root-forum.cern.ch/t/pyroot-lifetime-of-objects-created-using-tgeomanager/63126 "2025-04-03T14:26:12Z")

</div>

Hi everyone, I starting working on a project that uses pyroot to build a geometry without much prior experience. The code seems to not trust pyroot at all to not delete objects too early and just uses setownership to f…

---

## [ROOT Histogram Not Showing Data – Possible Issues?](https://root-forum.cern.ch/t/root-histogram-not-showing-data-possible-issues/63237)

<div class="topic-metadata">

**Author:** [@Muhammad\_Ali](https://root-forum.cern.ch/u/Muhammad_Ali)\
**Replies:** 17\
**Last updated:** [April 3, 2025, 2:17pm UTC](https://root-forum.cern.ch/t/root-histogram-not-showing-data-possible-issues/63237 "2025-04-03T14:17:55Z")

</div>

Hi everyone, I am trying to plot energy deposited vs. transverse radius using ROOT, but I keep getting an empty histogram. I am new to ROOT and not very experienced in C++. My setup: I have data on energy deposition…

---

## [How to redraw preserving axis settings](https://root-forum.cern.ch/t/how-to-redraw-preserving-axis-settings/63265)

<div class="topic-metadata">

**Author:** [@frezzonico](https://root-forum.cern.ch/u/frezzonico)\
**Replies:** 2\
**Last updated:** [April 1, 2025, 8:12am UTC](https://root-forum.cern.ch/t/how-to-redraw-preserving-axis-settings/63265 "2025-04-01T08:12:41Z")

</div>

Hello, I am implementing a javascript dashboard which every second loads a .ROOT file and draws it in a div: let isFirstDraw = true; async function update(){ let file = await JSROOT.openFile(\`dashboard/resources/${…

---

## [Pyroot geometry using reflections on volume](https://root-forum.cern.ch/t/pyroot-geometry-using-reflections-on-volume/63236)

<div class="topic-metadata">

**Author:** [@jerome0hofstetter](https://root-forum.cern.ch/u/jerome0hofstetter)\
**Replies:** 2\
**Last updated:** [March 28, 2025, 8:42pm UTC](https://root-forum.cern.ch/t/pyroot-geometry-using-reflections-on-volume/63236 "2025-03-28T20:42:01Z")

</div>

Hi I wanted to ask what the recommended way is to add some kind of mirroring to a volume. I assumed it would be through some kind of transformation but only saw that TGeoHMatrix has ReflectX …Y , …Z functions while al…

---

## [Value defaulting when using out-of-scope indices](https://root-forum.cern.ch/t/value-defaulting-when-using-out-of-scope-indices/63218)

<div class="topic-metadata">

**Author:** [@lpblr](https://root-forum.cern.ch/u/lpblr)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 7:27am UTC](https://root-forum.cern.ch/t/value-defaulting-when-using-out-of-scope-indices/63218 "2025-03-27T07:27:18Z")

</div>

Dear experts, I am using RDataFrame in Python and when using indices to access vector entries I notice some weird behavior when the index is out of scope of the variable. In the case where the accessed index is greater…

---

## [ROOT installation failure v6.32.10 on osx](https://root-forum.cern.ch/t/root-installation-failure-v6-32-10-on-osx/63213)

<div class="topic-metadata">

**Author:** [@RBernstein](https://root-forum.cern.ch/u/RBernstein)\
**Replies:** 3\
**Last updated:** [March 25, 2025, 8:48pm UTC](https://root-forum.cern.ch/t/root-installation-failure-v6-32-10-on-osx/63213 "2025-03-25T20:48:50Z")

</div>

Please read tips for efficient and successful posting and posting code \_ROOT Version: root\_v.6.32.10 from root\_v6.32.10.macos-14.7-x86\_64-clang160.pkg \_Platform: OSX 2.3 Ghz 8-Core Intel Core i9, Compiler: Not Prov…

---

## [Boosting e- to Z-boson rest frame using TLorentzVector](https://root-forum.cern.ch/t/boosting-e-to-z-boson-rest-frame-using-tlorentzvector/63208)

<div class="topic-metadata">

**Author:** [@Chris\_G](https://root-forum.cern.ch/u/Chris_G)\
**Replies:** 2\
**Last updated:** [March 25, 2025, 2:32pm UTC](https://root-forum.cern.ch/t/boosting-e-to-z-boson-rest-frame-using-tlorentzvector/63208 "2025-03-25T14:32:22Z")

</div>

Hi, I am trying to boost my electron to the rest frame of the Z-boson. I am doing this in python using uproot and ROOT.TLorentzVector. My problem is that the code works when I boost the particle to its own rest frame, b…

---

## [Manual histogram bin distribution](https://root-forum.cern.ch/t/manual-histogram-bin-distribution/63200)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 2\
**Last updated:** [March 24, 2025, 3:54pm UTC](https://root-forum.cern.ch/t/manual-histogram-bin-distribution/63200 "2025-03-24T15:54:43Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! From what I understand, the following command: TH1D \*hist = new TH1D("hist", " ", 50, 0, 0.4); … defines a histogram of 50 equally-spaced bins between 0 and 0.4 on t…

---

## [Cropped y-axis label](https://root-forum.cern.ch/t/cropped-y-axis-label/63197)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 2\
**Last updated:** [March 24, 2025, 12:07pm UTC](https://root-forum.cern.ch/t/cropped-y-axis-label/63197 "2025-03-24T12:07:20Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! I want to prevent the y-axis label from being cropped. How can I do this? Thanks in advance! Cheers.

---

## [Useless check/bug in TH1::Smooth](https://root-forum.cern.ch/t/useless-check-bug-in-th1-smooth/63183)

<div class="topic-metadata">

**Author:** [@Evander137](https://root-forum.cern.ch/u/Evander137)\
**Replies:** 3\
**Last updated:** [March 22, 2025, 8:00pm UTC](https://root-forum.cern.ch/t/useless-check-bug-in-th1-smooth/63183 "2025-03-22T20:00:53Z")

</div>

Hi, I’ve been looking at the TH1::Smooth function (and the associated TH1::SmoothArray for smoothing some of my histograms. In this line of the smoothing procedure in the source code, I noticed there seems to be a useles…

---

## [Reading root file with julia](https://root-forum.cern.ch/t/reading-root-file-with-julia/63169)

<div class="topic-metadata">

**Author:** [@archiron](https://root-forum.cern.ch/u/archiron)\
**Replies:** 1\
**Last updated:** [March 20, 2025, 10:52am UTC](https://root-forum.cern.ch/t/reading-root-file-with-julia/63169 "2025-03-20T10:52:20Z")

</div>

Hi is there somewhere a simple example with Julia to read a root file an get a specific branch values (such as DQMData/Run 1/EgammaV/Run summary/ElectronMcSignalValidator and get h\_recEleNum values) Thanks in advance. …

---

## [Prevent RDataFrame from crashing the interpreter](https://root-forum.cern.ch/t/prevent-rdataframe-from-crashing-the-interpreter/63166)

<div class="topic-metadata">

**Author:** [@unmovingcastle](https://root-forum.cern.ch/u/unmovingcastle)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 8:18am UTC](https://root-forum.cern.ch/t/prevent-rdataframe-from-crashing-the-interpreter/63166 "2025-03-20T08:18:08Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.30/06 Platform: macosxarm64 Compiler: Not Provided Following the RDataFrame example, suppose I have void df000\_simple() { //…

---

## [Issue with TGraphPolar: Unable to change title size or borders](https://root-forum.cern.ch/t/issue-with-tgraphpolar-unable-to-change-title-size-or-borders/63121)

<div class="topic-metadata">

**Author:** [@Noisyboy](https://root-forum.cern.ch/u/Noisyboy)\
**Replies:** 5\
**Last updated:** [March 19, 2025, 10:10pm UTC](https://root-forum.cern.ch/t/issue-with-tgraphpolar-unable-to-change-title-size-or-borders/63121 "2025-03-19T22:10:19Z")

</div>

Hi everyone, I’m creating a polar plot using TGraphPolar in ROOT, but I’m having an issue with the title. No matter what I do, the title always appears stuck at π/2 and I can’t move it or change its size. I checked se…

---

## [Calculating cosTheta from TLotentzVector](https://root-forum.cern.ch/t/calculating-costheta-from-tlotentzvector/63162)

<div class="topic-metadata">

**Author:** [@Chris\_G](https://root-forum.cern.ch/u/Chris_G)\
**Replies:** 1\
**Last updated:** [March 19, 2025, 9:14am UTC](https://root-forum.cern.ch/t/calculating-costheta-from-tlotentzvector/63162 "2025-03-19T09:14:15Z")

</div>

I used MadGraph to simulate Z-\>e+e-, and then delphes to get a ROOT file. I am now using uproot in Python to plot dsigma/dcosTheta where the cosTheta is the angle, in the correspondent Z rest frame, between the electron …

---

## [Maximum Amplitude Histogram-Finding Multiple Peaks](https://root-forum.cern.ch/t/maximum-amplitude-histogram-finding-multiple-peaks/63149)

<div class="topic-metadata">

**Author:** [@Sevsenky](https://root-forum.cern.ch/u/Sevsenky)\
**Replies:** 2\
**Last updated:** [March 18, 2025, 8:40am UTC](https://root-forum.cern.ch/t/maximum-amplitude-histogram-finding-multiple-peaks/63149 "2025-03-18T08:40:10Z")

</div>

Hello dear friends, i am currently working on a maximum amplitude histogram from a LED signal which i know it supposed to have multiple peaks (Right one left one is from the noise). However when i configure the bins and …

---

## [TBrowser cannot run in batch mode](https://root-forum.cern.ch/t/tbrowser-cannot-run-in-batch-mode/63144)

<div class="topic-metadata">

**Author:** [@Saurav\_Saha](https://root-forum.cern.ch/u/Saurav_Saha)\
**Replies:** 1\
**Last updated:** [March 17, 2025, 8:46am UTC](https://root-forum.cern.ch/t/tbrowser-cannot-run-in-batch-mode/63144 "2025-03-17T08:46:58Z")

</div>

root \[0\] TBrowser b Warning in TBrowser::TBrowser: The ROOT browser cannot run in batch mode (TBrowser &) Name: Browser Title: ROOT Object Browser root \[1\] Hi, I am trying to ssh from mac to linux machine at fnal. …

---

## [RDataFrame: Define: order of columns](https://root-forum.cern.ch/t/rdataframe-define-order-of-columns/63128)

<div class="topic-metadata">

**Author:** [@Salomon](https://root-forum.cern.ch/u/Salomon)\
**Replies:** 1\
**Last updated:** [March 13, 2025, 2:43pm UTC](https://root-forum.cern.ch/t/rdataframe-define-order-of-columns/63128 "2025-03-13T14:43:10Z")

</div>

ROOT Version: 6.32.08 Platform: linuxx8664gcc Compiler: c++ (Ubuntu 13.3.0-6ubuntu2~24.04) Hello, RDataFrame doesn’t seem to keep the order of Define(). Here is a MWE: print.C (213 Bytes) void print(const string& …

---

## [Removing x-errors in histogram](https://root-forum.cern.ch/t/removing-x-errors-in-histogram/63099)

<div class="topic-metadata">

**Author:** [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Replies:** 4\
**Last updated:** [March 10, 2025, 12:11pm UTC](https://root-forum.cern.ch/t/removing-x-errors-in-histogram/63099 "2025-03-10T12:11:26Z")

</div>

ROOT Version: 6.32.04 Platform: WSL2 Ubuntu Hello! I would like to remove the x-axis errors from a histogram. How can I do this? Thanks in advance! Cheers.

---

## [Yoda2root error](https://root-forum.cern.ch/t/yoda2root-error/63094)

<div class="topic-metadata">

**Author:** [@Luis\_Cruz](https://root-forum.cern.ch/u/Luis_Cruz)\
**Replies:** 2\
**Last updated:** [March 8, 2025, 7:04pm UTC](https://root-forum.cern.ch/t/yoda2root-error/63094 "2025-03-08T19:04:51Z")

</div>

\_ROOT Version: 6.34.02 Platform: Ubuntu Compiler: g++ Hi, my problem is the following: I’ve got a data file in .yoda format called Rivet.yoda which I got from a Rivet analysis. When I try to change its format using …

---

## [ROOT::Fitter fails on linear fitting](https://root-forum.cern.ch/t/root-fitter-fails-on-linear-fitting/62966)

<div class="topic-metadata">

**Author:** [@EdwinYZ](https://root-forum.cern.ch/u/EdwinYZ)\
**Replies:** 4\
**Last updated:** [March 7, 2025, 10:51am UTC](https://root-forum.cern.ch/t/root-fitter-fails-on-linear-fitting/62966 "2025-03-07T10:51:48Z")

</div>

Hi, I am trying to use ROOT::Fit::Fitter to perform a simple linear regression. Here is how I set up the Fitter: fitter = ROOT.Fit.Fitter() func = ROOT.TF1("f1", "pol1", 0, 130) fitter.SetFunction(ROOT.Math.WrappedMul…

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

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