#ifndef WIRECELLSST_GEOMETRYDATASOURCE
#define WIRECELLSST_GEOMETRYDATASOURCE

#include "WCPNav/GeomDataSource.h"

#include <istream>

namespace WCPSst {

    /**
       WCPSst::GeomDataSource - read in a Channel Wire Geometry database.


     */

    class GeomDataSource : public WCP::GeomDataSource {
       public:
        /// Read from an input stream containing content from ChannelWireGeometry.txt
        GeomDataSource(const char* filename = 0);
        virtual ~GeomDataSource();

        void load(std::istream& data);
    };

}  // namespace WCPSst

#endif
