00001
00002
00003
00004 #ifndef STJTPCTXT_H
00005 #define STJTPCTXT_H
00006
00007 #include "StjTPC.h"
00008
00009 #include <fstream>
00010 #include <string>
00011
00012 class StjTPCTxt : public StjTPC {
00013
00014 public:
00015 StjTPCTxt(const char* path);
00016 virtual ~StjTPCTxt() { }
00017
00018 StjTrackList getTrackList();
00019
00020 private:
00021
00022 std::ifstream _dataFile;
00023 long _currentEvent;
00024 std::string _oldLine;
00025
00026 ClassDef(StjTPCTxt, 1)
00027
00028 };
00029
00030 #endif // STJTPCTXT_H