How to superimpose two leafs from two root files

I have two root files that have leaf ->Qdet. Now I want to superimpose these two leaf’s data and look them into a new canvas. How I can do that?

ROOT Version: Not Provided
Platform: Not Provided
Compiler: g++

Hi @gurmukh_dhindsa,

Could you elaborate more on what you intend to achieve? IIUC, you are probably looking for TMultiGraph. In principle, you should add the corresponding TGraph instances to the multi-graph.

For more information, refer to the manual page here, documentation on the reference guide, and tutorials.