Hi Homer,
Thanks for pointing these out. I was just starting to look at the track
stuff today and hadn't got to the format line for it. Something must
have happened to asc2root when the original dev to prod move happened...
I have fixed the dev version of asc2root here.
Did you fix your version of stdhep or pick up a revised one from FNAL?
Richard
Homer Neal wrote:
>
> Hi Richard,
>
> There were a few problems affecting the tracking which you are probably
> aware
> of but since I couldn't find any notice about them I thought it would be
> best to
> mention them.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> asc2root was looking for the wrong label in the input_lines.Contains
> check
> I saw that in the dev area at SLAC that this has been fixed.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> the asc2root input line is incorrect for reading track parameters. It
> should be:
> fscanf(infile,"(%f,%f,%f) (%f,%f,%f) %f %i\n",&Init_momen[0],
> &Init_momen[1],&Init_momen[2],&Init_pos[0],&Init_pos[1],
> &Init_pos[2],&charge,&index);
>
> The "(", ")" and "," were missing previously.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> In stdhep, stdchg was declared as an int function in stdhep.h although
> it is a real function.
> This resulted in readStdFile getting charges of +-3 when they should
> have been
> +-1,+-2/3 and +-1/3. I am sure that someone had seen this before but I
> couldn't
> find any mention of it. When I used a corrected version of stdhep.h the
> problem
> was cured.
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Best regards,
> Homer
--
Richard Dubois
SLD, Stanford Linear Accelerator Center
[log in to unmask]
http://www.slac.stanford.edu/~richard/
650-926-3824
650-926-2923 (FAX)
|