Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is not in high priority, but since it's ready and the output seems reasonable I submit it.
=> only PFPacked tracks are used, and with nValidHits between 10 and 25
=> with pT/eta range to cover the acceptance table attached (and taken from AN 2008/097)
I refer to #35
for preliminary studies in support of this.
The DiLepton and B candidate builder are slightly adapted to deal with the muon-track lepton pair instead of the Lepton pair. But minor modifications only: the full logic is unchanged and no duplication of modules seemed needed.
I tested on MC: BToKmumu (non resonant). Following plot is the B invariant mass, with some selections to enhance the signal.
Color code: red = inclusive; green = both leptons are pfMuons; blue = at least one lepton is from track collection
Same for MC resonant: BToK(JPsi)mumu
Final remark: I started from the branch with the "tuned selections". So this branch is not to merge directly in any case, a rebase on water master branch will be agreed is needed.