lcio/src/cpp/src/UTIL
diff -N CellIDDecoder.cc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ CellIDDecoder.cc 27 Mar 2006 14:11:10 -0000 1.1
@@ -0,0 +1,14 @@
+#include "UTIL/CellIDDecoder.h"
+
+namespace UTIL{
+
+ export template <class T>
+ std::string* CellIDDecoder<T>::_defaultEncoding
+ = new std::string("byte0:8,byte1:8,byte2:8,byte3:8,byte4:8,byte5:8,byte6:8,byte7:8") ;
+
+ export template <>
+ std::string* CellIDDecoder<SimTrackerHit>::_defaultEncoding
+ = new std::string("byte0:8,byte1:8,byte2:8,byte3:8") ;
+
+
+}
lcio/src/cpp/include/UTIL
diff -u -r1.2 -r1.3
--- CellIDDecoder.h 22 Mar 2006 11:52:46 -0000 1.2
+++ CellIDDecoder.h 27 Mar 2006 14:11:11 -0000 1.3
@@ -21,7 +21,7 @@
* See UTIL::BitField64 for a description of the encoding string.
*
* @see BitField64
- * @version $Id: CellIDDecoder.h,v 1.2 2006/03/22 11:52:46 gaede Exp $
+ * @version $Id: CellIDDecoder.h,v 1.3 2006/03/27 14:11:11 gaede Exp $
*/
template <class T>
class CellIDDecoder {
@@ -114,10 +114,9 @@
return *_b ;
}
- template <class T>
- std::string* CellIDDecoder<T>::_defaultEncoding
- = new std::string("byte0:8,byte1:8,byte2:8,byte3:8,byte4:8,byte5:8,byte6:8,byte7:8") ;
-
+ template <>
+ std::string* CellIDDecoder<SimTrackerHit>::_defaultEncoding ;
+
} // namespace
#endif