# Newbie

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

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

---

## [Can not update Canvas in a interactive mode of ROOT](https://root-forum.cern.ch/t/can-not-update-canvas-in-a-interactive-mode-of-root/55177)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 11\
**Last updated:** [June 21, 2023, 8:06am UTC](https://root-forum.cern.ch/t/can-not-update-canvas-in-a-interactive-mode-of-root/55177 "2023-06-21T08:06:29Z")

</div>

Dear experts I want to draw a graph and change the title of that graph in a interactive mode, what I did is: root -l something.root tree-\>Draw("adc\[24\]:Iteration$\>\>g", "", "AL", 1, 0) g-\>SetTitle("test") c1-\>Modified()…

---

## [Not able to edit rootrc file](https://root-forum.cern.ch/t/not-able-to-edit-rootrc-file/54923)

<div class="topic-metadata">

**Author:** [@chetan2811](https://root-forum.cern.ch/u/chetan2811)\
**Replies:** 3\
**Last updated:** [June 20, 2023, 3:07pm UTC](https://root-forum.cern.ch/t/not-able-to-edit-rootrc-file/54923 "2023-06-20T15:07:00Z")

</div>

I am using Root 7. The TBrowser in opening in web browser. I want to open in the older way. So, I want to specify it in the .rootrc file using emacs. But I am not able to edit the file.

---

## [Readable TPie without fine tuning?](https://root-forum.cern.ch/t/readable-tpie-without-fine-tuning/55338)

<div class="topic-metadata">

**Author:** [@marc1uk](https://root-forum.cern.ch/u/marc1uk)\
**Replies:** 6\
**Last updated:** [June 20, 2023, 6:32am UTC](https://root-forum.cern.ch/t/readable-tpie-without-fine-tuning/55338 "2023-06-20T06:32:31Z")

</div>

ROOT Version: 6.06.08 Platform: Linux Compiler: g++6.3 Simple question here, but I’m trying to make TPie charts, but when the slices are small the labels end up overlapping. Reducing the amount of information sh…

---

## [The EvaluateMVA() method of TMVA::Reader\* class leaks memory when used with Neural Network model trained in Keras](https://root-forum.cern.ch/t/the-evaluatemva-method-of-tmva-reader-class-leaks-memory-when-used-with-neural-network-model-trained-in-keras/55299)

<div class="topic-metadata">

**Author:** [@oleg\_dobrovsky](https://root-forum.cern.ch/u/oleg_dobrovsky)\
**Replies:** 5\
**Last updated:** [June 19, 2023, 1:36pm UTC](https://root-forum.cern.ch/t/the-evaluatemva-method-of-tmva-reader-class-leaks-memory-when-used-with-neural-network-model-trained-in-keras/55299 "2023-06-19T13:36:22Z")

</div>

ROOT Version: v6-28-02-5 Platform: Ubuntu 22.04.2 LTS Compiler: (GCC) 12.2.0 Dear experts! I’ve been using ROOT for Particle Physics research and found one interensting pattern which don’t know how to resolve. I got…

---

## [Isolating bins by limiting ranges on axes in THnSparse](https://root-forum.cern.ch/t/isolating-bins-by-limiting-ranges-on-axes-in-thnsparse/55336)

<div class="topic-metadata">

**Author:** [@delofson](https://root-forum.cern.ch/u/delofson)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 6:53am UTC](https://root-forum.cern.ch/t/isolating-bins-by-limiting-ranges-on-axes-in-thnsparse/55336 "2023-06-19T06:53:20Z")

</div>

I am trying to use THnSparse as a way of reducing the amount of time and memory required to perform a task. My goal is to first store the location and time of electrons hitting the detector, then be able to come back to …

---

## [Speed of storing columnar data](https://root-forum.cern.ch/t/speed-of-storing-columnar-data/55323)

<div class="topic-metadata">

**Author:** [@clu](https://root-forum.cern.ch/u/clu)\
**Replies:** 3\
**Last updated:** [June 16, 2023, 4:25pm UTC](https://root-forum.cern.ch/t/speed-of-storing-columnar-data/55323 "2023-06-16T16:25:04Z")

</div>

Hello! I am quite new to ROOT and trying to determine if this would be a good framework for a project I have. I have a device that is producing packets of binary data at a rate of GB/s, and I need to store this data int…

---

## [How to round values before plotting 2D histogram from TTree](https://root-forum.cern.ch/t/how-to-round-values-before-plotting-2d-histogram-from-ttree/55315)

<div class="topic-metadata">

**Author:** [@gini](https://root-forum.cern.ch/u/gini)\
**Replies:** 9\
**Last updated:** [June 16, 2023, 3:25pm UTC](https://root-forum.cern.ch/t/how-to-round-values-before-plotting-2d-histogram-from-ttree/55315 "2023-06-16T15:25:44Z")

</div>

Hi, I want to plot a 2D histogram from a TTree, I use the following command : tree11-\>Draw("(1.6\*QdcQ\[1\]/1.5):1.6\*QdcQ\[0\]\>\>h12"); and I get the following plot : But it seems that I have decimal values (as I multipl…

---

## [Drawing histogram from ROOT File](https://root-forum.cern.ch/t/drawing-histogram-from-root-file/55304)

<div class="topic-metadata">

**Author:** [@TheScientist](https://root-forum.cern.ch/u/TheScientist)\
**Replies:** 2\
**Last updated:** [June 15, 2023, 7:20pm UTC](https://root-forum.cern.ch/t/drawing-histogram-from-root-file/55304 "2023-06-15T19:20:27Z")

</div>

I am trying to draw a histogram from a ROOT file and my ROOT file structure looks like this. Here’s my code: 1 //This code extracts event-cluster histogram from the CAF file and makes changes to them 2 3 #inclu…

---

## [Exploring the codebase](https://root-forum.cern.ch/t/exploring-the-codebase/55293)

<div class="topic-metadata">

**Author:** [@Dhruv\_J](https://root-forum.cern.ch/u/Dhruv_J)\
**Replies:** 5\
**Last updated:** [June 14, 2023, 10:57am UTC](https://root-forum.cern.ch/t/exploring-the-codebase/55293 "2023-06-14T10:57:09Z")

</div>

Hello I am new to open source and also to Root. I have installed Root using binaries using Ubuntu and have also forked and cloned the root repository from Github. So I was confused on how should I proceed next Read ab…

---

## [I can compile my C++ source code with cl.exe but when I run the program nothing outputs](https://root-forum.cern.ch/t/i-can-compile-my-c-source-code-with-cl-exe-but-when-i-run-the-program-nothing-outputs/55282)

<div class="topic-metadata">

**Author:** [@mspeck](https://root-forum.cern.ch/u/mspeck)\
**Replies:** 10\
**Last updated:** [June 14, 2023, 7:18am UTC](https://root-forum.cern.ch/t/i-can-compile-my-c-source-code-with-cl-exe-but-when-i-run-the-program-nothing-outputs/55282 "2023-06-14T07:18:46Z")

</div>

ROOT Version: v\_6.24.04 Platform: Windows 10 Compiler: x86 Visual Studio Native Tools I am having Trouble running my source code as it s not outputting anything: cl -EHsc -Zc:\_\_cplusplus -std:c++17 rootTest.cpp -I C…

---

## [Unknown Class,null pointer](https://root-forum.cern.ch/t/unknown-class-null-pointer/55268)

<div class="topic-metadata">

**Author:** [@Adityalal](https://root-forum.cern.ch/u/Adityalal)\
**Replies:** 3\
**Last updated:** [June 13, 2023, 5:25pm UTC](https://root-forum.cern.ch/t/unknown-class-null-pointer/55268 "2023-06-13T17:25:30Z")

</div>

\_ROOT Version: 6.26/10 \_Platform: Ubuntu 20.04.5 LTS \_Compiler: gcc I am trying to open a file using root, when i open it using TBrowser, it gives the following warning/error root \[1\] Error in TKey::ReadObjWithBuffer:…

---

## [Trouble while installing Root](https://root-forum.cern.ch/t/trouble-while-installing-root/55279)

<div class="topic-metadata">

**Author:** [@Dhruv\_J](https://root-forum.cern.ch/u/Dhruv_J)\
**Replies:** 2\
**Last updated:** [June 13, 2023, 4:11pm UTC](https://root-forum.cern.ch/t/trouble-while-installing-root/55279 "2023-06-13T16:11:22Z")

</div>

I’m Dhruv , a second year computer engineering student and am currently new to open source. I am interested in machine learning and Data Science. I have started exploring Root . While trying to install Root I got stuck …

---

## [\_\_float128 compilation error](https://root-forum.cern.ch/t/float128-compilation-error/55058)

<div class="topic-metadata">

**Author:** [@ChipKerchner](https://root-forum.cern.ch/u/ChipKerchner)\
**Replies:** 4\
**Last updated:** [June 13, 2023, 7:24am UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058 "2023-06-13T07:24:03Z")

</div>

I’m trying to compile a copy of the Github clone of ROOT for PowerPC. I get these errors. Is there a way to turn on \_\_float128 support? Disabling gnu++: clang has no \_\_float128 support on this target!

---

## [Windows Visual Studio binary root\_v6.28.04.win64.vc17.exe fitio fails](https://root-forum.cern.ch/t/windows-visual-studio-binary-root-v6-28-04-win64-vc17-exe-fitio-fails/55244)

<div class="topic-metadata">

**Author:** [@John\_Watts](https://root-forum.cern.ch/u/John_Watts)\
**Replies:** 3\
**Last updated:** [June 12, 2023, 10:33am UTC](https://root-forum.cern.ch/t/windows-visual-studio-binary-root-v6-28-04-win64-vc17-exe-fitio-fails/55244 "2023-06-12T10:33:47Z")

</div>

I tried to run the fitsio tutorials with Windows Visual Studio binary root\_v6.28.04.win64.vc17.exe. It failed with: cling::DynamicLibraryManager::loadLibrary(): LoadLibrary: returned 126: The specified module could not…

---

## [Base class has no streamer or dictionary](https://root-forum.cern.ch/t/base-class-has-no-streamer-or-dictionary/54876)

<div class="topic-metadata">

**Author:** [@ireid](https://root-forum.cern.ch/u/ireid)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 1:12pm UTC](https://root-forum.cern.ch/t/base-class-has-no-streamer-or-dictionary/54876 "2023-06-09T13:12:30Z")

</div>

\_ROOT Version: 6.24/07 \_Platform: CentOS 7 \_Compiler: gcc version 10.3.0 (GCC) We are trying to understand why we get the error message “ap\_int\_base\<36,false\>: base class ssdm\_int\_sim\<36,false\> has no streamer or d…

---

## [3D Histogram with Logarithmic Color Bar in PyRoot](https://root-forum.cern.ch/t/3d-histogram-with-logarithmic-color-bar-in-pyroot/55211)

<div class="topic-metadata">

**Author:** [@William\_Matava](https://root-forum.cern.ch/u/William_Matava)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 7:11am UTC](https://root-forum.cern.ch/t/3d-histogram-with-logarithmic-color-bar-in-pyroot/55211 "2023-06-09T07:11:00Z")

</div>

Hi all, I’ve made a 3d histogram from an RDataFrame, drawn with the lego2 style along with a colorbar to emphasize the scale of the “fourth dimension”. However, I’d like to make this colorbar’s scale logarithmic. Here’…

---

## [Missing stats box and "stats" pointer is null](https://root-forum.cern.ch/t/missing-stats-box-and-stats-pointer-is-null/55235)

<div class="topic-metadata">

**Author:** [@bomben](https://root-forum.cern.ch/u/bomben)\
**Replies:** 3\
**Last updated:** [June 8, 2023, 4:02pm UTC](https://root-forum.cern.ch/t/missing-stats-box-and-stats-pointer-is-null/55235 "2023-06-08T16:02:57Z")

</div>

Dear all, I am struggling with a missing stat box when I draw an histogram. In attachment you can find a root file containing the histogram (name: event\_size\_pixels). I attach also a macro to show the problem and some…

---

## [Multiple Histograms and Respective Stats on Same Canvas](https://root-forum.cern.ch/t/multiple-histograms-and-respective-stats-on-same-canvas/55187)

<div class="topic-metadata">

**Author:** [@sscoville](https://root-forum.cern.ch/u/sscoville)\
**Replies:** 9\
**Last updated:** [June 7, 2023, 12:20pm UTC](https://root-forum.cern.ch/t/multiple-histograms-and-respective-stats-on-same-canvas/55187 "2023-06-07T12:20:01Z")

</div>

I am trying to display two different datasets as histograms on the same Canvas and have the TPaveStats object that is created display the stats for each dataset. I know that if you do: hist2.Draw(“sames”) it is supposed …

---

## [Reading a gntp.0.gtrac.root file](https://root-forum.cern.ch/t/reading-a-gntp-0-gtrac-root-file/55155)

<div class="topic-metadata">

**Author:** [@wojciech](https://root-forum.cern.ch/u/wojciech)\
**Replies:** 15\
**Last updated:** [June 7, 2023, 10:47am UTC](https://root-forum.cern.ch/t/reading-a-gntp-0-gtrac-root-file/55155 "2023-06-07T10:47:27Z")

</div>

Hello, In order to successfully write my Bachelor’s thesis I need to read a file mentionted in a description. It is a tree file and what I need to do is separate QES events from another events. I am working on Windows 1…

---

## [Histogram in RDataFrame is not drawn](https://root-forum.cern.ch/t/histogram-in-rdataframe-is-not-drawn/55216)

<div class="topic-metadata">

**Author:** [@beg1nner](https://root-forum.cern.ch/u/beg1nner)\
**Replies:** 3\
**Last updated:** [June 7, 2023, 9:53am UTC](https://root-forum.cern.ch/t/histogram-in-rdataframe-is-not-drawn/55216 "2023-06-07T09:53:25Z")

</div>

Hello, I am trying to do the simplest thing ever - read the histogram from an ntuple and simply draw it with RDataFrame. I am using this code: using namespace ROOT; void test(){ RDataFrame df("Events", "tree\_1.root"…

---

## [Printing array elements contained in branch](https://root-forum.cern.ch/t/printing-array-elements-contained-in-branch/55209)

<div class="topic-metadata">

**Author:** [@marse](https://root-forum.cern.ch/u/marse)\
**Replies:** 2\
**Last updated:** [June 6, 2023, 5:28pm UTC](https://root-forum.cern.ch/t/printing-array-elements-contained-in-branch/55209 "2023-06-06T17:28:33Z")

</div>

Hi, I’ve been trying to print on .txt file the elements of an array rich\_bdt\_var contained in the homonym branch (one element in each column of the output file), but what I get printed seems random values that are not c…

---

## [G4 BeamLine Root error messages](https://root-forum.cern.ch/t/g4-beamline-root-error-messages/55207)

<div class="topic-metadata">

**Author:** [@JordanCarmel](https://root-forum.cern.ch/u/JordanCarmel)\
**Replies:** 4\
**Last updated:** [June 6, 2023, 4:54pm UTC](https://root-forum.cern.ch/t/g4-beamline-root-error-messages/55207 "2023-06-06T16:54:29Z")

</div>

Hello! I’m trying to output G4BeamLine root file to simulate my muon detection apparatus. I am aware that this is a root forum, but maybe I can find some help with the following errors. I have root 6.26/04, with all o…

---

## [Clicking on bins in JupyROOT histograms to open links](https://root-forum.cern.ch/t/clicking-on-bins-in-jupyroot-histograms-to-open-links/55203)

<div class="topic-metadata">

**Author:** [@bulukutl](https://root-forum.cern.ch/u/bulukutl)\
**Replies:** 1\
**Last updated:** [June 6, 2023, 3:19pm UTC](https://root-forum.cern.ch/t/clicking-on-bins-in-jupyroot-histograms-to-open-links/55203 "2023-06-06T15:19:16Z")

</div>

Hello, is it possible to create in JupyROOT a figure with interactivity so that clicking on bins (for example on a TH1) with the mouse can lead to the opening of a link in the browser? As far as I understand it is in g…

---

## [Plotting a root output in the same canvas](https://root-forum.cern.ch/t/plotting-a-root-output-in-the-same-canvas/55204)

<div class="topic-metadata">

**Author:** [@MC\_w](https://root-forum.cern.ch/u/MC_w)\
**Replies:** 2\
**Last updated:** [June 6, 2023, 3:04pm UTC](https://root-forum.cern.ch/t/plotting-a-root-output-in-the-same-canvas/55204 "2023-06-06T15:04:38Z")

</div>

Hi, I’ve been going through the forum for a while but this is my first question. I’m very new to root. My issue is with plotting the results of a simulation. My output is made of an outtree, from which I plot the “Ener1…

---

## [Increase the resolution of a TH2D plot on a TCanvas](https://root-forum.cern.ch/t/increase-the-resolution-of-a-th2d-plot-on-a-tcanvas/55199)

<div class="topic-metadata">

**Author:** [@Cas](https://root-forum.cern.ch/u/Cas)\
**Replies:** 1\
**Last updated:** [June 6, 2023, 2:56pm UTC](https://root-forum.cern.ch/t/increase-the-resolution-of-a-th2d-plot-on-a-tcanvas/55199 "2023-06-06T14:56:40Z")

</div>

Dear all, I am trying to plot TH2D histograms of different sizes: 100 x 100 200 x 200 500 x 500 1000 x 1000 2000 x 2000 5000 x 5000 But when I plot them on a canvas, the resolution does not seem to increase past …

---

## [Problem fitting with user defined functions](https://root-forum.cern.ch/t/problem-fitting-with-user-defined-functions/55201)

<div class="topic-metadata">

**Author:** [@Natilus](https://root-forum.cern.ch/u/Natilus)\
**Replies:** 5\
**Last updated:** [June 6, 2023, 2:29pm UTC](https://root-forum.cern.ch/t/problem-fitting-with-user-defined-functions/55201 "2023-06-06T14:29:59Z")

</div>

Dear Root experts, I am trying to do a fitting using user defined functions. I have a file (FitFunctions.h) that contains the definition of a crystalball and an exponential function. It also includes the “FinalFitFunc…

---

## [String as a TCut selection criteria](https://root-forum.cern.ch/t/string-as-a-tcut-selection-criteria/55197)

<div class="topic-metadata">

**Author:** [@Shailesh](https://root-forum.cern.ch/u/Shailesh)\
**Replies:** 2\
**Last updated:** [June 6, 2023, 12:59pm UTC](https://root-forum.cern.ch/t/string-as-a-tcut-selection-criteria/55197 "2023-06-06T12:59:26Z")

</div>

Hi All I am using root 6.26.04 and I have a question. I am trying to Scan a TTree variable which is of type map\<string, vector \>. But I am not able to print the variables by a condition Tree-\>Scan("vector","string=="so…

---

## [pyROOT on Windows11: module libcppyy\* is missing (No module named 'libcppyy3\_11')](https://root-forum.cern.ch/t/pyroot-on-windows11-module-libcppyy-is-missing-no-module-named-libcppyy3-11/54996)

<div class="topic-metadata">

**Author:** [@Sparklebread](https://root-forum.cern.ch/u/Sparklebread)\
**Replies:** 14\
**Last updated:** [June 6, 2023, 11:59am UTC](https://root-forum.cern.ch/t/pyroot-on-windows11-module-libcppyy-is-missing-no-module-named-libcppyy3-11/54996 "2023-06-06T11:59:48Z")

</div>

Hello, I have issues making pyROOT work on my installation. Due to unlucky circumstances I have to work on a Windows 11 - 64 bit system and I fear this may change some things that are not documented. In short, the pro…

---

## [Can't compile a ROOT 6 macro on Windows 10](https://root-forum.cern.ch/t/cant-compile-a-root-6-macro-on-windows-10/55174)

<div class="topic-metadata">

**Author:** [@N-Kulagin](https://root-forum.cern.ch/u/N-Kulagin)\
**Replies:** 10\
**Last updated:** [June 6, 2023, 9:10am UTC](https://root-forum.cern.ch/t/cant-compile-a-root-6-macro-on-windows-10/55174 "2023-06-06T09:10:09Z")

</div>

So I can’t quite figure out how to compile my code on Windows 10. I installed root using the latest .exe installer for windows and installed it into directory D:\\ROOT\\root\_v6.28.04, since there was some problem for ROOT …

---

## [Change TTree name in Tdirectory](https://root-forum.cern.ch/t/change-ttree-name-in-tdirectory/54855)

<div class="topic-metadata">

**Author:** [@Marine](https://root-forum.cern.ch/u/Marine)\
**Replies:** 10\
**Last updated:** [June 5, 2023, 9:55pm UTC](https://root-forum.cern.ch/t/change-ttree-name-in-tdirectory/54855 "2023-06-05T21:55:58Z")

</div>

Dear root users, I am trying to change the name of a TTree in a root file located in a TDirectory. root \[0\] TFile f("myfile.root", "update"); root \[1\] TTree \*T = (TTree\*)f.Get("Directory/Old\_name"); root \[2\] T-\>SetName…

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

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