Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Apr 19, 2024
1 parent 40f3d38 commit 8848093
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions edm4hep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -489,13 +489,13 @@ datatypes:
ExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Get the postion error value for the two passed dimensions\n
/// Get the position error value for the two passed dimensions\n
float getPositionError(edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) const { return getPositionError().getValue(dimI, dimJ); }\n
"
MutableExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Set the postion error value for the two passed dimensions\n
/// Set the position error value for the two passed dimensions\n
void setPositionError(float value, edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) { return getPositionError().setValue(value, dimI, dimJ); }\n
void setPositionError(std::array<float, 6> values) { getPositionError() = values; }
"
Expand All @@ -516,13 +516,13 @@ datatypes:
ExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Get the postion covariance matrix value for the two passed dimensions\n
/// Get the position covariance matrix value for the two passed dimensions\n
float getCovMatrix(edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) const { return getCovMatrix().getValue(dimI, dimJ); }\n
"
MutableExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Set the postion covariance matrix value for the two passed dimensions\n
/// Set the position covariance matrix value for the two passed dimensions\n
void setCovMatrix(float value, edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) { getCovMatrix().setValue(value, dimI, dimJ); }\n
void setCovMatrix(std::array<float, 6> values) { getCovMatrix() = values; }
"
Expand All @@ -547,13 +547,13 @@ datatypes:
ExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Get the postion covariance matrix value for the two passed dimensions\n
/// Get the position covariance matrix value for the two passed dimensions\n
float getCovMatrix(edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) const { return getCovMatrix().getValue(dimI, dimJ); }\n
"
MutableExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Set the postion covariance matrix value for the two passed dimensions\n
/// Set the position covariance matrix value for the two passed dimensions\n
void setCovMatrix(float value, edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) { getCovMatrix().setValue(value, dimI, dimJ); }\n
void setCovMatrix(std::array<float, 6> values) { getCovMatrix() = values; }
"
Expand Down Expand Up @@ -608,13 +608,13 @@ datatypes:
ExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Get the postion covariance matrix value for the two passed dimensions\n
/// Get the position covariance matrix value for the two passed dimensions\n
float getCovMatrix(edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) const { return getCovMatrix().getValue(dimI, dimJ); }\n
"
MutableExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Set the postion covariance matrix value for the two passed dimensions\n
/// Set the position covariance matrix value for the two passed dimensions\n
void setCovMatrix(float value, edm4hep::Cartesian dimI, edm4hep::Cartesian dimJ) { getCovMatrix().setValue(value, dimI, dimJ); }\n
void setCovMatrix(std::array<float, 6> values) { getCovMatrix() = values; }
"
Expand All @@ -631,7 +631,7 @@ datatypes:
- float charge // charge of the reconstructed particle
- float mass [GeV] // mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally
- float goodnessOfPID // overall goodness of the PID on a scale of [0;1]
- edm4hep::CovMatrix4f covMatrix // cvariance matrix of the reconstructed particle 4vector (10 parameters). Stored as lower triangle matrix of the four momentum (px,py,pz,E), i.e. cov(px,px), cov(py,##
- edm4hep::CovMatrix4f covMatrix // covariance matrix of the reconstructed particle 4vector (10 parameters). Stored as lower triangle matrix of the four momentum (px,py,pz,E), i.e. cov(px,px), cov(py,##
OneToOneRelations:
- edm4hep::Vertex startVertex // start vertex associated to this particle
- edm4hep::ParticleID particleIDUsed // particle Id used for the kinematics of this particle
Expand Down Expand Up @@ -783,13 +783,13 @@ datatypes:
ExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Get the postion covariance matrix value for the two passed dimensions\n
/// Get the position covariance matrix value for the two passed dimensions\n
float getCovMatrix(edm4hep::TrackerPulseDims dimI, edm4hep::TrackerPulseDims dimJ) const { return getCovMatrix().getValue(dimI, dimJ); }\n
"
MutableExtraCode:
includes: "#include <edm4hep/Constants.h>"
declaration: "
/// Set the postion covariance matrix value for the two passed dimensions\n
/// Set the position covariance matrix value for the two passed dimensions\n
void setCovMatrix(float value, edm4hep::TrackerPulseDims dimI, edm4hep::TrackerPulseDims dimJ) { getCovMatrix().setValue(value, dimI, dimJ); }\n
"

Expand Down
2 changes: 1 addition & 1 deletion utils/include/edm4hep/utils/cov_matrix_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace edm4hep {
namespace utils {

namespace detail {
// From c++23 this is functionality offerd by the STL
// From c++23 this is functionality offered by the STL
#if __cpp_lib_to_underlying
using to_index = std::to_underlying;
#else
Expand Down

0 comments on commit 8848093

Please sign in to comment.