lcsim/src/org/lcsim/util/lcio
diff -u -r1.1 -r1.2
--- SIOStringVecBlockHandler.java 5 Mar 2009 02:44:17 -0000 1.1
+++ SIOStringVecBlockHandler.java 5 Mar 2009 02:53:18 -0000 1.2
@@ -4,7 +4,7 @@
import hep.io.sio.SIOOutputStream;
import java.io.IOException;
-import org.lcsim.event.FloatVec;
+import org.lcsim.event.StringVec;
/**
*
@@ -12,17 +12,17 @@
*/
class SIOStringVecBlockHandler extends AbstractBlockHandler
{
- public String getType() { return "LCFloatVec"; }
- public Class getClassForType() { return FloatVec.class; }
+ public String getType() { return "LCStrVec"; }
+ public Class getClassForType() { return StringVec.class; }
LCIOCallback addCollectionElements(LCIOEvent event, LCIOCollection collection, SIOInputStream in, int n, int version) throws IOException
{
for (int i = 0; i < n; i++)
- collection.add(new SIOFloatVec(in, collection.getFlags(), version));
+ collection.add(new SIOStringVec(in, collection.getFlags(), version));
return null;
}
void writeCollectionElement(Object element, SIOOutputStream out, int flags) throws IOException
{
- SIOFloatVec.write((FloatVec) element, out, flags);
+ SIOStringVec.write((StringVec) element, out, flags);
}
}