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

From: Roel Aaij <Roel.Aaij_at_cern.ch>
Date: Fri, 24 Dec 2010 10:57:27 +0100


Hi Augusto,

> RooDataSet::RooDataSet(const char* name, const char* title, TTree*
> ntuple, const RooArgSet& vars, const char* cuts = 0, const char*
> wgtVarName = 0) =>

Looking at this line, you need to swap the ArgSet and the tree in your call of the constructor.

Cheers, Roel

-- 
Roel Aaij
Nikhef, office N250         Tel: +31 (0)20 592 2069
Sciencepark 105             Mob: +31 (0)641 370 757
1098 XG Amsterdam                +41 (0)799 272 882


Received on Fri Dec 24 2010 - 11:00:00 CET

This archive was generated by hypermail 2.2.0 : Fri Dec 24 2010 - 17:50:01 CET