TChain of TTrees with weights

From: Remi Mommsen <remigius.mommsen_at_cern.ch>
Date: Sun, 20 May 2007 12:22:41 -0500


Dear rooters,

I have a question concerning weights when using a TChain. Assume I have 3 root files, each containing a tree myTree. I'd like to chain the 3 root files together using TChain. However, each myTree should have a different weight depending on the root file it resides. I understand that TChain uses by default the weight stored in the file. However, in my case the trees in the file does not have a weight set yet. How do I do this?

TIA,
        Remi

--
No trees were killed in the sending of this message.
However, a large number of electrons were terribly inconvenienced.


*********************************************************************
Remigius K. Mommsen e-mail: mommsen_at_fnal.gov University of Manchester URL: http://cern.ch/mommsen Fermilab, MS 357 voice: ++1 (630) 840-8321 P.O. Box 500 fax: ++1 (630) 840-2649 Batavia, Il 60510, US home: ++1 (630) 236-0932
*********************************************************************
Received on Sun May 20 2007 - 19:23:00 CEST

This archive was generated by hypermail 2.2.0 : Mon May 21 2007 - 11:50:04 CEST