Minutes of the 15 Oct 2002 meeting =================================== (present: Tayfun, Tamara, and Michel) - Tamara and Tayfun are continuing there study of the Athena code. They have gone through the "Athena Cookbook" tutorial (now on our web site) , and can now produce pedestals and standard ntuples. It was noted that care must be taken to use the right pedestal file: the code runs just fine with a pedestal file corresponding to the wrong run number. - Tamara and Tayfun are looking forward to Margret's second chapter of the "Athena Cookbook"! - The LArDigitalFiltering package is robust, and allow for much exploration of the timing features of the data. Michel has produced some preliminary synchronization of a weights file provided by Pavol, and correspondence has been distributed to our group. You are all invited to look at the relevant file at /afs/cern.ch/user/l/lefebvre/public/tb/dig The plan is to soon make the weights and its synchronization public, if it works... - Michel discussed the usefulness of STL multimaps. A hopefully useful example can be found below. #include #include #include main() { multimap m; typedef multimap::value_type map_type; // // insert some names, keyed by their age m.insert(map_type(4, "bob")); m.insert(map_type(3, "joe")); m.insert(map_type(6, "jim")); m.insert(map_type(4, "dan")); m.insert(map_type(4, "rob")); m.insert(map_type(4, "tom")); m.insert(map_type(7, "sue")); m.insert(map_type(7, "tod")); // cout << "number of elements = " << m.size() << endl; // for (int key = 0; key < 10; key++) { cout << "number of elements with key = " << key << " is " << m.count(key) << endl; if (m.count(key) > 0) { for (multimap::iterator it = m.find(key); it->first == key; ++it) { cout << it->second << endl; } } } return 0; } This code produces the following output: number of elements = 8 number of elements with key = 0 is 0 number of elements with key = 1 is 0 number of elements with key = 2 is 0 number of elements with key = 3 is 1 joe number of elements with key = 4 is 4 bob dan rob tom number of elements with key = 5 is 0 number of elements with key = 6 is 1 jim number of elements with key = 7 is 2 sue tod number of elements with key = 8 is 0 number of elements with key = 9 is 0