important in magnet volume

From: Djamel Ouerdane (ouerdane@nbi.dk)
Date: Wed Jun 19 2002 - 21:38:48 EDT

  • Next message: Kris Hagel: "Re: important in magnet volume"

    Hi all,
    
    After having noticed some inconsistency in momenta from geant tracks 
    and reconstructed tracks, I checked the class BrMagnetVolume.cxx and 
    found out that the method FillMagnetParameters was wrong.
    
    All magnet currents and polarities were set with the one from D1 !!
    Now, I don't know if this very bad mistake really propagates if you set 
    the current and pol. in your program after you get the magnet volume from 
    the geo manager. Anyway, it is extremely bad. It's now fixed but I 
    haven't tagged brat. We probably should.  
    
    Djam
    
    -- 
    Djamel Ouerdane ------------------------------------------o
    |  Niels Bohr Institute      |  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 : Wed Jun 19 2002 - 21:39:54 EDT