From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Mon Aug 04 2003 - 09:46:15 EDT
Brat was updated to 2.10.0 and tagged The major changes are descrived below Support for field Maps in modulematching As part of the study of the effect of D4 non-uniform map on tracking support for Usage of maps in Brat has been added. This is mainly done by changes to BrMagnetVolume, and BrModuleMatchTrack. To use the 'new' features you should include in a typical bratscript. //__________________________________________________________________ // Module: BrMagnetVolumeModule BrMagnetVolumeModule* magnetVolumeModule = new BrMagnetVolumeModule("D4", "D4 fieldmap setter"); mainModule->AddModule(magnetVolumeModule); magnetVolumeModule->SetFieldMap("/brahms/u/brahmlib/fldmap/d4_12kg.map"); The effect is that at the begin method an normalized fieldmap is read from the file specified. This is the only action of this module. The rest is done inside BrModuleMatchTrack. By evaluating a correction to the Bdl based on Entrance and exit point of any track in question. Note: n there is presently only one fieldmap namely D4 at full field, but the same one can be used for other settings. n -- There may be errors in the coding. The extensive testing was done using reading the initial magnet geometry from a geometry file, not from the DB. More information will come in an updated version of the note on D4 fields. Added feature in BrModuleMatchTrack To be able to use the matching module outside the standard packages it turn out to be usefull to be able To add the found i.e. BrMatchedTrack to the outputNode. This can be achieve by. BrModuleMatchTrack* fCombineT4T5 = new BrModuleMatchTrack("T4_T5", "T4 - T5 matching module", "T4", "T5", "D4"); fCombineT4T5->SetHistMomentumRange(25.); fCombineT4T5->SetStoreTracks(kTRUE); appendModule->AddModule(fCombineT4T5); BrModuleMatchTrack *fCombineT3T4 = new BrModuleMatchTrack("T3_T4", "T3 - T4 matching module", "T3", "T4", "D3"); fCombineT3T4->SetHistMomentumRange(25.); appendModule->AddModule(fCombineT3T4); The gcc 3.xx namespace issues for cout, setw,.. was fixed ,a dn checked out on the pii12. The makefile.am were fixed to replace $(DICTSOURCE) with specific list. I was not too difficult afterall using a shell+sed script. ------------------------------------------------------ Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov
This archive was generated by hypermail 2.1.5 : Mon Aug 04 2003 - 09:44:51 EDT