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

feat: Step merger for Geant4 and digitization energy threshold #2184

Merged
merged 14 commits into from
Jun 8, 2023

Conversation

benjaminhuth
Copy link
Member

@benjaminhuth benjaminhuth commented Jun 7, 2023

This PR does tow things:

  • Add a step merger to the Geant4 sim. This fixes the way how we record hits: Geant4 can do multiple steps through the material, which need to be combined to one single hit. Bevor, we recorded each step as hit.

  • Add a energy threshold for the hit acceptance to the digitization: This allows the digitization to reject hits with a very small energy deposit. The default value for this is 1000 * 3.65 eV (1000 electron-hole pairs for activation).

Together, this reduces the all-over hits, that the Geant4Simulation produces on a ttbar event drastically. However, the number of "target hits" (hits of particles with pT > 500 MeV and nhits > 3 in this case) stays roughly the same.

image

The energy threshold seems reasonable: In a particle-gun muon-only run in the ODD we see that almost all muons pass the threshold, but a lot low energy deposit electron hits are rejected by the digitization (energy deposit is negative, since it is stored as energy loss of the particle):

image

@benjaminhuth benjaminhuth added this to the next milestone Jun 7, 2023
@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Merging #2184 (2b2d32f) into main (078a01e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2184   +/-   ##
=======================================
  Coverage   49.41%   49.41%           
=======================================
  Files         441      441           
  Lines       25176    25176           
  Branches    11617    11617           
=======================================
  Hits        12441    12441           
  Misses       4481     4481           
  Partials     8254     8254           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

📊 Physics performance monitoring for 2b2d32f

Summary
Full report
Seeding: seeded, truth estimated, orthogonal
CKF: seeded, truth smeared, truth estimated, orthogonal
IVF: seeded, truth smeared, truth estimated, orthogonal
AMVF: seeded, truth smeared, truth estimated, orthogonal
Ambiguity resolution: seeded, orthogonal
Truth tracking
Truth tracking (GSF)

Vertexing

Vertexing vs. mu
IVF seeded

IVF truth_smeared

IVF truth_estimated

IVF orthogonal

AMVF seeded

AMVF truth_smeared

AMVF truth_estimated

AMVF orthogonal

Seeding

Seeding seeded

Seeding truth_estimated

Seeding orthogonal

CKF

CKF seeded

CKF truth_smeared

CKF truth_estimated

CKF orthogonal

Ambiguity resolution

seeded

Truth tracking (Kalman Filter)

Truth tracking

Truth tracking (GSF)

Truth tracking

Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

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

👍

@benjaminhuth benjaminhuth added Improvement Changes to an existing feature Component - Examples Affects the Examples module automerge labels Jun 8, 2023
@kodiakhq kodiakhq bot merged commit 97a5fb5 into acts-project:main Jun 8, 2023
@github-actions github-actions bot removed the automerge label Jun 8, 2023
@benjaminhuth benjaminhuth deleted the feature/hit-merger branch June 8, 2023 14:24
@paulgessinger paulgessinger modified the milestones: next, v27.0.0 Jun 20, 2023
kodiakhq bot pushed a commit that referenced this pull request Sep 14, 2023
For reasons that are unkown to me, a very important part of #2184 is missing in main...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Examples Affects the Examples module Improvement Changes to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants