Geometry

From: Djamel Ouerdane (ouerdane@nbi.dk)
Date: Thu Aug 09 2001 - 17:05:28 EDT

  • Next message: Ian Bearden: "RE: Geometry"

    Hi all,
    
    I've checked in a root script in brahms_app/do_app/geo called
    drawGeo.C
    
    It is meant to be used for a quick consistency check (before we get the
    data survey) when tuning a geo file.
    
    I've added some geo and mag files for you to test this script.
    
    Here are the explanations included in the script:
    
    //--------------------------------------------------------------
    //  Macro to draw the geometry in the global coordinate system
    //  (Z,X) plane to speed up some fine tuning
    //
    //  You need first to create some geo files ala geant with
    //  the test application setgeometryfiles in the brat/test dir.
    //
    //  *****************************************************
    //  *** use the latest brat, old files won't be read  ***
    //  *** because of a missing space that fucks up the  ***
    //  *** reading process                               ***
    //  *****************************************************
    //
    //  Usage:
    //  in a root session, type:
    //
    //  .L drawGeo.C
    //  DrawGeo("<some geo file>", "<some mag file>",
    //          <canvas width>, <canvas height>, "<draw option>")
    //
    //  The default is 1200, 400, "" for the canvas and options
    //  if you choose "same", you will superimpose with previous
    //  plots.
    //
    
    You have first to update SetGeometryFiles.cxx in the brat/test dir to
    create some new geo files that this script can read properly.
    
    Hope this is useful
    
    Ciao
    Djam
    
    PS: you can have a glance at a typical plot here:
    
    http://www.nbi.dk/~ouerdane/geo.html
    
    -- 
    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 : Thu Aug 09 2001 - 17:06:06 EDT