Picking up magnetic fields from db problems.

From: David Sandberg (sandberg@hilux06.nbi.dk)
Date: Wed Sep 25 2002 - 12:55:03 EDT

  • Next message: Djamel Ouerdane: "Re: Picking up magnetic fields from db problems."

    Tjena.
    
    When using Peters mrsgenerate to create kumac files I don't get the 
    correct values for the magnetic fields in D5. 
    
    Djamel on the other hand does pick up the correct values. 
    We are both using the same brat version. 
    
    And I don't understand why I should have any problem. The field is picked 
    up in pc_app/brag/mrsgenerate.cxx as
    
      BrMagnetVolume* d5 = (BrMagnetVolume*)geometryManager
        ->GetDetectorVolume("BrMagnetVolume", "D5");
      d5->SetCurrent(run->GetD5Set(), run->GetD5Pol());
      const Float_t d5field = d5->GetField();
    
    Any suggestions David.
    
    -- 
    _________________________
    | David Sandberg        |
    | Hosterkobgade 11 2Tv. |
    | 2200 Kobenhavn N      | 
    | tel: (+45) 35 82 93 80|
    | email: sandberg@nbi.dk|
    -------------------------
    



    This archive was generated by hypermail 2b30 : Wed Sep 25 2002 - 13:36:38 EDT