[ROOT] histogram variable-rebinning

From: Dongwook Jang (dwjang@fnal.gov)
Date: Thu Feb 12 2004 - 02:42:48 MET


Does anyone have a root macro that can variable rebin from a normal 

For example, h = new TH1F("h","h",100,0.0,100.0);

I'd like to make this histogram as follows

2 bins together upto 50
5 bins together upto 80
10 bins together upto 100

I have a macro to do this, but it's really stupid way.
Also if we have this rebinning in 2-D, 3-D for a specific axis or both.


Best regards,
Dongwook Jang.
phone :	630-840-2118 (office B0 170-I) 630-840-6315 (FAX)

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET