Re: Fw: Geo files

From: Kris Hagel (hagel@CyclotronMail.tamu.edu)
Date: Fri Dec 14 2001 - 10:51:04 EST

  • Next message: Christian Holm Christensen: "Re: Fw: Geo files"

    Hello,
    In regards to below, the geometry DB is in principle available.  I have texted 
    it extensively and Jens Ivar has tested it independently.  Him and I iterated 
    several times.  Unfortunately, he did not have time to come back to it after our 
    last iteration, but indicated in a mail message that he was confident that it 
    was "good enough" for release to get comments from a wider audience.  To use it, 
    all you need to do is:
    BrGeometryDbManager *gGeoDb = BrGeometryDbManager::Instance(); 
    gGeoDb->SetDbModeMySQL();
    
    The first statement is the standard thing we always do.  The second replaces the 
    SetDbFile method of BrGeometryDbManager.
    
    To use the above, you must connect with the BrahmsGeom database.  This is done 
    in the following way:
    BrGeometriesDb *geoDb  mainDb->ConnectToGeom();
    geoDb->SetUserName("query");
    geoDb->Connect();
    
    Keep in mind that you must connect to the run db and select a run.  This is used 
    extensively to obtain the proper settings from the geometry db.  That should not 
    be an issue since I think most analysis now requires connection to the run db.
    
    So, give it a try and give me any feed back.  We are in the midst of a NIMROD 
    run, so response (especially if I need to fix something) might not be as fast as 
    is optimal, but I will do my best.  As usual, if you find something wrong, it 
    would help me if you provide as many details as possible.
    
    Regards
    
    Kris
    
    
    Quoting Djamel Ouerdane <ouerdane@nbi.dk>:
    
    > Hi Flemming,
    > 
    > The geometry for D3 and D4 was provided by Pawel. For D2, I got it a
    > long 
    > time ago from Ian. 
    > 
    > I have then this question: are the files I created a long time ago 
    > {Geometry,Magnet}.dat up to date ? 
    > 
    > If yes, we should all create geo files from these reference files. 
    > I know some do.
    > 
    > If not, we should update them to the best of our knowledge (like we 
    > do with DetectorParameters.txt) unless the geometry DB is available 
    > (which would avoid all this mess).
    > 
    > Ciao
    > Djam
    > 
    > -- 
    > Djamel Ouerdane ------------------------------------------o
    > |  Niels Bohr Intstitute     |  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 Dec 14 2001 - 10:51:41 EST