Changeset 216 in svn for trunk/Utilities/Hector/src/H_BeamLine.cc
- Timestamp:
- Feb 2, 2009, 12:26:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/src/H_BeamLine.cc
r3 r216 68 68 } 69 69 70 void H_BeamLine::findIP(const string filename) {70 void H_BeamLine::findIP(const string& filename) { 71 71 findIP(filename,"IP5"); 72 72 return; 73 73 } 74 74 75 void H_BeamLine::findIP(const string filename, const stringipname) {75 void H_BeamLine::findIP(const string& filename, const string& ipname) { 76 76 // searches for the IP position in the extended table. 77 77 ifstream tabfile(filename.c_str()); … … 127 127 } 128 128 129 void H_BeamLine::fill(const string filename) {129 void H_BeamLine::fill(const string& filename) { 130 130 fill(filename,1,"IP5"); 131 131 return; … … 133 133 134 134 135 void H_BeamLine::fill(const string filename, const int dir, const stringipname) {135 void H_BeamLine::fill(const string& filename, const int dir, const string& ipname) { 136 136 string headers[40]; // table of all column headers 137 137 int header_type[40]; // table of all column types
Note:
See TracChangeset
for help on using the changeset viewer.