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