Profile histogram

Hello,

I am still new to Root and I am working on a root file that contains a few histograms and an ntuple with several columns. I need to create a profile histogram; is it possible to do so directly from the terminal? and if yes, what is the correct command to be used and how do I specify a certain variable from my ntuple to be filled in the profile?

Thank you so much

Try to use TTree::Draw (see “Making a Profile histogram” and “Making a 2D Profile histogram” therein) and/or TTree::Project.

1 Like