Re: [BLAST_ANAWARE] database writer & monitor

From: Peter Karpius (karpiusp@einstein.unh.edu)
Date: Mon Apr 26 2004 - 22:11:17 EDT


Hi Michael-

        OK in addition to the previous runs (6000-6052) written to the db
I have now
written 5800-5807. I have also set up a reader called timing_vs_run_db.C
which is in the /devel/TDCOffsets dir and has been submitted to CVS in the
/paddles directory.
        Adrian, the reader now returns values that you have written to the
db - the problem was the NULL field but it works now.

The lines of code that read mean and offsets are:

 /////////////////// GET OFFSETS AND MEAN TDC ///////////////////
TDCoffset[sect][pad][tb] = 0.0;
if (null.compare("")==1) TDCoffset[sect][pad][tb] = atof(row->GetField(3));
TDCmean[sect][pad][tb] = atof(row->GetField(4));
/////////////////////////////////////////////////////////////////

If the offsets are NULL you can retain the last non-NULL set by commenting
the 1st line as I have done above (this is default). Or you can set them
to zero if you like.

Attached are the results of this code from runs: 5800-6100 but NOTE:
offsets are not determined for many of these runs.(exclamation point)

                                Pete

----------------------------------------------
Pete Karpius
Graduate Research Assistant
Nuclear Physics Group
University of New Hampshire
phone: (603)862-1220
FAX: (603)862-2998
email: karpiusp@einstein.unh.edu
http://pubpages.unh.edu/~pkarpius/homepage.htm
----------------------------------------------



timing_vs_run_nooff.gif



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:30 EST