This post was flagged by the community and is temporarily hidden.
this goes a bit beyond this list as it is part of your thesis work and using the ROOT program for data analysis.
However, to help you forward, see in that code how the histogram
dimu_h is defined and filled. Do the same (i.e. define a histogram and fill it) for the other variables of your interest.
For further assistance, please refer to the ROOT documentation.