Changes to BRAT

From: Kris Hagel (hagel@comp.tamu.edu)
Date: Tue Apr 16 2002 - 11:33:32 EDT

  • Next message: Claus O. E. Jorgensen: "Rich Mass vs. Mass^2"

    Hello,
    I have committed some changes to the BRAT repository.  They are 
    semi-major (internally; you should notice no functional change), so the 
    revsion number was bumped to 2.3.8
    
    Changes committed.
    brat/db/run
    1. Add and implement BrDbConditionsKeithley.  This is a general class 
    for those tables in the RunDB.  To get data for specific measurements 
    (ie Hall probe values), it is necessary to know which channel of  which 
    unit has the measurement you are interested in and select on that.
    2. Modify BrRunsDb and BrRdbmRunsDb to implement access to 
    BrDbConditionsKeithley
    
    brat/db/geometry
    1. Major surgery on MySQL mode of BrGeometryDbManager to reflect more 
    the style of other db managers.  In particular it is now possible in 
    MySQL mode to do geoDb->Update() and the detector volumes will be 
    updated according to which run has been selected.  Much of the code for 
    building detector and magnet volumes in MySQL mode has been moved from 
    here to the detector and magnet volume code.  No change in functionality 
    and it should be COMPLETELY backward compatible with no changes 
    necessary to existing code.
    2. Major surgery on BrDetectorVolume.  Change to reflect changes to 
    BrGeometryDbManager in MySQL mode.  In particular, the access of the Db 
    is now done from here.  Also, add Update() method which gets used from 
    BrGeometryDbManager.
    3. Major surgery on BrMagnetVolume.  Change to reflect changes to 
    BrGeometryDbManager in MySQL mode.  In particular, the access of the Db 
    is now done from here.  Add Update() method which gets used from 
    BrGeometryDbManager.
    4. Imlement a list of hall probe readings in BrMagnetVolume.  This is a 
    TObjArray of BrDbConditionsKeithley objects which were selected based on 
    the start and end time of the selected run.  The field will be set to 
    the field corresponding to the first hall probe reading.  The routine 
    that does this is currently empty.  The field is still set according to 
    the current as before. Once I have the calibration from Ramiro and we 
    decide exactly how this is to be done as well as how to handle analysis 
    of runs before the hall probe reading was implemented, this routine will 
    be filled and will actually set the field to the field that corresponds 
    to the hall probe reading at the given time.  REMEMBER, for the time 
    being, the field is still being set according to the current reading.
    
    brat/util
    1. Beautify the ostream output of BrVector3D and BrRotMatrix.
    
    Enjoy these new changes.  Enjoyment is defined for the moment as not 
    noticing them.  If you notice something behaving different, let me know 
    ASAP.  I have tested extensively, but you never know.
    
    Regards
    
    Kris
    



    This archive was generated by hypermail 2b30 : Tue Apr 16 2002 - 11:26:30 EDT