@@ -60,7 +60,7 @@ void BFieldComponentQuad::initialize()
60
60
return ;
61
61
}
62
62
63
- // check if input files exsits
63
+ // check if input files exist
64
64
string fullPathMapHER = FileSystem::findFile (" /data/" + m_mapFilenameHER);
65
65
if (!FileSystem::fileExists (fullPathMapHER)) {
66
66
B2FATAL (" The HER quadrupole magnetic field map file '" << m_mapFilenameHER << " ' could not be found !" );
@@ -225,7 +225,7 @@ void BFieldComponentQuad::initialize()
225
225
m_l3 = proc3 (params_ler, p0_LER);
226
226
227
227
/* * In case several maps in the same position we can simply
228
- * sum up all matricies since magnetic field has superposition
228
+ * sum up all matrices since magnetic field has superposition
229
229
* properties as well as keep only one vector of parameters for each
230
230
* beamline
231
231
*
@@ -246,7 +246,7 @@ void BFieldComponentQuad::initialize()
246
246
};
247
247
merge (m_h3, hleak3);
248
248
249
- /* * calculate ranges where quadrupole lenses continously fill the
249
+ /* * calculate ranges where quadrupole lenses continuously fill the
250
250
* beamline
251
251
*
252
252
* @param v lense vector
@@ -300,7 +300,7 @@ void BFieldComponentQuad::initialize()
300
300
*
301
301
* @param ap the vector of lenses
302
302
* @param v the vector of ranges
303
- * @return the vector of iterators which points to the begining of the continous area of lenses
303
+ * @return the vector of iterators which points to the beginning of the continuous area of lenses
304
304
*/
305
305
auto associate_lenses = [](const vector<ParamPoint3>& ap, const ranges_t & v) {
306
306
vector<std::vector<ParamPoint3>::const_iterator> res;
0 commit comments