Skip to content
Snippets Groups Projects
Commit 0c0f9dda authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: rm dd4pod includes u_omega

parent c15523a7
Branches
No related tags found
1 merge request!196fix: rm DD4pod in cxx macros
This commit is part of merge request !196. Comments created here will be created in the context of that merge request.
......@@ -16,7 +16,6 @@ R__LOAD_LIBRARY(libfmt.so)
R__LOAD_LIBRARY(libedm4eic.so)
#include "dd4pod/Geant4ParticleCollection.h"
#include "edm4eic/TrackParametersCollection.h"
#include "edm4eic/ClusterCollection.h"
#include "edm4eic/ReconstructedParticleCollection.h"
......@@ -34,14 +33,6 @@ auto p_track = [](std::vector<edm4eic::TrackParametersData> const& in) {
};
auto pt = [](std::vector<dd4pod::Geant4ParticleData> const& in){
std::vector<float> result;
for (size_t i = 0; i < in.size(); ++i) {
result.push_back(std::sqrt(in[i].ps.x * in[i].ps.x + in[i].ps.y * in[i].ps.y));
}
return result;
};
auto momentum = [](std::vector<ROOT::Math::PxPyPzMVector> const& in) {
std::vector<double> result;
for (size_t i = 0; i < in.size(); ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment