Re: ascii2root / a 40 parameter ntuple

Rene Brun (Rene.Brun@cern.ch)
Thu, 06 Aug 1998 23:31:58 +0200


>hi rooters ,
> i basic question , but i slowly go insane .
>i have a ascii list of 40 parameters . i want them to be
>in somewhat like a ntuple , so i can quickly play around
>and do some cuts.
>neether scanf nor ntuple holds 40 parameters.
>the parameters should have names , like : runno,eventno,
>qdc_det1,qdc_det2,...,tdc_start,...,bill,clinton,levinsci

>so how do i convert the ascii file into a root file ?

>thanks in advance ,
>martin

Look at tutorials basic.C or staff.C

Rene Brun