Hi Dennis, On Tue, 28 Aug 2001 11:35:20 +0800 (SGT) "Dennis C. Arrogancia" <dennis@physics.msuiit.edu.ph> wrote concerning "[ROOT] add histogram": > > Dear rooters, > > I have several histograms from different root files. I want to add > these histograms and save it in a single root file. Can anyone give an > example how to do it? Use the script $ROOTSYS/tutorials/hadd.C (or <prefix>/share/doc/root/tutorials/hadd.C) BTW, a search on "Adding Histograms" on the ROOT website, gave as the first hit: http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/html/examples/hadd.C.html?AddingHistograms#first_hit A quick search usually gives you the answer to such questions. Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET