Syntax to add Legend to histogram plots and deleting the statistics being shown at the top right hand corner

How do I add a Legend to my histogram plots and also how do I delete the statistics shown at the top right hand corner (the box with mean and rms entries) of my plot? I went through the answers in the forum related to this however, didn’t find any effective. Could someone please be able to help? I am attaching below my plot. I am using root 5.34/38v2 vs pTzpc.pdf (16.9 KB)

Besides, I really have no clue about writing pT and v1 with T and 1 as subscripts respectively in my code itself! Need help in this regard as well.

gStyle->SetOptStat(0);

https://root.cern/doc/master/classTLegend.html