Proper calculation of the efficiency

Click For Summary
To calculate the efficiency of the algorithm for reconstructing primary vertices (PV) in a Monte Carlo simulation, it's essential to consider the probability of obtaining a specific number of tracks with certain energy thresholds. The discussion emphasizes the need to weight the histogram based on the probability density function (PDF) that describes the distribution of events. This weighting will account for the likelihood of having a certain number of tracks associated with a vertex, which varies with energy thresholds. By incorporating this information, the efficiency calculation will be more accurate and reflective of the underlying physics. Properly weighting the data is crucial for achieving reliable results in the analysis.
Silviu
Messages
612
Reaction score
11

Homework Statement


Hello! This is actually a computational-statistics problem in data analysis, and I got a bit stuck. I have several events from a Monte Carlo simulation from 2 particles collision and for each event I have the primary vertex and the tracks associated to it. I wrote an algorithm which, given the tracks (and their parameters) reconstructs the primary vertex (PV). I want to calculate the efficiency of the algorithm (so the number of reconstructed PV vs the number of actual PV) in bins of number of tracks. I attached a plot I obtained. The 3 colors represent the threshold for the energy of the tracks I used to reconstruct the primary vertex (the minimum energy needed by a track). My professor said that I should also think about the probability of getting a given number of tracks with a given energy. For example, we get to 90% with 5 tracks above 10 GeV but we need 20 above 3 GeV for the same efficiency. However, the probability of getting a vertex having 3 tracks with 3GeV associated with it is different than the probability of having a vertex with 20 tracks with 10GeV. So, should I take this into account and weight somehow my histogram using that information? And if so, how should I do it? I am not sure how to account for the probability of getting a certain number of tracks associated with a certain vertex. Thank you!

Homework Equations

The Attempt at a Solution

 

Attachments

  • plot.png
    plot.png
    15.7 KB · Views: 528
Physics news on Phys.org
Yes, you should take this into account and weight your histogram. The probability of getting a certain number of tracks associated with a certain vertex is determined by the probability density function (PDF) that describes the distribution of the events. By using this PDF, you can calculate the probability of finding a certain number of tracks with a certain energy for each event in the Monte Carlo simulation. This will allow you to weight the data in the histogram based on the likelihood of obtaining that particular combination of tracks and energies. You can then use the weighted data to calculate the efficiency of the algorithm.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 0 ·
Replies
0
Views
1K
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
2K
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
6K