PWGHF: Add output folder structure and Dplus -> piKpi MC information to Ds task#5417
PWGHF: Add output folder structure and Dplus -> piKpi MC information to Ds task#5417fgrosa merged 4 commits intoAliceO2Group:masterfrom
Conversation
Hi @fchinu thanks a lot! It looks good to me, I just have a curiosity before merging, why did you use |
|
Hi @fgrosa! Thank you! |
…to Ds task (AliceO2Group#5417) * Add folder structure * Add pt configurable axis * Add Dplus->PiKPi information * Clang format
…to Ds task (AliceO2Group#5417) * Add folder structure * Add pt configurable axis * Add Dplus->PiKPi information * Clang format
This PR adds a folder structure to the output of the Ds task, which now also contains information on the Dplus-> piKpi MC particles being reconstructed as Ds->KKPi.
For the folder structure, I have created an array of
std::unordered_maps, one for each "type" of data defined in the DataType enum, in order to avoid code repetition. Each map contains pointers to the histograms to be filled, with a proper label to identify them. For each type of data, the full set of histograms is created and filled, so that now the comment on PR #4789 regarding the lack of multiplicity information for MC matched candidate has been resolved.For what concerns the need for adding an output for the Dplus-> piKpi, we are observing a "bump" in the invariant mass distribution of the Ds candidates which was understood as due to the Dplus-> piKpi decay. To achieve a proper description of the distribution, information on this decay is required, and is now available in the MC/Dplus/Bkg folde.
Furthermore, the pT binning is now defined using a
ConfigurableAxisinstead of astd::vector<double>