Commit in projects/lcdd/trunk on MAIN
include/lcdd/hits/CalorimeterHitMap.hh+63000 -> 3001
src/lcdd/hits/CalorimeterHitMap.cc+43000 -> 3001
+10
2 modified files
add size method

projects/lcdd/trunk/include/lcdd/hits
CalorimeterHitMap.hh 3000 -> 3001
--- projects/lcdd/trunk/include/lcdd/hits/CalorimeterHitMap.hh	2014-02-14 22:58:13 UTC (rev 3000)
+++ projects/lcdd/trunk/include/lcdd/hits/CalorimeterHitMap.hh	2014-02-14 22:59:03 UTC (rev 3001)
@@ -48,6 +48,12 @@
     CalorimeterHit* get(const Id64bit& id);
 
     /**
+     * Get the size of the map.
+     * @return The size of the map.
+     */
+    int size();
+
+    /**
      * Clear all entries from this hit map.
      */
     void clear();

projects/lcdd/trunk/src/lcdd/hits
CalorimeterHitMap.cc 3000 -> 3001
--- projects/lcdd/trunk/src/lcdd/hits/CalorimeterHitMap.cc	2014-02-14 22:58:13 UTC (rev 3000)
+++ projects/lcdd/trunk/src/lcdd/hits/CalorimeterHitMap.cc	2014-02-14 22:59:03 UTC (rev 3001)
@@ -20,3 +20,7 @@
 void CalorimeterHitMap::clear() {
     _map.clear();
 }
+
+int CalorimeterHitMap::size() {
+    return _map.size();
+}
SVNspam 0.1


Use REPLY-ALL to reply to list

To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1