BRAT Updates - 1.16.3

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Sat Jun 02 2001 - 12:56:43 EDT

  • Next message: Stephen J. Sanders: "cvs checkout problem"

    Hi BRATs, 
    
    Ok. Many updates commited to BRAT. 
    
        Version: 1.16.3 
        CVS Tag: BRAT-1-16-3 
    
    I stuck within 1.16, since some classes needd a bit checking, before
    they are truely production code. 
    
    Changes:
    --------
    
    * BrMultRdoModule:
      New abstract base class (ABC) for Br[Tile|Si]RdoModule.  Since these
      two classes had very much in common, I decided to make a base class
      for this, since then the code will only be in one module, hence
      easing the maintainance. 
    
    * BrMultParameters:
      Base Class (BC) for Br[Tile|Si]Parameters.  Rational as above. 
    
    * BrMultCalibration:
      Base Class (BC) for Br[Tile|Si]Calibration.  Rational as above. 
    
    * BrMultRdo: 
      Common data class for TMA and SMA reconstructed data.  It contains
      two TClonesArray of nested classes BrMultRdo::BrSingle and
      BrMultRdo::BrRing.  This class should be ideal for putting as a
      branch of a TTree. 
    
    * BrTileRdo and BrSiRdo: 
      These classes are obsolete and removed.  Use BrMultRdo instead. 
    
    * BrTileParameters and BrSiParameters: 
      Now inherits from BrMultParameters, which takes care of most
      things.  The SMA class has additional wafer information, and the TMA
      class has additional TDC information. 
    
    * BrTileCalibration and BrSiCalibration (as well as the
      Br[Tile|Si]TmpCalibration): 
      Inherits from BrMultCalibration. 
    
    * BrRdoModuleBB and BrRdoBB: 
      Clean up the module a bit (no algorithmic changes), and clean up the
      List method of BrRdoBB.  All classes should use the Print(Option_t*
      option) const method, since that is defined for TObject.  Name of
      histogram directory is the name of the module (e.g., "BB"). 
    
    * BrRdoModuleZDC:
      Clean up the code a bit (no algorithmic changes), and introduced
      three histograms for diagnostics.  Name of histogram directory is
      the name of the module (e.g., "ZDC").  Added CVS keywords. 
    
    * BrModuleContainer: 
      Changed to use a TOrdCollection rather than a TObjArray, since this
      allows us to use a better and more flexible insertion semantics.  In
      essence this means that you can insert a module into a container
      where ever you like.  This is extremly usefull in combination with
      Packages.  New methods of this class is 
    
         Int_t      AddModuleAt(BrModule* module, Int_t at)
         Int_t      AddModuleLast(BrModule* module)
         Int_t      AddModuleFirst(BrModule* module)
         Int_t      AddModuleAfter(BrModule* after, BrModule* module)
         Int_t      AddModuleBefore(BrModule* before, BrModule* module)
         BrModule*  FindModule(BrModule* module); 
         BrModule*  FindModule(const Char_t* name); 
         BrModule*  ModuleAt(Int_t at); 
    
      See also brahms_app/cholm_app/jobs/global/GlbConfig.C 
    
    * BrModule: 
      Fixed it so the kShowFailures < kShowStop, since a higher verbosity
      should give more and more less critical output. 
    
    * BrDataObject: 
      Added method Print(Option_t* option="") const 
    
    * BrCreatorID: 
      Added method Print(Option_t* option="") const, and now also get user
      id - where avaliable, uses TDatime rather than time_t, uses TString
      rather than TNamed.  Note that this class is not actively used. 
    
    * BrDataTable, BrEventNode, and BrEvent: 
      Added method Print(Option_t* option="") const with option to print
      all nested objects (via thier classes Print method). 
    
    * BrRawDataInput: 
      Made debugging and verbose output a bit more meaning full. 
    
    I'd like to have a base class for Br[Tile|Si]CentModule which should
    be called BrMultCentModule - unfortunally, the current class called
    that is in the way.  Also, a base class for Br[Tile|Si]CentCalModule
    would be in order. And finally, it'd probably be a good thing if we
    could unify BrTileDig and BrSiDig in the style of BrMultRdo. 
    
    Also, I've updated my brahms_app area.  In paritcular the GlbPackage
    and corresponding configuration script.  Also, my user modules etc are
    now build using Autotools.  See 
    
      brahms_app/cholm_app/jobs 
    
    If you haven't gotten the Elisp functions yet, I strongly recommend
    you do.  Go get 'em from 
    
      http://pii3.brahms.bnl.gov/~brahmlib/brat/elisp 
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b29 : Sat Jun 02 2001 - 12:57:54 EDT