Skip to content
Snippets Groups Projects
Commit cc86cb9a authored by Alex Jentsch's avatar Alex Jentsch Committed by Alex Jentsch
Browse files

Fixed typo(s).

parent e24c2728
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,18 @@ void b0_tracker_hits(const char* fname = "./sim_output/sim_forward_protons.root"
return result;
};
auto x_pos_disk_1 = [&](const std::vector<std::array<double, 2>>& xypos) {
auto local_position = [&](const std::vector<dd4pod::TrackerHitData>& hits) {
std::vector<std::array<double, 2>> result;
for (const auto& h : hits) {
auto pos0 = (h.position);
result.push_back({pos0.x , pos0.y});
}
return result;
};
auto x_pos = [&](const std::vector<std::array<double, 2>>& xypos) {
std::vector<double> result;
for (const auto& h : xypos) {
......@@ -55,7 +66,7 @@ void b0_tracker_hits(const char* fname = "./sim_output/sim_forward_protons.root"
return result;
};
auto y_pos_disk_1 = [&](const std::vector<std::array<double, 2>>& xypos) {
auto y_pos = [&](const std::vector<std::array<double, 2>>& xypos) {
std::vector<double> result;
for (const auto& h : xypos) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment