Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed two bug for the GeantinoRecording #276

Merged
merged 9 commits into from
Jun 24, 2020

Conversation

Corentin-Allaire
Copy link
Contributor

Solved two bug related to Geantino scan.

The first one in RunSimGeantinoRecording.cpp was related to writer being set using a variable hat had already been moved.

The second to the fact that the type written by the EventAction didn't match the one wrtote by the writer. In addition the recorded material where not deleted from one event to the other.

@Corentin-Allaire Corentin-Allaire added Bug Something isn't working Component - Examples Affects the Examples module Impact - Major Significant bug and/or affects a lot of modules labels Jun 22, 2020
@acts-issue-bot acts-issue-bot bot removed the Triage label Jun 22, 2020
Copy link
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go in, as G4 anyway deals with non-const EventActions I don't mind that clear() statement in the retrieval call.

@asalzburger
Copy link
Contributor

I triggered the rebuild for debug to see if it runs through.

@Corentin-Allaire
Copy link
Contributor Author

Good to go in, as G4 anyway deals with non-const EventActions I don't mind that clear() statement in the retrieval call.

It used to be like that on gitlab but was changed afterward so I just reverted back to that. If we want we could discuss how to change it.

@codecov
Copy link

codecov bot commented Jun 23, 2020

Codecov Report

Merging #276 into master will increase coverage by 3.53%.
The diff coverage is 52.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #276      +/-   ##
==========================================
+ Coverage   44.84%   48.38%   +3.53%     
==========================================
  Files         376      318      -58     
  Lines       18866    16366    -2500     
  Branches     8970     7586    -1384     
==========================================
- Hits         8461     7918     -543     
+ Misses       4905     3180    -1725     
+ Partials     5500     5268     -232     
Impacted Files Coverage Δ
...e/include/Acts/EventData/SingleTrackParameters.hpp 75.00% <ø> (+2.14%) ⬆️
...Acts/EventData/detail/initialize_parameter_set.hpp 81.81% <ø> (ø)
...include/Acts/TrackFinder/CKFSourceLinkSelector.hpp 46.37% <ø> (-1.45%) ⬇️
Core/include/Acts/Utilities/Helpers.hpp 58.90% <ø> (ø)
...nclude/Acts/Vertexing/TrackDensityVertexFinder.hpp 75.00% <ø> (ø)
Core/src/Geometry/CutoutCylinderVolumeBounds.cpp 40.29% <0.00%> (ø)
Core/src/Material/SurfaceMaterialMapper.cpp 10.20% <0.00%> (ø)
Core/src/Material/VolumeMaterialMapper.cpp 11.69% <0.00%> (ø)
...lude/Acts/Visualization/EventDataVisualization.hpp 40.00% <30.00%> (-2.47%) ⬇️
Core/src/Visualization/GeometryVisualization.cpp 34.51% <34.51%> (ø)
... and 77 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4acad15...ca65f8a. Read the comment docs.

@Corentin-Allaire Corentin-Allaire added this to the v0.27.00 milestone Jun 23, 2020
@asalzburger asalzburger merged commit a491dc1 into acts-project:master Jun 24, 2020
paulgessinger pushed a commit to paulgessinger/acts that referenced this pull request Jul 13, 2020
* fixed two bug for the GeantinoRecording

* format

* format

* move the m_materialTracks.clear() into EventAction::clear()

* put back the mapper as they where...

* put the return back

* removed commented line

* format

Co-authored-by: Moritz Kiehn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Component - Examples Affects the Examples module Impact - Major Significant bug and/or affects a lot of modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants