3 #include "StjEEMCTxt.h"
22 StjTowerEnergyList StjEEMCTxt::getEnergyList()
28 vector<string> currentLines;
30 while(!_dataFile.eof()) {
36 getline(_dataFile, line);
39 istringstream ist(line);
43 if (_currentEvent != i) {
48 currentLines.push_back(line);
51 StjTowerEnergyList ret;
53 for(vector<string>::const_iterator it = currentLines.begin(); it != currentLines.end(); ++it) {
54 istringstream ist(*it);
77 TVector3 tower(x, y, z);
78 dep.towerR = tower.Perp();
79 dep.towerEta = tower.Eta();
80 dep.towerPhi = tower.Phi();