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

Add saving of true flight distance information #24

Open
particleist opened this issue Nov 28, 2017 · 10 comments
Open

Add saving of true flight distance information #24

particleist opened this issue Nov 28, 2017 · 10 comments
Assignees

Comments

@particleist
Copy link
Collaborator

We have all the information needed to save the true flight distance of the decaying particle from its parent vertex. In the first instance this should be truth only information, later we need to consider how to add smearing of PVs and SVs but that's a bit less trivial.

@particleist particleist self-assigned this Nov 28, 2017
@gcowan
Copy link
Owner

gcowan commented Nov 28, 2017

We were just discussing this yesterday. Should be simple to add. We would also like to add the FD information for user-defined two-body combinations of the decay products.

@particleist
Copy link
Collaborator Author

I'm not sure I quite see the point of the user-defined combinations? How do you see that working?

@gcowan
Copy link
Owner

gcowan commented Nov 28, 2017

Donal asked us if RapidSim would be able to help him understand what fraction of B -> [K π π π]_D K events end up being reconstructed as B -> [Ks0 K π]_D K, where two of the pions are reconstructed as a flying Ks0. So if we can compute the FD for combination of two particles, we can see what efficiency a particle FD cut would have.

@particleist
Copy link
Collaborator Author

But as long as there is no smearing the pipi vertex will coincide exactly with the D vertex, no? So this I think only comes in once we start smearing things.

@dcraik
Copy link
Collaborator

dcraik commented Nov 28, 2017

Our idea was to define the "decay" vertex as the point of closest approach between the lines defined by the smeared momenta and true origin vertices, and use the decay of the most recent common ancestor as the "origin" vertex.

I don't have a feeling for the relative sizes of the effects on the FD due to the momentum and SV smearing so I'm not sure how useful it is to do this before implementing SV smearing.

@particleist particleist reopened this Nov 28, 2017
@particleist
Copy link
Collaborator Author

I think there are a couple of things to take care of for the FD and vertex smearing to make sense

1/ Smearing PVs can be done based on measured resolutions in X/Y and Z as a function of the number of tracks in the PV. This can be trivially added to the beam parameters, generated along with the pileup, and propagated.

2/ For SV however, the momentum resolution needs to be complemented with some simulation of the multiple scattering in the VELO which is to first order decoupled from the P resolution. That could be naturally done once we implement the VELO material model for the brems, in the meantime I don't see a super easy way to do it?

Thoughts?

@gcowan
Copy link
Owner

gcowan commented Nov 28, 2017

For 2), let's wait for the VELO material model to go in.

For 1), is there any public information about the X/Y and Z resolutions? There must be in some VELO performance paper. What about as a function of nPVTracks? Obviously we don't have nPVTracks in RapidSim, so I we should just randomly sample from a TH3 of (nPVTracks, XYres, Zres).

@particleist
Copy link
Collaborator Author

For nPVTracks we can just use Pythia to generate a distribution to sample from, no?

For the resolutions you want this

https://cds.cern.ch/record/1756296?ln=en

figure 3

@gcowan
Copy link
Owner

gcowan commented Nov 29, 2017

Perfect for the resolutions. We can just parameterise these with an exponential. e.g.,
screen shot 2017-11-28 at 21 26 23

@gcowan
Copy link
Owner

gcowan commented Dec 1, 2017

I have added some initial code in 27fbd37 for a RapidVertex class. Doesn't do anything fancy, just holds a std::pair with he vertex and it's smeared version. Using this we can modify the existing computation of IP, FD to use the true or smeared vertex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants