Hello, This is to let you know that I made some additions and modifications to BRAT. The main addition that I added is a class called BrPhDSEvent. This takes the concept of BrTrackTree one step further and is to work on Physics data only. It is actually a direct model of the root example event class. The class BrParticle is actually almost like the root example track class. So the main part of the BrPhDSEvent is a TClonesArray of BrParticles. Once a tree is made like this, it can be sorted in the usual tree way. Like many things I do, this is a first iteration and interested parties can look at it and see what else needs to go in. I tested it and looked at 1/p vs tof and got the impression that the BrPhDSEvent is at least working, but since I do not have access to the tof calibrations, I got garbage. Djamel was going to submit something (estimated 4-5 days 1.5 weeks ago), but I have not seen it. Once that is in, it can be tested in earnest and I think used. Any comments are welcome especially since most of us will be together next week. The other additions concern the MySQL mode for the geometry db. I depreciated BrDbMagnetVolume. It is no longer (for the moment) used to build BrMagnetVolume in the MySQLMode of BrGeometryDbManager. I left it in BRAT because it might well serve as a nice placeholder if we want to have some other magnet info. I did this for two reasons. One is that Flemming and Christian advised me to as BrDbMagnetVolume and BrDbDetectorVolume are nearly the same. The other is that I was forced (kind of) into it because BrMRSPid has a fD5Vol which is a BrDetectorVolume and a fD5Mag which is a BrMagnetVolume. I am a little mystified as to why one needs both since BrMagnetVolume inherits from BrDetectorVolume. But so be it. Anyway, this made the MySQLMode of BrGeometryDbManager crash a horrible death. So I made it so that both could be done. Now what will happen is if you get a magnet as a BrDetectorVolume, it will fill the BrDetectorVolume part of BrMagnetVolume. And as usual if you get a magnet as a BrMagnetVolume, it is filled correctly. A bunch of the other Db files were modified to support these changes. I also plan (but have not done so yet) to remove BrRecoModule and things that use it. I have decided that Christian's BrMainModule does everything I need. I have liked the concept from the beginning and at first wanted to extend it, but have decided to use it as is. (Especially since it is less work for me) Enjoy and let me know if there are problems. Kris
This archive was generated by hypermail 2b29 : Fri Apr 20 2001 - 18:39:27 EDT