Skip to content
Snippets Groups Projects
Commit f5a3ac29 authored by Marshall Scott's avatar Marshall Scott
Browse files

Changed pid function 3

parent 499bd8e4
No related branches found
No related tags found
1 merge request!37Fix pions
This commit is part of merge request !29. Comments created here will be created in the context of that merge request.
...@@ -70,7 +70,7 @@ void emcal_barrel_pions_electrons_analysis(const char* input_fname = "sim_output ...@@ -70,7 +70,7 @@ void emcal_barrel_pions_electrons_analysis(const char* input_fname = "sim_output
// Returns the pdgID of the particle // Returns the pdgID of the particle
auto getpid = [](std::vector<dd4pod::Geant4ParticleData> const& input) { auto getpid = [](std::vector<dd4pod::Geant4ParticleData> const& input) {
std::vector<double> result = {input[2].pdgID, input[3].pdgID}; std::vector<int> result = {input[2].pdgID, input[3].pdgID};
return result; return result;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment