IAP GITLAB

Skip to content
Snippets Groups Projects
Commit cc3ff0b8 authored by Nikos Karastathis's avatar Nikos Karastathis :ocean: Committed by Maximilian Reininghaus
Browse files

set weight to 1 for now

parent 119fccc0
No related branches found
No related tags found
1 merge request!426Resolve "Cascade: Problems with Multiple Scattering (in combination with tracking)"
......@@ -51,7 +51,7 @@ namespace corsika {
Vector const displacement = pointOfIntersection - plane_.getCenter();
// add our particles to the output file stream
double const weight = step.getParticlePre().getWeight(); // particle.getWeight()
double const weight = 1.; // step.getParticlePre().getWeight();
this->write(step.getParticlePre().getPID(), energy, displacement.dot(xAxis_),
displacement.dot(yAxis_), 0_m, step.getTimePost(), weight);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment