Hi rooters!
I try to do the following:
I have a TNtuple out of which I'd like to dump two quantities into a TH2F
histogram with a predefined binning. (If I don't demand this, the
mid located bins get united.) If however I create a TH2F with appropriate
binning and type:
myNtuple->Draw("val1:val2>>my2DHistogram","myCut");
the histogram is drawn empty.
If I type:
myNtuple->Draw("val1>>my1DHistogram","myCut");
the binning is automatically right for the values val1 can take.
Is there something I do wrong and a way to do this except filling the TH2F
from the very beginning?
Greetings!
Tassilo
-------------------------------------------------------------------------------
Tassilo Christ
State University of NY at Stony Brook
PHENIX-Experiment at BNL
Campus: Private:
Department of Physics and Astronomy Schomburg A 112 - C,
Office C116 350 North Loop Road
11790 Stony Brook, NY
Telephone 516-632-9007 Telephone 516-216-5106
BNL- phone: 516 - 344 - 5455
"Microsoft spel chekker four sail, worx grate!"
"A world without walls and fences could live without Windows and Gates..."
And my personal favourite:
esa$ gcc -Wall -o ariane5 ariane4.c
ariane4.c: 666: warning: long float implicitly truncated to unsigned type
esa$ ariane5
:->
-------------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET