Re: How to load up a TTree in a RooDataSet inside PyRoot???

From: <wlavrijsen_at_lbl.gov>
Date: Fri, 24 Dec 2010 12:11:03 -0800


Hi,

>   ---> 86                        , ROOT.RooFit.Import(*tree) ,

by doing *tree, you pass it as a list (converted using the iterator mechanism), which doesn't work since a TTree& is expected:

> RooCmdArg RooFit::Import(TTree& tree) =>
> takes at most 1 arguments (2294211 given)

The 2294211 comes from the number of entries in the TTree.

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Fri Dec 24 2010 - 21:11:22 CET

This archive was generated by hypermail 2.2.0 : Sat Dec 25 2010 - 05:50:01 CET