Re: [Alibava-general] data from Alibava
Brought to you by:
lacasta
|
From: lacasta <car...@if...> - 2010-08-30 09:12:57
|
Hello Richard,
The problem with those files is usually that the header does not have
information about the type of run... There is a macro called
fix_header.C that fixes that.
You should use it within root:
.L fix_header.C
and then
fix_header(data_file_name, run_type, header_text)
run_type should be
=1 for a calibration run
2 for laser sync
3 for laser
4 for source
5 f0r a pedestal run
The header text is:
"nevts; sample_size" for a laser, pedestal or source run
"n_points; from_value; to_value; step" for a calibration run
Hope that helps
Carlos
On 08/13/2010 04:42 PM, Richard Bates wrote:
> Hello,
>
> Does anybody know who to recover data from the Alibava system if the DAQ
> software does not finish the run and close the file correctly, for
> example if the DAQ crashes?
> If you try and use the standard data analysis code it complains and does
> not run.
>
> Thank you
>
> yours
>
> Richard
>
>
--
___________________________________________________________________
Carlos Lacasta
^^^^^^^^^^^^^^^
Inst. de Fisica Corpuscular (IFIC)
Edificio Institutos de Investigacion
P.O. Box 22085
E-46071 VALENCIA
Spain
Tel.: +34 96 354 3490
Fax.: +34 96 354 3488
Car...@if...
___________________________________________________________________
|