File indexing completed on 2025-01-30 10:30:45
0001
0002 #include <vector>
0003
0004 #ifndef _TOF_PET_MULTI_COLUMN_
0005 #define _TOF_PET_MULTI_COLUMN_
0006
0007 class TofPetMultiColumn {
0008 public:
0009 TofPetMultiColumn(const char *fname, char delimiter = ' ');
0010 ~TofPetMultiColumn();
0011
0012 unsigned GetDataPointCount( void ) const { return mData.size(); };
0013 std::vector<std::pair<double, double> > GetDataPoints(unsigned c1, unsigned c2);
0014 std::vector<double> GetDataPoints(unsigned c1);
0015
0016 private:
0017 unsigned mColumnCount;
0018
0019 std::vector<std::vector<double> > mData;
0020 };
0021
0022 #endif