# Newbie

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

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

---

## [Compile issue with Library paths](https://root-forum.cern.ch/t/compile-issue-with-library-paths/59127)

<div class="topic-metadata">

**Author:** [@Dyson\_Kennedy](https://root-forum.cern.ch/u/Dyson_Kennedy)\
**Replies:** 6\
**Last updated:** [April 24, 2024, 7:39pm UTC](https://root-forum.cern.ch/t/compile-issue-with-library-paths/59127 "2024-04-24T19:39:13Z")

</div>

\_ROOT Version: 6.30/06 Built for linuxx8664gcc on Apr 03 2024, 10:34:21 From tags/v6.30.06@v6.30.06 \_Platform: Ubuntu 20.04.6 LTS \_Compiler:g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 I am trying to compile my code re…

---

## [Area under gaussian peak without exponential background](https://root-forum.cern.ch/t/area-under-gaussian-peak-without-exponential-background/59116)

<div class="topic-metadata">

**Author:** [@liz](https://root-forum.cern.ch/u/liz)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 10:09am UTC](https://root-forum.cern.ch/t/area-under-gaussian-peak-without-exponential-background/59116 "2024-04-24T10:09:12Z")

</div>

Hello, I need to find the area under a gaussian peak. The problem is that the data I’m fitting has an exponential background that I don’t want to consider. Is there a way of calculating just the integral of the area with…

---

## [Uncertainty in fit parameters vs statistical uncertainity?](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113)

<div class="topic-metadata">

**Author:** [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Replies:** 3\
**Last updated:** [April 24, 2024, 9:20am UTC](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113 "2024-04-24T09:20:39Z")

</div>

Hi all, I fit a histogram with an exponential function; ROOT gives the Slope and the ERROR in the slope. My query is, is the error in the slope already including the statistical uncertainty 1/\\sqrt(n), n is the histogr…

---

## [Filter option in RDataFrame](https://root-forum.cern.ch/t/filter-option-in-rdataframe/59109)

<div class="topic-metadata">

**Author:** [@Cristian\_Andres\_Alle](https://root-forum.cern.ch/u/Cristian_Andres_Alle)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 5:28am UTC](https://root-forum.cern.ch/t/filter-option-in-rdataframe/59109 "2024-04-24T05:28:47Z")

</div>

Hello everyone, im here trying to learn about RDataFrame. i don’t quite understand the filter process for example if i define this: df\_Mass3 = ROOT.RDataFrame(“DecayTree”,str(path)+“/”+“SG\_Bc2HNplusleptons\_Mass3\_tree.r…

---

## [Trying to make a histogram out of a delphes .root file](https://root-forum.cern.ch/t/trying-to-make-a-histogram-out-of-a-delphes-root-file/59074)

<div class="topic-metadata">

**Author:** [@Muon\_Neutrino](https://root-forum.cern.ch/u/Muon_Neutrino)\
**Replies:** 4\
**Last updated:** [April 23, 2024, 9:45pm UTC](https://root-forum.cern.ch/t/trying-to-make-a-histogram-out-of-a-delphes-root-file/59074 "2024-04-23T21:45:51Z")

</div>

Hello, I have a .root file that was generated by Delphes (and MadGraph). I am currently interested in the parton level, so I’m focusing on bottom quarks before they undergo hadronization. I want to create histograms for…

---

## [Redirecting output](https://root-forum.cern.ch/t/redirecting-output/59101)

<div class="topic-metadata">

**Author:** [@siragoni](https://root-forum.cern.ch/u/siragoni)\
**Replies:** 9\
**Last updated:** [April 23, 2024, 12:35pm UTC](https://root-forum.cern.ch/t/redirecting-output/59101 "2024-04-23T12:35:25Z")

</div>

\_ROOT Version: ROOT/v6-30-01 Based on e.g. Redirecting output, root 6 Hi, I am trying to redirect all the output of a fit verbose mode in v6-30-01. As far as I can remember, also looking at the link above, this used t…

---

## [Understanding a histogram](https://root-forum.cern.ch/t/understanding-a-histogram/59043)

<div class="topic-metadata">

**Author:** [@Rana](https://root-forum.cern.ch/u/Rana)\
**Replies:** 3\
**Last updated:** [April 22, 2024, 2:15pm UTC](https://root-forum.cern.ch/t/understanding-a-histogram/59043 "2024-04-22T14:15:24Z")

</div>

I am new to this field and I am having a tough time to understand this histogram. I want to understand what Entries, Event number, N\_hits, mean in the attached histogram. Also what does the vertical axis represent (I und…

---

## [Latest Ansys Software compatible with ComponentAnsys123?](https://root-forum.cern.ch/t/latest-ansys-software-compatible-with-componentansys123/59057)

<div class="topic-metadata">

**Author:** [@lbacz](https://root-forum.cern.ch/u/lbacz)\
**Replies:** 2\
**Last updated:** [April 19, 2024, 12:23pm UTC](https://root-forum.cern.ch/t/latest-ansys-software-compatible-with-componentansys123/59057 "2024-04-19T12:23:20Z")

</div>

Hello there, just as the title say, I was wondering if the current Ansys software is compatible with the ComponentAnsys123 of Garfield++. From the tutorials I’ve seen available, Ansys 12 is used.

---

## [Where can I find tutorials for building code with Visual C++?](https://root-forum.cern.ch/t/where-can-i-find-tutorials-for-building-code-with-visual-c/59015)

<div class="topic-metadata">

**Author:** [@phoenixAspies](https://root-forum.cern.ch/u/phoenixAspies)\
**Replies:** 4\
**Last updated:** [April 18, 2024, 4:22pm UTC](https://root-forum.cern.ch/t/where-can-i-find-tutorials-for-building-code-with-visual-c/59015 "2024-04-18T16:22:27Z")

</div>

Hello, I mainly write and debug code under Linux, but occasionally I need to test code by using Visual C++. I found it very difficult to compile code with Visual C++ because I couldn’t find any tutorial to teach me how t…

---

## [Axis titles overlap](https://root-forum.cern.ch/t/axis-titles-overlap/59046)

<div class="topic-metadata">

**Author:** [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Replies:** 1\
**Last updated:** [April 18, 2024, 11:42am UTC](https://root-forum.cern.ch/t/axis-titles-overlap/59046 "2024-04-18T11:42:10Z")

</div>

Hi all, While making a multi-plot figure using Divide(), the X axis titles are partially hidden. If I decrease the title offset, then they overlap with the axis. Can someone please suggest fix for that?

---

## [Problem in fitting a gaussian](https://root-forum.cern.ch/t/problem-in-fitting-a-gaussian/59037)

<div class="topic-metadata">

**Author:** [@liz](https://root-forum.cern.ch/u/liz)\
**Replies:** 1\
**Last updated:** [April 18, 2024, 10:05am UTC](https://root-forum.cern.ch/t/problem-in-fitting-a-gaussian/59037 "2024-04-18T10:05:05Z")

</div>

Hello, I have an already written code that I have to use in order to analyze on some data for a Haynes-Shockley experiment. The code works but it gives me a different result from what I want: I need to fit the second pse…

---

## [Reading objects in root file with pyRoot](https://root-forum.cern.ch/t/reading-objects-in-root-file-with-pyroot/58764)

<div class="topic-metadata">

**Author:** [@imaznas](https://root-forum.cern.ch/u/imaznas)\
**Replies:** 14\
**Last updated:** [April 18, 2024, 7:47am UTC](https://root-forum.cern.ch/t/reading-objects-in-root-file-with-pyroot/58764 "2024-04-18T07:47:43Z")

</div>

Dear experts, Although not newbie I’m dealing with a very trivial issue. I want to access elements of one of my branches (that are objects of a c++ class) through pyROOT. I see all structure in TBrowser and I can prop…

---

## [How do I check number of entries in a particular bin of a histogram in TBrowser?](https://root-forum.cern.ch/t/how-do-i-check-number-of-entries-in-a-particular-bin-of-a-histogram-in-tbrowser/59041)

<div class="topic-metadata">

**Author:** [@Saurav\_Saha](https://root-forum.cern.ch/u/Saurav_Saha)\
**Replies:** 2\
**Last updated:** [April 18, 2024, 2:52am UTC](https://root-forum.cern.ch/t/how-do-i-check-number-of-entries-in-a-particular-bin-of-a-histogram-in-tbrowser/59041 "2024-04-18T02:52:56Z")

</div>

I have a histogram of around 3000 entries stored in a root file, I want to find the entry in a particular bin, how do I that from TBrowser itself?

---

## [Access TBrowser from terminal](https://root-forum.cern.ch/t/access-tbrowser-from-terminal/59024)

<div class="topic-metadata">

**Author:** [@Saurav\_Saha](https://root-forum.cern.ch/u/Saurav_Saha)\
**Replies:** 2\
**Last updated:** [April 17, 2024, 11:53pm UTC](https://root-forum.cern.ch/t/access-tbrowser-from-terminal/59024 "2024-04-17T23:53:59Z")

</div>

I am using ubuntu 23.10. While I am trying to open a .root file using the command new TBrowser, the terminal returns me the following error: \*\*cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open share…

---

## [Jupyter pyROOT on Windows 10](https://root-forum.cern.ch/t/jupyter-pyroot-on-windows-10/46444)

<div class="topic-metadata">

**Author:** [@ekoval](https://root-forum.cern.ch/u/ekoval)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 8:45am UTC](https://root-forum.cern.ch/t/jupyter-pyroot-on-windows-10/46444 "2021-09-13T08:45:52Z")

</div>

Dear All, I’ve successfully installed ROOT and imported it to python on windows, but found out that it is impossible to use pyROOT in Jupyter since it requires termios library (during import JupyROOT), which does not ex…

---

## [TTreeReader TChain notify on change of file](https://root-forum.cern.ch/t/ttreereader-tchain-notify-on-change-of-file/58244)

<div class="topic-metadata">

**Author:** [@zhubacek](https://root-forum.cern.ch/u/zhubacek)\
**Replies:** 4\
**Last updated:** [April 16, 2024, 8:27pm UTC](https://root-forum.cern.ch/t/ttreereader-tchain-notify-on-change-of-file/58244 "2024-04-16T20:27:00Z")

</div>

Hi, maybe I overlook something - is there some tutorial/example code how to get a notification when TChain changes a file in the processing via TTreeReader? Something like MakeClass/TSelector ::Notify? Thanks, Zdenek …

---

## [Compile error when trying to read customized TObject](https://root-forum.cern.ch/t/compile-error-when-trying-to-read-customized-tobject/59014)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 6\
**Last updated:** [April 16, 2024, 3:06pm UTC](https://root-forum.cern.ch/t/compile-error-when-trying-to-read-customized-tobject/59014 "2024-04-16T15:06:52Z")

</div>

Dear experts I made a customized TObject called IDriftElectrons and here is what in IDriftElectron\_LinkDef.h #ifdef \_\_CINT\_\_ #pragma link C++ class COMET::IDriftElectron+; #pragma link C++ class COMET::IDriftElectronCo…

---

## [Size limit of a ROOT file](https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 2\
**Last updated:** [April 16, 2024, 7:09am UTC](https://root-forum.cern.ch/t/size-limit-of-a-root-file/59004 "2024-04-16T07:09:10Z")

</div>

Dear experts, I want to create (not merge by hadd) a root file which may be larger than 3TB, I wonder if there is a size limit of ROOT file? In my TTree every entry will less than 1GB.

---

## [Changing the defaults Text attributes](https://root-forum.cern.ch/t/changing-the-defaults-text-attributes/58994)

<div class="topic-metadata">

**Author:** [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Replies:** 1\
**Last updated:** [April 15, 2024, 8:34am UTC](https://root-forum.cern.ch/t/changing-the-defaults-text-attributes/58994 "2024-04-15T08:34:07Z")

</div>

Hi, I am trying to add some text to the canvas using the GUI, Presently, I have to set the above attributes for each text string. I am wondering if there is a way to put these as the new ‘defaults’ ? Thanks a lot

---

## [Linear fit returns parameters equal to zero](https://root-forum.cern.ch/t/linear-fit-returns-parameters-equal-to-zero/58959)

<div class="topic-metadata">

**Author:** [@liz](https://root-forum.cern.ch/u/liz)\
**Replies:** 3\
**Last updated:** [April 14, 2024, 4:24pm UTC](https://root-forum.cern.ch/t/linear-fit-returns-parameters-equal-to-zero/58959 "2024-04-14T16:24:07Z")

</div>

I’m trying to perform a simple linear fit but the parameters I get are both equal to zero. I previously used this code for another set of data and it worked, so I really don’t understand what I’m doing wrong :frowning: #…

---

## [Find peaks on 100 datasets](https://root-forum.cern.ch/t/find-peaks-on-100-datasets/58987)

<div class="topic-metadata">

**Author:** [@vladik411413](https://root-forum.cern.ch/u/vladik411413)\
**Replies:** 1\
**Last updated:** [April 14, 2024, 10:38am UTC](https://root-forum.cern.ch/t/find-peaks-on-100-datasets/58987 "2024-04-14T10:38:28Z")

</div>

Hi! I want to determine the x0 coordinates of 1 gaussian peak on each of the 100 datasets (text files where the points y and x are). And then I want to plot 1 TGraph errors, where the dependence of x0 on the parameter t …

---

## [Histograms as curves or lines](https://root-forum.cern.ch/t/histograms-as-curves-or-lines/58977)

<div class="topic-metadata">

**Author:** [@Trinayan\_Saikia](https://root-forum.cern.ch/u/Trinayan_Saikia)\
**Replies:** 1\
**Last updated:** [April 13, 2024, 5:46am UTC](https://root-forum.cern.ch/t/histograms-as-curves-or-lines/58977 "2024-04-13T05:46:55Z")

</div>

Why there are vertical lines along the data points in the diagram. can,t these four histograms be shown as dark lines? void Hist1\_Thdata() { THStack \*hs = new THStack("hs", "Stacked data for various energies;energ…

---

## [Root Windows installers in Conda](https://root-forum.cern.ch/t/root-windows-installers-in-conda/58927)

<div class="topic-metadata">

**Author:** [@hsaka](https://root-forum.cern.ch/u/hsaka)\
**Replies:** 8\
**Last updated:** [April 11, 2024, 10:52am UTC](https://root-forum.cern.ch/t/root-windows-installers-in-conda/58927 "2024-04-11T10:52:14Z")

</div>

Dear experts, Is is possible to also provide Windows installers in conda \[1\] ? I would like to use ROOT with students in my class and naturally there is a mix of operating systems they have. This would be a big help. T…

---

## [Error reading Int\_t array branch data from MARLEY output](https://root-forum.cern.ch/t/error-reading-int-t-array-branch-data-from-marley-output/58943)

<div class="topic-metadata">

**Author:** [@FolkertsJon](https://root-forum.cern.ch/u/FolkertsJon)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 9:58pm UTC](https://root-forum.cern.ch/t/error-reading-int-t-array-branch-data-from-marley-output/58943 "2024-04-10T21:58:54Z")

</div>

Hello, I’ve run into a strange error when trying to open data from the flat root output file that MARLEY generates. When I run TFile \*file = new TFile("out.root"); TTree \*tree = (TTree\*)file-\>Get("mst"); Int\_t\* pdgp =…

---

## [Trouble with using PyROOT](https://root-forum.cern.ch/t/trouble-with-using-pyroot/58089)

<div class="topic-metadata">

**Author:** [@s\_m](https://root-forum.cern.ch/u/s_m)\
**Replies:** 8\
**Last updated:** [April 10, 2024, 2:29pm UTC](https://root-forum.cern.ch/t/trouble-with-using-pyroot/58089 "2024-04-10T14:29:40Z")

</div>

Hi, I am trying to use PyROOT. so, after running “python” then “import ROOT” command I am getting an error saying: "ImportError: Failed to import libcppyy3\_11. Please check that ROOT has been built for Python 3.11" I …

---

## [Linear fit residuals](https://root-forum.cern.ch/t/linear-fit-residuals/58918)

<div class="topic-metadata">

**Author:** [@liz](https://root-forum.cern.ch/u/liz)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 10:01am UTC](https://root-forum.cern.ch/t/linear-fit-residuals/58918 "2024-04-10T10:01:13Z")

</div>

Hello! I am trying to plot the residuals for a simple linear fit but the results I get are different from what I would expect. I can’t understand what I’m doing wrong, any help is very much appreciated #include "TCanvas…

---

## [How to shift specific lines along the x axis?](https://root-forum.cern.ch/t/how-to-shift-specific-lines-along-the-x-axis/58921)

<div class="topic-metadata">

**Author:** [@lindsey1](https://root-forum.cern.ch/u/lindsey1)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 10:59pm UTC](https://root-forum.cern.ch/t/how-to-shift-specific-lines-along-the-x-axis/58921 "2024-04-09T22:59:07Z")

</div>

I was curious how I can shift different lines across the x axis easily without having to continuously retype in the graph function. I have 3 lines on the graph and I need to line them up differently so the peaks match. …

---

## [Root\_v6-30-00 installation issue with Pythia6](https://root-forum.cern.ch/t/root-v6-30-00-installation-issue-with-pythia6/57768)

<div class="topic-metadata">

**Author:** [@Jaydip](https://root-forum.cern.ch/u/Jaydip)\
**Replies:** 6\
**Last updated:** [April 9, 2024, 12:40pm UTC](https://root-forum.cern.ch/t/root-v6-30-00-installation-issue-with-pythia6/57768 "2024-04-09T12:40:43Z")

</div>

Dear ROOT Team, I am trying to install root version V6-30-00 with Pythia6 library on Fedora33 Machine and I am getting the following error, please help me to fix the issue: \[ 88%\] Built target G\_\_GuiHtml \[ 88%\] Linkin…

---

## [Draw axis with two region (split axis)](https://root-forum.cern.ch/t/draw-axis-with-two-region-split-axis/58902)

<div class="topic-metadata">

**Author:** [@anhle263](https://root-forum.cern.ch/u/anhle263)\
**Replies:** 2\
**Last updated:** [April 9, 2024, 3:01am UTC](https://root-forum.cern.ch/t/draw-axis-with-two-region-split-axis/58902 "2024-04-09T03:01:58Z")

</div>

Hello, How can I use root to draw X-axis with two different range as shown in the attached plot? Thank you in advance,

---

## [Reading a branch with two intances](https://root-forum.cern.ch/t/reading-a-branch-with-two-intances/58887)

<div class="topic-metadata">

**Author:** [@Miguel](https://root-forum.cern.ch/u/Miguel)\
**Replies:** 3\
**Last updated:** [April 8, 2024, 7:19pm UTC](https://root-forum.cern.ch/t/reading-a-branch-with-two-intances/58887 "2024-04-08T19:19:03Z")

</div>

Hi all! I have a root file with a tree “E” that contains a branch “trks.E”. This branch seems to have two instances. In particular, when I do a E-\>Scan(“trks.E”) in interactive mode, the output is: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

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

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