[d2n-analysis-talk] BdataLoc
Brad Sawatzky
brads at jlab.org
Tue Oct 27 22:36:16 EDT 2009
On Tue, 27 Oct 2009, posik at jlab.org wrote:
> BdataLoc(string, crate,slot,chan) or BdataLoc(string,crate,header,skip)
>
> The first is rather self explanatory, but the second I am not sure what
> they mean by header and skip. Assuming that the bit definition line has
The second use of the method looks for a header word in the data file,
then stores the word 'skip' works away from the header in the named
variable.
> the for Bdata(string,crate,slot,chan) I then try to trace this back to the
> db_DL.dat or db_DBB.dat, If I am right in my assumption I should expect
> the variables bitsX to be on crate 3, slot 5 and chan 64-71 or so. But
> what I find instead in these files is:
[ . . . ]
> bit1 crate 8 17 16
> bit2 crate 8 17 17
> bit3 crate 8 17 18
BdataLoc uses the crate/slot/channel/etc info in db_DL.dat (or
db_DBB.dat, etc). You were looking at the hardcoded 'default' case.
-- Brad
--
Brad Sawatzky, PhD <brads at jlab.org> -<>- Jefferson Lab / Hall C / C111
Ph: 757-269-5947 -<>- Pager: 757-584-5947 -<>- Fax: 757-269-7848
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" but "That's funny..." -- Isaac Asimov
More information about the d2n-analysis-talk
mailing list