How to fill the histograms with data from chain?

See http://root.cern.ch/root/html/TTree.html#TTree:Project
Search for “>>” in http://root.cern.ch/root/html/TTree.html#TTree:Draw@2 and in http://root.cern.ch/download/doc/ROOTUsersGuideHTML/ch12s20.html