Brahms, Here is a message I sent to Flemming. Flemming, by the way the code still doesn't work when I generated a new cdat file. I have found the problem when working from BrGeantInput. A structure named fHits is being fill. fHits holds the DetectorID. This ID is read in from the cdat file. T1's ID is 1. in BrGeantInput, this ID is used as the index for an array of DataTables. index = 0 refers to the DataTable for T1. So DetectorID -1 = index. BrGeantInput does this index = DetectorID -1 if (index < 0 ) { index++; } now DetectorID = 0 amd DetectorID = 1 are being stored in the T1 DataTable!!!!!! With element numbers above 14, detector 0 information will break the reconstruction code. Furthermore, detector 0 doesn't refer to anything that I can figure out. Does anyone know where the DetectorID's get set? Erik _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l_at_lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Tue Jul 18 2006 - 23:36:50 EDT
This archive was generated by hypermail 2.2.0 : Tue Jul 18 2006 - 23:37:06 EDT