[PWGDQ] MC Acceptance check added to DileptonTrack + minor fixes #13419
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.
Summary
The main motivation for this is to implement a check on wether the decay products falls within the acceptance, defined in the configuration of the task. In addition minor changes is done: cleanups, adding calculation of rapidity for the triplet and changing the output to the B meson flat table.
Main additions
Acceptance check in
AnalysisDileotionTrack:processMCGenWithEventSelection() (dqEfficiency)After the standard event selections, the code now performs an additional check on whether the decay products of a given MC channel fall within the detector acceptance:
Triplet rapidity calculation
The rapidity of each reconstructed triplet is now computed in
VarManager::FillDileptonTrackVertexing().This observable has been added to the HistogramLibrary and is stored in the B-meson tables written out by the task.
Additional updates
Removed outdated debugging messages from
tableReader_withAssoc.cxx.Removed wrongly recomputed DCA information from the B-meson table.
Motivation
These changes make the MC-level efficiency studies more physically relevant by incorporating detector acceptance.