RooFit documentation mistake

From: Thiago Tomei <Thiago.Tomei_at_cern.ch>
Date: Thu, 6 May 2010 11:44:37 +0200


Hi

The documentation for RooFit::Import function is wrong. In http://root.cern.ch/root/html/RooDataSet.html , you see that RooFit::Import was supposed to take a TTree* as argument. Actually, it takes a TTree& . To check that:

gSystem->Load("libRooFit")
RooFit::Import(

... and use tab completion to check that it wants a TTree& .

Regards
Thiago

-- 
    Thiago R. F. P Tomei - http://cern.ch/Thiago.Tomei
    SPRACE - São Paulo Regional Analysis Center
    CERN - European Organization for Nuclear Research
Received on Thu May 06 2010 - 11:44:43 CEST

This archive was generated by hypermail 2.2.0 : Thu May 06 2010 - 17:50:02 CEST