Brag problem

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Wed Apr 30 2003 - 13:08:37 EDT

  • Next message: Jens Ivar Jordre: "Re: Brag problem"
    I guess I cannot bring my self to use the term 'howdy y'all' - on ther other hands my scripts aren't called foobar
    since I happen to know what it stands for and have higher standards.
    
    Anyhow,
    problems solved in a few steps.
    a) take Jens Ivar clue that it goes wrong in GFVOLU
    b) turn bedug on "vector/input debug 0 0 0 0 1
    c) notice the npar ishape is retured as 0 . BAD.
    d) check what geant think 
        cont/print volu 173  
       Gives back npar ==35 !
    e) AHA -> param is defined as param(15) - oh yack
    d) change to 35 - should really have changed cdat format too, but no-one
        (I hope) uses the volu params saved.
    f) recompile, link and run again- test ok
    g) DECLARE VICTORY
    h) check-in as brat-2-1-4
    
    PS. The pro was caught by the fact the internal param in geant is NOT the same as those
    used when defining volumes - a fact that was exposed since the rich as active TRAP volumes;
    demonstrating the old fact the even well running programs has bugs that may eat you or at least
    sting you one day.
    
    
    
    
    ------------------------------------------------------
    Flemming Videbaek
    Physics Department
    Brookhaven National Laboratory
    
    tlf: 631-344-4106
    fax 631-344-1334
    e-mail: videbaek@bnl.gov
    


    This archive was generated by hypermail 2.1.5 : Wed Apr 30 2003 - 13:04:49 EDT