Re: Converting histograms ROOT->PAW

From: Laurent Aphecetche (aphecetc@in2p3.fr)
Date: Tue Sep 14 1999 - 18:37:50 MEST


Stephan Hurling wrote:
> 
> Hello everybody,
> 
> I would like to use a program based on minuit, which would allow me to
> make a complex fit to my data. This fit cannot be reprogrammed in Root
> without spending a lot of time on this project. Unfortunately the
> interface of this programm works only with histograms in PAW format. So
> I'm searching for a way to convert just a single normal TH1F histogram
> into its PAW equivalent.
> 
> Can anybody discribe me, what I have to do, to put my TH1F histogram into
> PAW format? (Because I think it will be faster to go this way then
> rewriting the fit program in C++).
> 
> (I'm using Root from the beginning on and therefore I'm not very familiar
> with the HBOOK data format. In earlier letters of the Root Talk Digest,
> Rene said, one doesn't need to know the internals of the data formats to
> make this conversion. So it's no problem for me to develop code, if it is
> possible to make this running successfully within 2 days or so.)
> 
> Thanks and all the best,
> 

Hi,

I've written a very basic program that converts ROOT histograms into
HBOOK ones.
 It can be found at http://www-subatech.in2p3.fr/~photons/roo2h/.
 You'll have to compile it, but it should work.

Hope this helps.
-- 
APHECETCHE Laurent (mailto:aphecetc@in2p3.fr) | TAPS/PHENIX/ALICE
SUBATECH-Ecole des Mines de Nantes-4 rue Alfred Kastler-44070 NANTES
cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24
WWW: http://www-subatech.in2p3.fr/~photons



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET