RE: New brat version and classes

From: Claus O. E. Jorgensen (ekman@nbi.dk)
Date: Fri Mar 08 2002 - 07:00:19 EST

  • Next message: Djamel Ouerdane: "RE: New brat version and classes"

    Hi Flemming and Ian
    
    Concerning the db log.
    
    Once I made a small program that browses the db and creates histograms
    that show the calibration parameters vs run for each channel. For now it
    only includes the ped, adc and delta tdc for the bb counters, but other
    calibration parameters can easily be added. From these histograms it's
    clear where calibrations are done and where new calibrations are nedded
    (in fact it is a log). 
    
    I think this is the obvious way check where calibrations are done/needed -
    since it checks what's actually in the db, and not what someone wrote in
    a log. 
    
    The code is in /brahms/u/ekman/bbDbBrowser/ 
    
    Claus
    
    
    > Hi Flemming,
    > We have, of course, thought about keeping a log of which calibrations have
    > been done, but we haven't done it yet.  Let me talk to Djam and see what he
    > thinks is the best (and easiest) way to do this.
    > 
    > Probably if we had an easily available log, some of the non-NBI people would
    > jump right in and really want to do calibrations!
    > 
    > Ian
    > 
    > > -----Original Message-----
    > > From: owner-brahms-dev-l@bnl.gov [mailto:owner-brahms-dev-l@bnl.gov]On
    > > Behalf Of Flemming Videbaek
    > > Sent: 7. marts 2002 21:19
    > > To: devlist
    > > Subject: Re: New brat version and classes
    > >
    > >
    > > Hi,
    > >
    > > This sounds good. I assume that all the ranges that used to be in
    > > the script
    > > file for setting TdcOffsets are now
    > > in the DB. Correct?
    > >
    > > It bring up a point that even though it is possible by the DB browsers to
    > > see what revisons are in, it would be useful
    > > if we somewhere could keep a log what calibrations have been done when
    > > planning future calibrations etc.
    > > Has anyone thought about this?
    > >
    > > Flemming
    > >
    > > ------------------------------------------------------
    > > Flemming Videbaek
    > > Physics Department
    > > Brookhaven National Laboratory
    > >
    > > tlf: 631-344-4106
    > > fax 631-344-1334
    > > e-mail: videbaek@bnl.gov
    > > ----- Original Message -----
    > > From: "Djamel Ouerdane" <ouerdane@nbi.dk>
    > > To: <brahms-soft-l@bnl.gov>
    > > Sent: Thursday, March 07, 2002 1:13 PM
    > > Subject: New brat version and classes
    > >
    > >
    > > > Hi all,
    > > >
    > > > Since it turns out that the DC calibration needs several
    > > revisions for the
    > > > TDC offsets (not constant with time), Pawel and I introduced the
    > > > BrDcCalibration class in brat/data/calib (inspired by the
    > > existing stuff).
    > > >
    > > > I modified BrDcCalModule so that one can use it to commit the TDC offset
    > > > value to the SQL database (cf. bratmain script added in
    > > > brat/scripts/calib/dc/)
    > > >
    > > > The DC tracking module BrDCTrackingModule can now communicate
    > > with the sql
    > > > DB via the calibration manager if one calls the method
    > > >
    > > > BrDCTrackingModule::UseMySql();
    > > >
    > > > The TDC offset will be read from the SQL db in that case.
    > > >
    > > > It should make life easier for data reduction once all offsets
    > > are stored
    > > > in the DB.
    > > >
    > > > The version number of brat has been bumped to 2.2.21 and it's
    > > been tagged
    > > > BRAT-2-2-21.
    > > >
    > > > If any problem, tell me asap.
    > > >
    > > > Ciao
    > > > Djam
    > > >
    > > > --
    > > > Djamel Ouerdane ------------------------------------------o
    > > > |  Niels Bohr Institute      |  Home:                     |
    > > > |  Blegdamsvej 17, DK-2100 Ø |  Jagtvej 141 2D,           |
    > > > |  Fax: +45 35 32 50 16      |  DK-2200 Copenhagen N      |
    > > > |  Tel: +45 35 32 52 69      |  +45 35 86 19 74           |
    > > > |                  http://www.nbi.dk/~ouerdane            |
    > > > |                  ouerdane@nbi.dk                        |
    > > > o---------------------------------------------------------o
    > > >
    > > >
    > >
    > >
    > 
    > 
    



    This archive was generated by hypermail 2b30 : Fri Mar 08 2002 - 07:01:09 EST