[d2n-analysis-talk] BdataLoc

posik at jlab.org posik at jlab.org
Tue Oct 27 18:06:12 EDT 2009


Hi Brad,

   I was going over tracing back how the trigger bits are formed, and in
the THaDecData.C file there is the line where the bits are defined

   fCrateLoc.push_back(new BdataLoc(Form("bit%d",i+1), 3, (Int_t) 5,
64+i));

  Looking into this BdataLoc() takes arguments of the following

 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 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:

                     'crate' 'slot'  'chan'
bit1       crate      8    17       16
bit2       crate      8    17       17
bit3       crate      8    17       18
bit4       crate      8    17       19
bit5       crate      8    17       20
bit6       crate      8    17       21
bit7       crate      8    17       22
bit8       crate      8    17       23
bit9       crate      8    17       24
bit10      crate      8    17       25
bit11      crate      8    17       26
bit12      crate      8    17       27
bit13      crate      8    17       28

These values do not match what I thought BdataLoc() should be grabbing.
Did I trace it back to the wrong source?

Thanks
Matt













More information about the d2n-analysis-talk mailing list