[Brahms-dev-l] file access

From: flemming videbaek <videbaek@rcf.rhic.bnl.gov>
Date: Wed Sep 22 2004 - 18:56:58 EDT
A question has been raised : how to know where the generated ltr,gtr and dst are?
To check the location of latest or all files use the daq page 'find data location'.
There is though no need to digest this information. 
A method has been written to access the data from a bratmain script
iomodule-<AddFileSet(runno,datatype,productionversion, [specific version]) which finds and adds the list to the input.
(Please check the exact syntax this is written from home)

If you want to add the dst-files to a chain I have written a macro 'AddFiles.C'
> .L AddFiles.C
>chain = new TChain("T1");
>AddDst2Chain(chain,<runno>,<productionno>[,<version>])
>AddDst2Chain(....)
>...

This can be found in brahms_app/fv_app/Macros/util

Flemming

----------------------------------------------------------------
Flemming Videbaek
Physics Department
Brookhaven National Laboratory

e-mail: videbaek@bnl.gov
phone: 631-344-4106



_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Wed Sep 22 18:53:05 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 22 2004 - 19:07:18 EDT