Re: New BrRdoModuleZDC in brat

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Feb 08 2001 - 15:59:08 EST

  • Next message: Flemming Videbaek: "Re: New BrRdoModuleZDC in brat"

    Hi Michael, Andrei, Bjorn, Djamel, and others. 
    
    Uh. This database stuff I should probably drop you a note on. 
    
    On Thu, 8 Feb 2001 15:36:55 +0100 (CET)
    Djamel Ouerdane <ouerdane@nbi.dk> wrote
    concerning ": Re: New BrRdoModuleZDC in brat":
    > Hi Michael, Andrei and Bjorn.
    > 
    > It may help you to look at the software I've made for the TOF detector
    > calibration if you want to learn how to use the database. 
    
    You can also look at mult/{src,inc}/BrTileCalibration.{h,cxx} and how
    it's supposed to be used in mult/{src,inc}/BrTileRdoModule.{h,cxx}
    
    Notice how I store a parameterisation in the database. You could use
    something like that for the slewing correction function. 
    
    The database isn't currently used in BrTileRdoModule, because of lack
    of canonical database), so I put a stern warning in
    BrTileRdoModule::Init() to warn people about this. I suggest you do
    the same. 
    
    How to make the connections to the databases is fairly well documented
    in Djamels paper. You can also look at dbapp/BramCaliSession.cxx and
    dbapp/BramRecoSession. There you'll also see how to connect to the run
    database, etc. 
    
    > This stuff is in brahms_app/do_app. There's a ps file describing the
    > whole shebang! :)
    
    Many good things in brahms_app. 
    
    > In case you go through it, I can help you for questions or obscure things.
    
    Why don't you write to brahms-dev-l with any questions you may have,
    and between Djamel, Flemming, Kris, me and others, we can probably
    work it out. This has the additional benefiet of others seeing the
    questions and answers. Sort of an FAQ!
    
    I have one suggestion for you ZDC code. Could you not have a seperate
    module for the creation of the BrVertex from the ZDC data?, say
    BrZDCVertexModule inheriting from BrVertexModule, and put that in the
    vtx directory. Or could you at least put the BrVertex object directly
    in the BrEventNode rather then in BrRdoZDC, since that would make it
    sooooo much easier to put a BrRdoZDC object on a TTree branch. 
    
    Oh, and for Yury: couldn't  you make a seperate BrVertex object for
    the vertex, and put it directly in the BrEventNode. Same reasons as
    above, and for consistency. Also, I really think you should have a
    seperate module for the vertex, say BrBbVertexModule, inheriting from
    BrVertexModule, and put in directory vtx. 
    
    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 : Thu Feb 08 2001 - 16:00:29 EST