RE: Geometry

From: Ian Bearden (bearden@nbi.dk)
Date: Fri Aug 10 2001 - 00:08:10 EDT

  • Next message: Ion-Sorin Zgura: "tcped - wrong ?"

    Hi Djam,
    thanks for the plots.  I think that you can see from your first plot the
    problem I was bithcing about.  Namely, the FFS and BFS are misaligned. I
    think one workaround is to run SetGeometryFiles -f 6, look at the result,
    find the angle of T2, and then
    run SetGeometryFiles -f 6 -g <t2 angle> .  I will check this with the cool
    new
    drawGeo.C to find out if I am correct.
    Nice job, D,
    -Ian
    
    > -----Original Message-----
    > From: owner-brahms-soft-l@bnl.gov [mailto:owner-brahms-soft-l@bnl.gov]On
    > Behalf Of Djamel Ouerdane
    > Sent: Thursday, August 09, 2001 11:05 PM
    > To: brahms-soft-l@bnl.gov
    > Subject: 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 : Fri Aug 10 2001 - 00:09:47 EDT