Hi all, In order to make my work a bit more convenient, I went further with the global tracking offset story. I wrote a simple module that one can put before any global tracking modules in the main module (this should be used only for production in the bratmain context). This module will read the offset file created earlier (cf. http://www.sdcc.bnl.gov/brahms/private/list_hyper/brahms-l/1541.html ) given the run number passed in the command aruguments. The stuff is located in brahms_app/do_app/track There are: CopyDetectorTrack.{cxx,h} (I guess many among you have it) BrMatchingOffsetModule.{cxx.h} Makefile a lib is created libTrackUtil.so example.C -> bratmain script offset5361_5791.MRS -> "ascii DB" for offsets and widths Take a look at the script, it's very easy. This example can be extended to FFS if one has the right offset file (same format). For the moment, if a run is not found in the offset file, the job gives up. It really means that you should have all the runs you wanna go through in this file (not as smart as the Sql data base :) If you want to use it, you're welcome also to complete the offset file with more run parameters. This really allows a fast production job for recontruction over many runs :) 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 2b30 : Tue Feb 05 2002 - 16:40:37 EST