Hi Stephan,
The easiest way I see is to make a small C++ macro to obtain the TH1F bin-data
and write them onto an ascii output file.
This ascii data can then be read-in in your PAW kumac.
However, I would advise you to try to perform your fit in C++ with ROOT;
you will then have a lot more goodies available for further analysis than
in PAW.
Cheers,
Nick.
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,
>
> Stephan
>
> +-------------------------------------------------------------------------+
> | |
> | |
> | Stephan Hurling |
> | |
> | DESY Telephone: **49 40 8998 3461 |
> | Group FH1, Build. 1b/343 FAX : **49 40 8998 4385 |
> | Notkestrasse 85 |
> | |
> | D-22607 Hamburg (Germany) e-mail :hurling@mail.desy.de |
> | |
> | |
> +-------------------------------------------------------------------------+
>
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET