Hi all, BrMagnetVolume and BrFFTrackingModule were updated and changes committed: BrMagnetVolume -------------- Constructors : Set field value to 9999 in the constructor. ReadASCIIFile: if sscanf returns 0 when trying to read the line containing "Field (kG) = ...", it goes back to the end of the previous line and reads the rest of the file normally. So if you have a dummy value, REMOVE THIS LINE (cf comments on BrFFSTrackingModule) It will also ignore all files ending by .geo since we agreed some time ago that the magnet info should be in a .mag file (so for users using very old geo file, you have to migrate the stuff into the .mag file) BrFFSTrackingModule ------------------- Added some diagnostic histograms (consistency checks between front and back tracks of accepted global tracks) set the right track status resulting from the ghostbusting in the combine module Removed the wrappers #ifdef _USE_DB_ ... #endif The method UpdateMagnetField is now SetMagnetFields (could be called CheckMagnetFields). There's a check that the field value is not 9999. If not, then does nothing. It assumes that the user has set the field elsewhere (e.g. by reading a mag file). That's why it's important to have a good value in this file if you use it. Otherwise, remove the field value line of this file. If the value is 9999, then get the value from the database. If the user is not connected to it, the program stops. I know that the use of the .mag file will become obsolete very soon. But for users doing "old-fashioned" analyses, it is important to know about this update. Ciao Djam -- 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 2b29 : Thu Jun 21 2001 - 06:11:34 EDT