Some small changes has been made to brat. Some are purely cleanup of cvs comments, and are not listed below. The relevant changes is to the BrMagnetVolume class. - The internal data structure were changes. It stored Bdl and B but not dl. This is not good when B is 0 and you try to evaluate l e.g. in some places. - The code now stores the front and back effective edge and the field (this is also the data in the mag files) - some methods were added to set these and get these. - The readfrom file as well as swimback was modified accordingly. - A method SwimForward() was implemented - it is like SwimBack() apart from proper sign changes. - A test program TestMagnetVolume.cxx was added to the testsuite to checkout some of the aspects in the class e.g. by swimming back and forth. This is trivial right now, but can be important once field maps are added. I do not suspect this should have any effect of other code. The GetBdl() method , the only used as far as I can tell in tracking is still there. ------------------------------------------------------ Dr. Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 e-mail: videbaek@bnl.gov
This archive was generated by hypermail 2b29 : Thu Nov 16 2000 - 11:33:13 EST