Hi rooters,
I try add histogram with the following command
TFile f("CommonTotaleM.root")
TH1F *h = (TH1F*)f.Get("BASE_ALL_M")
h->Add(h)
but I get
*** Break *** segmentation violation
Why?
If I try
TFile f("CommonTotaleM.root")
TH1F *h = (TH1F*)f.Get("BASE_ALL_M")
h->Draw()
It displays my histogram, but if after I try to execute the following
command
h->Add(h)
I get
Error: Symbol h is not defined in current scope
FILE:/tmp/filensNVWl_cint LINE:1
*** Interpreter error recovered ***
Why?
Thank you for your help.
Giuseppe.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET