# Newbie

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

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

---

## [Histogram window disappears](https://root-forum.cern.ch/t/histogram-window-disappears/32224)

<div class="topic-metadata">

**Author:** [@ksaoucha](https://root-forum.cern.ch/u/ksaoucha)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 3:30pm UTC](https://root-forum.cern.ch/t/histogram-window-disappears/32224 "2019-01-09T15:30:18Z")

</div>

Hi, I want to draw a histogram on a python script, so I do: histogram.Draw() However when I run the script on the terminal, the window showing the plot disappears after a second. Anyone who knows how to fix it? Thanks…

---

## [How to push data to vector from branch tree](https://root-forum.cern.ch/t/how-to-push-data-to-vector-from-branch-tree/32616)

<div class="topic-metadata">

**Author:** [@anhelina](https://root-forum.cern.ch/u/anhelina)\
**Replies:** 1\
**Last updated:** [February 6, 2019, 1:37pm UTC](https://root-forum.cern.ch/t/how-to-push-data-to-vector-from-branch-tree/32616 "2019-02-06T13:37:26Z")

</div>

Hi, I am creating a function for plotting graph from tree. Something like this: TGraph \* DrawGraph(string xname, string yname, TTree\* tree) { float time = 0.0;// float NimplantOuterVoltage = 0.0;// float N…

---

## [Geant4 B4example](https://root-forum.cern.ch/t/geant4-b4example/32619)

<div class="topic-metadata">

**Author:** [@nikos7ender](https://root-forum.cern.ch/u/nikos7ender)\
**Replies:** 1\
**Last updated:** [February 6, 2019, 2:06pm UTC](https://root-forum.cern.ch/t/geant4-b4example/32619 "2019-02-06T14:06:58Z")

</div>

Hello Rooters, I am currently working on Geant4, and I’m running the example B4a smoothly. As I want to see the histograms, I try to open the “plotHisto.C” with root, by opening root in the file directory and then exec…

---

## [Getting root to display graphs](https://root-forum.cern.ch/t/getting-root-to-display-graphs/32598)

<div class="topic-metadata">

**Author:** [@Colton\_Graham](https://root-forum.cern.ch/u/Colton_Graham)\
**Replies:** 4\
**Last updated:** [February 5, 2019, 3:20pm UTC](https://root-forum.cern.ch/t/getting-root-to-display-graphs/32598 "2019-02-05T15:20:08Z")

</div>

Hi! So, I’m new to root, and I’m trying to get root to display a graph using the macro void graph(){ gROOT-\>SetStyle("Plain"); TF1 f1("f1","sin(x)/x",0.,10.); f1.Draw(); } but every time I run the macro, th…

---

## [TProfile errors after SetBinContent in TH2](https://root-forum.cern.ch/t/tprofile-errors-after-setbincontent-in-th2/32590)

<div class="topic-metadata">

**Author:** [@aleopold](https://root-forum.cern.ch/u/aleopold)\
**Replies:** 1\
**Last updated:** [February 5, 2019, 2:28pm UTC](https://root-forum.cern.ch/t/tprofile-errors-after-setbincontent-in-th2/32590 "2019-02-05T14:28:44Z")

</div>

ROOT Version: 6.10.04-x86\_64-slc6-gcc62-opt Platform: lxplus Compiler: Not Provided Hi! I have a TH2F histogram, that I am scaling per “line” in y along the x axis. I already know this sounds confusing, so I will j…

---

## [No package 'davix' found](https://root-forum.cern.ch/t/no-package-davix-found/32441)

<div class="topic-metadata">

**Author:** [@pamputt](https://root-forum.cern.ch/u/pamputt)\
**Replies:** 4\
**Last updated:** [February 3, 2019, 3:41pm UTC](https://root-forum.cern.ch/t/no-package-davix-found/32441 "2019-02-03T15:41:56Z")

</div>

I compiled davix 0.7.1 and installed it into /opt/davix When I use cmake to install ROOT 6.16, I systematically get this message No package ‘davix’ found I tried to add /opt/davix/lib64 in my .bashrc (LD\_LIBRARY\_PAT…

---

## [\[FATAL\] Redirect limit has been reached --- Error in \<TNetXNGFile::Open\>:](https://root-forum.cern.ch/t/fatal-redirect-limit-has-been-reached-error-in-tnetxngfile-open/32505)

<div class="topic-metadata">

**Author:** [@ipapaver](https://root-forum.cern.ch/u/ipapaver)\
**Replies:** 1\
**Last updated:** [February 1, 2019, 4:17pm UTC](https://root-forum.cern.ch/t/fatal-redirect-limit-has-been-reached-error-in-tnetxngfile-open/32505 "2019-02-01T16:17:56Z")

</div>

Hi all, For the last few days I have been trying to produce some ntuples for my analysis, using miniAOD files located here: root://cms-xrd-global.cern.ch//store/mc/RunIIFall17MiniAOD/… When I run my configuration file …

---

## [Visual Studio 2019 Preview and Typetraits](https://root-forum.cern.ch/t/visual-studio-2019-preview-and-typetraits/32546)

<div class="topic-metadata">

**Author:** [@hennecke](https://root-forum.cern.ch/u/hennecke)\
**Replies:** 2\
**Last updated:** [February 1, 2019, 10:51am UTC](https://root-forum.cern.ch/t/visual-studio-2019-preview-and-typetraits/32546 "2019-02-01T10:51:33Z")

</div>

Hi, the internal compiler error C1001 Bertrand reported last year has disappeared in the latest VS 2019 Preview (16.0.0 Preview 2.1) but when I include Root headers I still get the errors below. Im using Root 6.16.00 o…

---

## [ROOT installation on Windows 7](https://root-forum.cern.ch/t/root-installation-on-windows-7/32453)

<div class="topic-metadata">

**Author:** [@Relativity](https://root-forum.cern.ch/u/Relativity)\
**Replies:** 6\
**Last updated:** [February 1, 2019, 9:37am UTC](https://root-forum.cern.ch/t/root-installation-on-windows-7/32453 "2019-02-01T09:37:55Z")

</div>

I want to use ROOT on Windows 7. So I downloaded the last release of Version 5 in form of source, not binary. I downloaded and installed Microsoft Visual Studio 2017 Version 15.9; I downloaded and installed CMake 3.13.…

---

## ["Hidden" methods](https://root-forum.cern.ch/t/hidden-methods/32506)

<div class="topic-metadata">

**Author:** [@bdrum](https://root-forum.cern.ch/u/bdrum)\
**Replies:** 2\
**Last updated:** [January 30, 2019, 1:05pm UTC](https://root-forum.cern.ch/t/hidden-methods/32506 "2019-01-30T13:05:29Z")

</div>

Hi rooters, Could anybody explain to me, why I see some methods in cling with TAB extension, which I can’t find in documentations, e.g.: root \[\] TPad::Modif Modified Modify What is the method Modify? I can’t find it i…

---

## [Variable bin size for logged scale](https://root-forum.cern.ch/t/variable-bin-size-for-logged-scale/32501)

<div class="topic-metadata">

**Author:** [@Maximus12108](https://root-forum.cern.ch/u/Maximus12108)\
**Replies:** 2\
**Last updated:** [January 30, 2019, 11:54am UTC](https://root-forum.cern.ch/t/variable-bin-size-for-logged-scale/32501 "2019-01-30T11:54:36Z")

</div>

Hello, I’m trying to reproduce some model data (blue line), but am having problems with my bin size. the majority of my data is at the farther end of the x-axis but I want to plot more data points at the lower scale. …

---

## [Struggling to change to a log axis](https://root-forum.cern.ch/t/struggling-to-change-to-a-log-axis/32498)

<div class="topic-metadata">

**Author:** [@Maximus12108](https://root-forum.cern.ch/u/Maximus12108)\
**Replies:** 3\
**Last updated:** [January 30, 2019, 10:16am UTC](https://root-forum.cern.ch/t/struggling-to-change-to-a-log-axis/32498 "2019-01-30T10:16:54Z")

</div>

Hi, I’m currently working on reproducing a graph (using TProfile) that displays the x-axis logarithmically as shown in the first attachment. which is labelled ‘correct’. However, when I use “canvas-\>SetLogx()”, the …

---

## [How many Trees are in a root file?](https://root-forum.cern.ch/t/how-many-trees-are-in-a-root-file/32477)

<div class="topic-metadata">

**Author:** [@Nyx](https://root-forum.cern.ch/u/Nyx)\
**Replies:** 7\
**Last updated:** [January 29, 2019, 1:20pm UTC](https://root-forum.cern.ch/t/how-many-trees-are-in-a-root-file/32477 "2019-01-29T13:20:22Z")

</div>

Is there a function to get the number of Trees in a root file?

---

## [TStreamerInfo missing](https://root-forum.cern.ch/t/tstreamerinfo-missing/32457)

<div class="topic-metadata">

**Author:** [@jstock](https://root-forum.cern.ch/u/jstock)\
**Replies:** 2\
**Last updated:** [January 28, 2019, 6:06pm UTC](https://root-forum.cern.ch/t/tstreamerinfo-missing/32457 "2019-01-28T18:06:34Z")

</div>

I am trying to load a root file in a TChain. The root file contains a Tree with my own event class in it. I load the event class into ROOT (The exact same file as was used in the module that made the tree), and then whe…

---

## [ROOT::Math::Polynomial Linker Error](https://root-forum.cern.ch/t/root-polynomial-linker-error/32448)

<div class="topic-metadata">

**Author:** [@GBi](https://root-forum.cern.ch/u/GBi)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 4:36pm UTC](https://root-forum.cern.ch/t/root-polynomial-linker-error/32448 "2019-01-25T16:36:59Z")

</div>

Hey there, I’m running ROOT 6.14/08 on a remote CentOS7 cluster (which I have limited access) and been using relevant ROOT headers in my HEP work in C++ so far without issue. However, building in g++ with these relevan…

---

## [2D Reconstruction Efficiency - Issues with TEfficiency](https://root-forum.cern.ch/t/2d-reconstruction-efficiency-issues-with-tefficiency/32405)

<div class="topic-metadata">

**Author:** [@BLunday](https://root-forum.cern.ch/u/BLunday)\
**Replies:** 5\
**Last updated:** [January 25, 2019, 12:23pm UTC](https://root-forum.cern.ch/t/2d-reconstruction-efficiency-issues-with-tefficiency/32405 "2019-01-25T12:23:52Z")

</div>

Greetings, all. I’m trying to put together a 2D efficiency plot, and as such have generated both a MC and reconstructed event histogram which I draw using the ‘colz’ option. On the surface, the two look similar as is ex…

---

## [gDirectory-\>Get crashes with: unsorted double linked list corrupted](https://root-forum.cern.ch/t/gdirectory-get-crashes-with-unsorted-double-linked-list-corrupted/32429)

<div class="topic-metadata">

**Author:** [@busa](https://root-forum.cern.ch/u/busa)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 8:02am UTC](https://root-forum.cern.ch/t/gdirectory-get-crashes-with-unsorted-double-linked-list-corrupted/32429 "2019-01-25T08:02:49Z")

</div>

Hello, I’m trying to use root for storing and retrieving of parameters. So I wrote some code to write data and now I would like to read them. My problem is, that when I open the (attached) file testBad.root for reading,…

---

## [RDataFrame copy assignment issues](https://root-forum.cern.ch/t/rdataframe-copy-assignment-issues/32420)

<div class="topic-metadata">

**Author:** [@HaiderAbidi](https://root-forum.cern.ch/u/HaiderAbidi)\
**Replies:** 5\
**Last updated:** [January 24, 2019, 7:47pm UTC](https://root-forum.cern.ch/t/rdataframe-copy-assignment-issues/32420 "2019-01-24T19:47:51Z")

</div>

Hi, I am trying out the new RDataFrame and moving some of my current analysis code to use it. However, in trying to implement this, I ran into a copy assignment issue. I am attaching a simple example to basically recre…

---

## [Drawing histogram via compilled macros](https://root-forum.cern.ch/t/drawing-histogram-via-compilled-macros/32414)

<div class="topic-metadata">

**Author:** [@bdrum](https://root-forum.cern.ch/u/bdrum)\
**Replies:** 1\
**Last updated:** [January 23, 2019, 2:34pm UTC](https://root-forum.cern.ch/t/drawing-histogram-via-compilled-macros/32414 "2019-01-23T14:34:22Z")

</div>

Hi rooters. Could somebody help me and explain what wrong with my macro, please? I have the macros file which called “Analysis.C” with such content: #include "TFile.h" #include "TTree.h" #include "TMath.h" #include "T…

---

## [Accessing crystalball cdf parameters](https://root-forum.cern.ch/t/accessing-crystalball-cdf-parameters/32413)

<div class="topic-metadata">

**Author:** [@Vangi](https://root-forum.cern.ch/u/Vangi)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 1:21pm UTC](https://root-forum.cern.ch/t/accessing-crystalball-cdf-parameters/32413 "2019-01-23T13:21:59Z")

</div>

Dear ROOTers, I am trying to add a crystalball cdf to my function map, and adjust its parameters for every event. When I try accessing them, it tells me to use the parameter name instead of a number, but I still get not…

---

## [Trying to use root2lhco tool](https://root-forum.cern.ch/t/trying-to-use-root2lhco-tool/32368)

<div class="topic-metadata">

**Author:** [@gasar8](https://root-forum.cern.ch/u/gasar8)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 3:41pm UTC](https://root-forum.cern.ch/t/trying-to-use-root2lhco-tool/32368 "2019-01-22T15:41:06Z")

</div>

Hi, I just installed ROOT on my Ubuntu 18.04 laptop, so I am new to it. I am working with MadGraph and trying to convert some .root results of different events to .lhco file for further MadAnalysis analysis. :wink: I ha…

---

## [Plotting events while sweeping across Plane instead of events in X and Y separately](https://root-forum.cern.ch/t/plotting-events-while-sweeping-across-plane-instead-of-events-in-x-and-y-separately/32355)

<div class="topic-metadata">

**Author:** [@gibster15](https://root-forum.cern.ch/u/gibster15)\
**Replies:** 2\
**Last updated:** [January 21, 2019, 12:39pm UTC](https://root-forum.cern.ch/t/plotting-events-while-sweeping-across-plane-instead-of-events-in-x-and-y-separately/32355 "2019-01-21T12:39:55Z")

</div>

Hello Experts, I’m not sure if this is possible/simple, but I’ll ask anyway. I have two 1D histograms, one that is events in X, and one that is events in Y. Normally, I create 2D plots that are X vs Y, creating simple…

---

## [Opening a root file from a server with password](https://root-forum.cern.ch/t/opening-a-root-file-from-a-server-with-password/32351)

<div class="topic-metadata">

**Author:** [@antonio.iuliano2](https://root-forum.cern.ch/u/antonio.iuliano2)\
**Replies:** 6\
**Last updated:** [January 21, 2019, 8:15am UTC](https://root-forum.cern.ch/t/opening-a-root-file-from-a-server-with-password/32351 "2019-01-21T08:15:23Z")

</div>

Dear ROOT expert, I need to open ROOT files from a server, without connecting to it using ssh. I have trying to use BasicAuth connection of TFile: TFile \*h = TFile::Open(“https://myusername:mypassword@nusrv9.na.infn.i…

---

## [Lower error bars in TGraphAsymmErrors aren't printed](https://root-forum.cern.ch/t/lower-error-bars-in-tgraphasymmerrors-arent-printed/32325)

<div class="topic-metadata">

**Author:** [@Sparklebread](https://root-forum.cern.ch/u/Sparklebread)\
**Replies:** 8\
**Last updated:** [January 18, 2019, 7:50am UTC](https://root-forum.cern.ch/t/lower-error-bars-in-tgraphasymmerrors-arent-printed/32325 "2019-01-18T07:50:01Z")

</div>

Hello, I have a problem with my TGraphAsymmErrors. In a macro, I create an empty graph with asymmetrical error bars and fill it with one value for each of other files, in a loop. I summed it up in the following (pseudo…

---

## [Reading TRefArray from PyROOT](https://root-forum.cern.ch/t/reading-trefarray-from-pyroot/32322)

<div class="topic-metadata">

**Author:** [@Tae](https://root-forum.cern.ch/u/Tae)\
**Replies:** 1\
**Last updated:** [January 17, 2019, 9:53am UTC](https://root-forum.cern.ch/t/reading-trefarray-from-pyroot/32322 "2019-01-17T09:53:06Z")

</div>

Hello I am new to ROOT and working on extracting Jet information from leaf with TRefArray formation. Following is a specific leaf information when I do Print() \`\*........................................................…

---

## [Errors in compiling after switching to ROOT\_6.14.06](https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261)

<div class="topic-metadata">

**Author:** [@ANUJ\_CHANDRA](https://root-forum.cern.ch/u/ANUJ_CHANDRA)\
**Replies:** 2\
**Last updated:** [January 14, 2019, 4:59am UTC](https://root-forum.cern.ch/t/errors-in-compiling-after-switching-to-root-6-14-06/32261 "2019-01-14T04:59:29Z")

</div>

Dear Sir/Madam I am facing errors in compiling an executable built after doing “make -j64”. I am using ROOT\_6.14.06 and architacture of Ubuntu 16.04 LTS ppc64le (powerpc64 little endian). I have attached the compressed …

---

## [TRatioPlot question](https://root-forum.cern.ch/t/tratioplot-question/32268)

<div class="topic-metadata">

**Author:** [@tcroark](https://root-forum.cern.ch/u/tcroark)\
**Replies:** 1\
**Last updated:** [January 12, 2019, 9:01pm UTC](https://root-forum.cern.ch/t/tratioplot-question/32268 "2019-01-12T21:01:36Z")

</div>

Hi All, I created a TRatioPlot using two histograms, a reconstructed IM\_PipPim distribution and a generated IM\_PipPim distribution. I understand the lower plot that is produced is a TGraphAsymmErrors. My question is, i…

---

## [Undefined reference to errors](https://root-forum.cern.ch/t/undefined-reference-to-errors/32259)

<div class="topic-metadata">

**Author:** [@christianwos83](https://root-forum.cern.ch/u/christianwos83)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 10:00pm UTC](https://root-forum.cern.ch/t/undefined-reference-to-errors/32259 "2019-01-11T22:00:58Z")

</div>

Hello there, I am new to ROOT and I feel like I have asked this question a couple of times already, in different disguises. I will try to be as specific as possible. I downloaded the stand alone version of Minuit2 from …

---

## [Root Installation, need '-ldl'?](https://root-forum.cern.ch/t/root-installation-need-ldl/32231)

<div class="topic-metadata">

**Author:** [@shimperator](https://root-forum.cern.ch/u/shimperator)\
**Replies:** 2\
**Last updated:** [January 10, 2019, 7:43am UTC](https://root-forum.cern.ch/t/root-installation-need-ldl/32231 "2019-01-10T07:43:24Z")

</div>

Hello, I am a newbie who is installing ROOT for a week already and still not so successful. I was just following the instruction of the website and “README/INSTALL”. But ‘make’ always failed at build \[95%\] level with…

---

## [Creating ROOT program with Visual Studio](https://root-forum.cern.ch/t/creating-root-program-with-visual-studio/31962)

<div class="topic-metadata">

**Author:** [@fateeff](https://root-forum.cern.ch/u/fateeff)\
**Replies:** 5\
**Last updated:** [December 12, 2018, 8:54am UTC](https://root-forum.cern.ch/t/creating-root-program-with-visual-studio/31962 "2018-12-12T08:54:51Z")

</div>

Hello! I want to create a ROOT program with Visual Studio. I add includes and libraries from ROOT (all information I found here https://twiki.cern.ch/twiki/bin/view/Sandbox/ROOTandVisualStudio ). Then I wrote this code: …

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

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