Privacy and Security Notice

Archived Messages for EGN_CALCOM_1997@cebaf.gov: Few remarks on EC code in recsis

Few remarks on EC code in recsis

STEPANYAN@CEBAF.GOV
Sat, 12 Apr 1997 14:56:07 -0500 (EST)

Hi every one!

I did some modification in EC code. Most of that dos not touch
analyses flow ANAL_OPT=1 (directly).

There were fixed major bags in ANAL_OPT=2, in order to get energy of layer
WHOLE right:
1. To avoid appearance of negative energy in the strip with reported ADC=0
(due to subtraction of pedestal), now in that cases energy automatically will
be equal to 0. This did not effect on energy value in layers INNER and OUTER,
But had a effect on the energy of layer WHOLE.

2. Due to different attenuation lengths of strips, therefor between layers,
averaging a attenuation for layer WHOLE gives about 20% decreasing a total
energy in the layer. From now attenuation in the layer WHOLE will be corrected
by correction in the inner and outer strips individually.

I also change ECP bank, now it has EC internal plane information in there.

Some remarks about ECRB.
I spend some time to see why some of our users getting problem with ECRB.

In fact I do not understand problems acquiring during using ECRB dynamically
(in memory), it works for me, you should be able to dump, print or read
bank with BOS utilities.

Users who has try write ECRB to the output file should have a problem.
As I track it down that goes deep in FPACK routines, some how FPACK crashes
when bank has more than 50 columns, ECRB had 51. BOS seems dos not care how
many columns bank has. That was understood after we (I and Francois) made
TRKL as long as 54 elements, then recsis starts crashes on that.
So far I made ECRB out of 49 columns (we change also TRKL, it is 47 now)
and users can write it out, until we will change it, finally.

Who may also interested, I run recsis on files (5000 events in each):
clas_sector6_000781.a00
clas_sector6_000781.b00
clas_sector6_000781.b01
and wrote output files, that are in my scratch area:
/scratch/stepanya/data/run781_a00.evt
/scratch/stepanya/data/run781_b00.evt
/scratch/stepanya/data/run781_b01.evt
You can look reconstructed tracks and EC hits as well in CED.

regards Stepan.