Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbattistini committed Nov 27, 2023
1 parent 804caef commit b5b0a21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ cats/**/bin
build/**
fempy.egg-info/**

fempy/sim/alice3/geom/*
fempy/sim/alice3/geom/*
5 changes: 3 additions & 2 deletions fempy/sim/alice3/ComputeInvMass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ particle BuildMother(int pdg, particle p1, particle p2) {
particle piSoft = p2;

if (std::abs(piSoft.mother1pdg) == 413 || piSoft.mother1idx > 0 || piSoft.mother2idx == 0) {
particle mother(
{piSoft.mother1pdg, (u_int64_t)piSoft.mother1idx, 0, 0, 0, Dzero.p + piSoft.p, Dzero.t_p + piSoft.t_p, 0, 0, 0});
particle mother({
piSoft.mother1pdg,
(u_int64_t)piSoft.mother1idx, 0, 0, 0, Dzero.p + piSoft.p, Dzero.t_p + piSoft.t_p, 0, 0, 0});
return mother;
}
}
Expand Down

0 comments on commit b5b0a21

Please sign in to comment.