# Newbie

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

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

---

## [Probably a math function problem](https://root-forum.cern.ch/t/probably-a-math-function-problem/39802)

<div class="topic-metadata">

**Author:** [@pure](https://root-forum.cern.ch/u/pure)\
**Replies:** 5\
**Last updated:** [June 7, 2020, 2:55pm UTC](https://root-forum.cern.ch/t/probably-a-math-function-problem/39802 "2020-06-07T14:55:06Z")

</div>

Hello! I write code for solving a 2nd-degree equation, and I get this error IncrementalExecutor::executeFunction: symbol '\_ZSt3absd' unresolved while linking \[cling interface function\]! You are probably missing the def…

---

## [Segmentation fault executing SetPoint in script](https://root-forum.cern.ch/t/segmentation-fault-executing-setpoint-in-script/39806)

<div class="topic-metadata">

**Author:** [@mbl1230](https://root-forum.cern.ch/u/mbl1230)\
**Replies:** 2\
**Last updated:** [June 7, 2020, 1:31pm UTC](https://root-forum.cern.ch/t/segmentation-fault-executing-setpoint-in-script/39806 "2020-06-07T13:31:43Z")

</div>

Please read tips for efficient and successful posting and posting code \_ROOT Version:\_6.20/04 Platform: Ubuntu 18.04 running in a VirtualBox VM on Win 10 laptop Compiler: installed CERN binary I am totally new to r…

---

## [ACLiC compiling problem](https://root-forum.cern.ch/t/aclic-compiling-problem/39799)

<div class="topic-metadata">

**Author:** [@youri\_Dolgorouky](https://root-forum.cern.ch/u/youri_Dolgorouky)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 11:58am UTC](https://root-forum.cern.ch/t/aclic-compiling-problem/39799 "2020-06-06T11:58:48Z")

</div>

I install Root on windows 10 from the “root\_v6.20.04.win32.vc16.debug.exe” provided by the Root website, I use MSVS 2019. When I try to compile macro1.c from the beginer prime user guide from section " 3.2 A more comple…

---

## [No matching member function for call to 'GetObject' on TFile object](https://root-forum.cern.ch/t/no-matching-member-function-for-call-to-getobject-on-tfile-object/39791)

<div class="topic-metadata">

**Author:** [@stephen-mul](https://root-forum.cern.ch/u/stephen-mul)\
**Replies:** 1\
**Last updated:** [June 6, 2020, 9:57am UTC](https://root-forum.cern.ch/t/no-matching-member-function-for-call-to-getobject-on-tfile-object/39791 "2020-06-06T09:57:38Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.19.02 Platform: Windows 10 Compiler: Visual Studio When I try to run the following code I get the following error. I don’t unde…

---

## [Draw Files on Same Canvas](https://root-forum.cern.ch/t/draw-files-on-same-canvas/39789)

<div class="topic-metadata">

**Author:** [@stephen-mul](https://root-forum.cern.ch/u/stephen-mul)\
**Replies:** 4\
**Last updated:** [June 6, 2020, 9:48am UTC](https://root-forum.cern.ch/t/draw-files-on-same-canvas/39789 "2020-06-06T09:48:23Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.19.02 Platform: Windows 10 Compiler: Visual Studio 2019 Hi there, I have a root analysis file with multiple histograms that I w…

---

## [No y-axis label when using THStack](https://root-forum.cern.ch/t/no-y-axis-label-when-using-thstack/39792)

<div class="topic-metadata">

**Author:** [@Charlie\_Chen](https://root-forum.cern.ch/u/Charlie_Chen)\
**Replies:** 1\
**Last updated:** [June 6, 2020, 7:57am UTC](https://root-forum.cern.ch/t/no-y-axis-label-when-using-thstack/39792 "2020-06-06T07:57:52Z")

</div>

I’m following the very simple THStack tutorial: https://root.cern.ch/doc/master/classTHStack.html on v6.20/02, and I’m trying to add in axis labels just for this very simple tutorial as a test because I’ve been running i…

---

## [The ROOT interpreter crashes/closes itself on use of cin or cout](https://root-forum.cern.ch/t/the-root-interpreter-crashes-closes-itself-on-use-of-cin-or-cout/39765)

<div class="topic-metadata">

**Author:** [@rajliv](https://root-forum.cern.ch/u/rajliv)\
**Replies:** 6\
**Last updated:** [June 5, 2020, 6:41pm UTC](https://root-forum.cern.ch/t/the-root-interpreter-crashes-closes-itself-on-use-of-cin-or-cout/39765 "2020-06-05T18:41:23Z")

</div>

Hi. I’m more or less a beginner at programming and am not at all tech-savvy on these types of things, so the solution may be trivial. I have been learning a bit of ROOT in school (on ubuntu), so I have some idea of what…

---

## [Plots NOT being displayed through evolving data sets](https://root-forum.cern.ch/t/plots-not-being-displayed-through-evolving-data-sets/39716)

<div class="topic-metadata">

**Author:** [@rraut](https://root-forum.cern.ch/u/rraut)\
**Replies:** 15\
**Last updated:** [June 5, 2020, 4:04pm UTC](https://root-forum.cern.ch/t/plots-not-being-displayed-through-evolving-data-sets/39716 "2020-06-05T16:04:57Z")

</div>

I’m a complete novice in ROOT and I apologize if the following query happens to be a misplaced one. I’m trying to read/calculate data points for three plots in one canvas. (Actually, the data points are directly read …

---

## [Merging ROOT files with hadd](https://root-forum.cern.ch/t/merging-root-files-with-hadd/39777)

<div class="topic-metadata">

**Author:** [@stephen-mul](https://root-forum.cern.ch/u/stephen-mul)\
**Replies:** 19\
**Last updated:** [June 5, 2020, 11:17am UTC](https://root-forum.cern.ch/t/merging-root-files-with-hadd/39777 "2020-06-05T11:17:38Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.19.02 Platform: Windows 10 Compiler: Virtual Studio 2019 Trying to merge to root analysis files using hadd but when I do I am g…

---

## [\*\*\* Break \*\*\* segmentation violation (6.23.01) It didn't crash before](https://root-forum.cern.ch/t/break-segmentation-violation-6-23-01-it-didnt-crash-before/39770)

<div class="topic-metadata">

**Author:** [@Andrew\_Silge](https://root-forum.cern.ch/u/Andrew_Silge)\
**Replies:** 4\
**Last updated:** [June 5, 2020, 7:31am UTC](https://root-forum.cern.ch/t/break-segmentation-violation-6-23-01-it-didnt-crash-before/39770 "2020-06-05T07:31:26Z")

</div>

I had ROOT working before, but now I get this crash. Where should I start to look to find a solution? Root version 6.23.01 Ubuntu 14.04 \*\*\* Break \*\*\* segmentation violation =======================================…

---

## [Segfault when importing ROOT in python](https://root-forum.cern.ch/t/segfault-when-importing-root-in-python/39713)

<div class="topic-metadata">

**Author:** [@trevajrussell](https://root-forum.cern.ch/u/trevajrussell)\
**Replies:** 8\
**Last updated:** [June 5, 2020, 4:09am UTC](https://root-forum.cern.ch/t/segfault-when-importing-root-in-python/39713 "2020-06-05T04:09:00Z")

</div>

I just installed ROOT but I can’t import it into python without a segfault error. I am on MacOs 10.15 and am using python 3.7.3. I installed root by activating the virtual environment I will be using and then the followi…

---

## [Large loop on txt files](https://root-forum.cern.ch/t/large-loop-on-txt-files/39684)

<div class="topic-metadata">

**Author:** [@florian\_Gautier](https://root-forum.cern.ch/u/florian_Gautier)\
**Replies:** 8\
**Last updated:** [June 4, 2020, 9:56pm UTC](https://root-forum.cern.ch/t/large-loop-on-txt-files/39684 "2020-06-04T21:56:55Z")

</div>

Hi, I am trying to loop over txt files in directory and write them into root files (one root files can include several txt files when events of same specs). While my code is working it takes a huge time to compile when…

---

## [Understanding the use of GetObject() method](https://root-forum.cern.ch/t/understanding-the-use-of-getobject-method/39745)

<div class="topic-metadata">

**Author:** [@hep\_1](https://root-forum.cern.ch/u/hep_1)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 12:51pm UTC](https://root-forum.cern.ch/t/understanding-the-use-of-getobject-method/39745 "2020-06-04T12:51:07Z")

</div>

Let’s say I have a root file called “example.root” where I have a tree called “t”. The tree has three branches for three different variables, but other than that, there is nothing more important. Now, let’s say I want t…

---

## [Geant4 Simulation to ROOT file](https://root-forum.cern.ch/t/geant4-simulation-to-root-file/39729)

<div class="topic-metadata">

**Author:** [@faca87](https://root-forum.cern.ch/u/faca87)\
**Replies:** 8\
**Last updated:** [June 4, 2020, 7:34am UTC](https://root-forum.cern.ch/t/geant4-simulation-to-root-file/39729 "2020-06-04T07:34:33Z")

</div>

Hello, I know that this isn’t the Geant4 help forum and I also know the Geant4 help forum\` but, unfortunately, it isn’t so active as the ROOT forum is; so please, is there someone able to use Geant4? I’m writing my firs…

---

## [Compile ROOT 6.20.00 on Catilina 10.15](https://root-forum.cern.ch/t/compile-root-6-20-00-on-catilina-10-15/38345)

<div class="topic-metadata">

**Author:** [@Valerio\_Vagelli](https://root-forum.cern.ch/u/Valerio_Vagelli)\
**Replies:** 6\
**Last updated:** [June 3, 2020, 6:59pm UTC](https://root-forum.cern.ch/t/compile-root-6-20-00-on-catilina-10-15/38345 "2020-06-03T18:59:10Z")

</div>

\_ROOT Version: root-6.20.00 \_Platform: macOS Catilina 10.15.3 \_Compiler: Apple clang version 11.0.0 (clang-1100.0.33.17) Hi, I’m tying to compile ROOT v6.20.00 on a Catilina 10.15.3 os. According to this post th…

---

## [How to extract data from a root file](https://root-forum.cern.ch/t/how-to-extract-data-from-a-root-file/39651)

<div class="topic-metadata">

**Author:** [@esh187](https://root-forum.cern.ch/u/esh187)\
**Replies:** 7\
**Last updated:** [June 3, 2020, 11:52am UTC](https://root-forum.cern.ch/t/how-to-extract-data-from-a-root-file/39651 "2020-06-03T11:52:00Z")

</div>

I have a root file from Geant4 but I do no know how to extract the data from it in text form or anything. ROOT Version: v6.18.04 OS : Windows 10

---

## [Cint Limitation on 3D TGraph arrays?](https://root-forum.cern.ch/t/cint-limitation-on-3d-tgraph-arrays/39740)

<div class="topic-metadata">

**Author:** [@luminociter](https://root-forum.cern.ch/u/luminociter)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 8:27am UTC](https://root-forum.cern.ch/t/cint-limitation-on-3d-tgraph-arrays/39740 "2020-06-03T08:27:46Z")

</div>

Dear Rooters, I seem to be running in a bit of an issue here. I am trying to define a function that accepts as input fiyr arrays of type TGraph \*GrphMagNeut\[5\]\[3\]\[3\] but CINT does not really seems to like ti that much. …

---

## [How to open a root file](https://root-forum.cern.ch/t/how-to-open-a-root-file/39727)

<div class="topic-metadata">

**Author:** [@esh187](https://root-forum.cern.ch/u/esh187)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 6:04am UTC](https://root-forum.cern.ch/t/how-to-open-a-root-file/39727 "2020-06-03T06:04:43Z")

</div>

I have a root file but I cannot seem to read it and draw histograms using the data in it. ROOT Version: ROOT 6 Platform: WINDOWS

---

## [How can I fix this? I am getting each time after compiling code in root environment](https://root-forum.cern.ch/t/how-can-i-fix-this-i-am-getting-each-time-after-compiling-code-in-root-environment/39725)

<div class="topic-metadata">

**Author:** [@Shivam\_Raj](https://root-forum.cern.ch/u/Shivam_Raj)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 6:30pm UTC](https://root-forum.cern.ch/t/how-can-i-fix-this-i-am-getting-each-time-after-compiling-code-in-root-environment/39725 "2020-06-02T18:30:13Z")

</div>

root \[0\] Processing main91.cc... In file included from input\_line\_88:1: /home/pythia8244/examples/main91.cc:15:10: fatal error: 'Pythia8/Pythia.h' file not found #include "Pythia8/Pythia.h" ^~~~~~~~~~~~~~~~~~ R…

---

## [How can I fix this? I am getting each time after compiling code in pythia or in root environment](https://root-forum.cern.ch/t/how-can-i-fix-this-i-am-getting-each-time-after-compiling-code-in-pythia-or-in-root-environment/39687)

<div class="topic-metadata">

**Author:** [@Shivam\_Raj](https://root-forum.cern.ch/u/Shivam_Raj)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 11:58am UTC](https://root-forum.cern.ch/t/how-can-i-fix-this-i-am-getting-each-time-after-compiling-code-in-pythia-or-in-root-environment/39687 "2020-06-02T11:58:10Z")

</div>

root \[0\] .x pythia8.C PYTHIA Error: settings file /path/to/pythia81xx/xmldoc/Index.xml not found PYTHIA Abort from Pythia::Pythia: settings unavailable PYTHIA Abort from Pythia::init: constructor initialization failed …

---

## [Code crashes when trying to add a legend](https://root-forum.cern.ch/t/code-crashes-when-trying-to-add-a-legend/39706)

<div class="topic-metadata">

**Author:** [@evdv](https://root-forum.cern.ch/u/evdv)\
**Replies:** 6\
**Last updated:** [June 2, 2020, 10:18am UTC](https://root-forum.cern.ch/t/code-crashes-when-trying-to-add-a-legend/39706 "2020-06-02T10:18:24Z")

</div>

Hi, I am trying to add a legend to my plot. However, for some reason, my code crashes when I to AddEntry. I am really confused, because I am doing the exact same thing I have been doing before and it has always worked. T…

---

## [ROOT Data Types](https://root-forum.cern.ch/t/root-data-types/39671)

<div class="topic-metadata">

**Author:** [@Eric\_Enzler](https://root-forum.cern.ch/u/Eric_Enzler)\
**Replies:** 3\
**Last updated:** [May 31, 2020, 3:36pm UTC](https://root-forum.cern.ch/t/root-data-types/39671 "2020-05-31T15:36:12Z")

</div>

Hello ROOT Users, I am working with ROOT since 3 months now and I have seen a large variety of types. Is there an up-to-date list that includes every data type? I am looking for something like this: Example This List …

---

## [Issue Recognising Type Specifiers](https://root-forum.cern.ch/t/issue-recognising-type-specifiers/39682)

<div class="topic-metadata">

**Author:** [@stephen-mul](https://root-forum.cern.ch/u/stephen-mul)\
**Replies:** 6\
**Last updated:** [May 31, 2020, 3:10pm UTC](https://root-forum.cern.ch/t/issue-recognising-type-specifiers/39682 "2020-05-31T15:10:19Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.19.02 Platform: Windows 10 Compiler: Visual Studio 2019 I’m trying to load a macro RootTools.C but I am running into multiple i…

---

## [Error while migrating from root 5 to root 6](https://root-forum.cern.ch/t/error-while-migrating-from-root-5-to-root-6/39617)

<div class="topic-metadata">

**Author:** [@Sabya](https://root-forum.cern.ch/u/Sabya)\
**Replies:** 5\
**Last updated:** [May 30, 2020, 2:47am UTC](https://root-forum.cern.ch/t/error-while-migrating-from-root-5-to-root-6/39617 "2020-05-30T02:47:42Z")

</div>

While migrating my code from root 5 to root 6 i am getting an error on TContainer which it was not giving on root5 and the code was running perfectly on root5. Please help anyone how to debug this error. Attached is th…

---

## [Root installing incorrectly?](https://root-forum.cern.ch/t/root-installing-incorrectly/39662)

<div class="topic-metadata">

**Author:** [@stephen-mul](https://root-forum.cern.ch/u/stephen-mul)\
**Replies:** 4\
**Last updated:** [May 29, 2020, 1:36pm UTC](https://root-forum.cern.ch/t/root-installing-incorrectly/39662 "2020-05-29T13:36:17Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.18.04 Platform: Windows 10 Compiler: Not Sure I am able to open root and do some basic operations and plotting of functions, bu…

---

## [ROOT related paper on datamining?](https://root-forum.cern.ch/t/root-related-paper-on-datamining/39523)

<div class="topic-metadata">

**Author:** [@marty1885](https://root-forum.cern.ch/u/marty1885)\
**Replies:** 3\
**Last updated:** [May 29, 2020, 8:33am UTC](https://root-forum.cern.ch/t/root-related-paper-on-datamining/39523 "2020-05-29T08:33:20Z")

</div>

Hi, I’m a CS student and I’m currently reading and understanding ROOT’s internal structure. Hoping I can contribute to the ROOT project in the future (personally I find ROOT’s design be very intresting). Now I’ve a repo…

---

## [Look for a specific peak in a histogram](https://root-forum.cern.ch/t/look-for-a-specific-peak-in-a-histogram/39649)

<div class="topic-metadata">

**Author:** [@Sbecka](https://root-forum.cern.ch/u/Sbecka)\
**Replies:** 2\
**Last updated:** [May 29, 2020, 4:16am UTC](https://root-forum.cern.ch/t/look-for-a-specific-peak-in-a-histogram/39649 "2020-05-29T04:16:28Z")

</div>

Dear Exparts, I want to build a gated 1D gamma spectrum which will be in coincidence with a specific gamma energy. Can you please help me how to do it? I guess I need to build a 1D histogram at first, search for the pea…

---

## [TTreeReader does not find branch, TTree::Draw finds it](https://root-forum.cern.ch/t/ttreereader-does-not-find-branch-ttree-draw-finds-it/39642)

<div class="topic-metadata">

**Author:** [@mfglinux\_gmail](https://root-forum.cern.ch/u/mfglinux_gmail)\
**Replies:** 3\
**Last updated:** [May 28, 2020, 1:28pm UTC](https://root-forum.cern.ch/t/ttreereader-does-not-find-branch-ttree-draw-finds-it/39642 "2020-05-28T13:28:00Z")

</div>

Hello I am learning how to use TTreeReader but I have miserably failed. I have a file with 2 TTrees (I uploaded it to cernbox) https://cernbox.cern.ch/index.php/s/hqEk6R3Yc0vhWtI If I open it and Draw a leaf, I can d…

---

## [String on a ttree](https://root-forum.cern.ch/t/string-on-a-ttree/39615)

<div class="topic-metadata">

**Author:** [@Mapse](https://root-forum.cern.ch/u/Mapse)\
**Replies:** 8\
**Last updated:** [May 28, 2020, 12:57pm UTC](https://root-forum.cern.ch/t/string-on-a-ttree/39615 "2020-05-28T12:57:46Z")

</div>

Dear all, I’m using a ttree to read a csv file in which a column is composed by strings. I need those strings to make some if statements. However, the tree reads only 9 characters and the required string has 12 characte…

---

## [Root includes could not be resolved by the Eclipse IDE Preprocessor](https://root-forum.cern.ch/t/root-includes-could-not-be-resolved-by-the-eclipse-ide-preprocessor/39329)

<div class="topic-metadata">

**Author:** [@massimo.trifoglio](https://root-forum.cern.ch/u/massimo.trifoglio)\
**Replies:** 2\
**Last updated:** [May 27, 2020, 7:34pm UTC](https://root-forum.cern.ch/t/root-includes-could-not-be-resolved-by-the-eclipse-ide-preprocessor/39329 "2020-05-27T19:34:27Z")

</div>

I’ve created the IDE projects from the Root example “event” with the original CMakeLists.txt (see below). I succeeded to build and run the example. But the Preprocessor is not able to resolve the Root variables. Thank…

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

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