Hi, I have updated brat to version 2.22.7, tag BRAT-2-22-7. Changes (mainly): * BrMagnetVolume::GetSwimStatus : - fixed bug (radius squared business) + fixed an old issue about radius sign for D1. - the "fiducial point" now contains the distance to the nearest gap in X and Y (Z is still a coordinate, which is very handy for display purposes, see below). So, when you call BrMatchedTrack::GetFidPoint().GetX() or GetY(), if it is positive (negative), it means that the nearest point is inside (outside) the physical gap. Therefore, applying fiducial cuts is possible afterwards (e.g. from the DSTs) by checking the inequations fidpoint.X < cutX -> reject fidpoint.Y < cutY -> reject where cutX and Y are fiducial distances (e.g. the typical 1cm we use). I have added another display macro in brahms_app/do_app/track called d1swimDisplay.C It works like the older trackmatchDisplay.C except that it checks mainly the D1 swim status and vertex projection to the global plane X = 0 + BB plane. Very instructive, especially regarding the track vertex business of late ! :) Usage in bratroot (rcas is recommended for reading ltr files) : .L d1swimDisplay.C Init(<runno>, "ltr data location") // i'm not using the file catalog until // the AddFileSet works properly Event(<n>) // n is the number of FFS tracks to trig on repeat this one ad nauseam if you want or until eof. ZoominD1() // for closerly checking D1 ZoominVtx() // for zooming in on the vertex region Zoomout() // get back to large overview Finish() // for finishing cleanly to have the possibility to call Init() // again cleanly (another run, etc). Have fun :) Djam -- Djamel Ouerdane ------------------------------------------o | Niels Bohr Institute | 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 _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Fri Jul 30 16:41:15 2004
This archive was generated by hypermail 2.1.8 : Fri Jul 30 2004 - 16:41:33 EDT