[ROOT] TH2 Profile to TH1 Histogram

From: Roland Bramm (Roland.Bramm@cern.ch)
Date: Mon Jul 31 2000 - 14:09:42 MEST


Hi Rooters,

I have a TH2F Hisrogram, and additionally the Projection via
ProjectionX(). My Problem is, that i eant to create a new Histogram, which
gets the contetn of the Projected TH2 Histogram. 

test = new TH2F("test","",100,0,10,100,0,10);
test2 = new TH1D(test.ProfileX("",0,100));

But this is not running.

Is there another way ?

Greetings
Roland



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET