Re: roostats tutorials don't compile

From: Nicholas Kypreos <kypt_at_phys.ufl.edu>
Date: Mon, 12 Jul 2010 14:59:33 +0200


Like a charm. :) Thanks.

On Jul 12, 2010, at 12:46 PM, Rene Brun wrote:

> Switch to ROOT version 5.27/04 and the roostats tutorials will be working.
> 
> Rene Brun
> 
> Nicholas Kypreos wrote:

>> Dear ROOTers,
>>
>> I'm trying to get into using ROOStats via the web examples. I'm running into fun issues where none of them seem to compile...
>>
>> http://root.cern.ch/viewvc/trunk/tutorials/roostats/rs101_limitexample.C?view=markup
>>
>> I'm using Root v. 5.25/044, RooFit v3.11 on OSX 10.6.
>>
>> Any thoughts are welcome! The error message is below.
>> Best,
>> Nick
>>
>>
>>> root [0] .L rs101_limitexample.C+
>>> Info in <TUnixSystem::ACLiC>: creating shared library /Users/kypreos/physics/roostats/./rs101_limitexample_C.so
>>> 
>>> RooFit v3.11 -- Developed by Wouter Verkerke and David Kirkby                 Copyright (C) 2000-2009 NIKHEF, University of California & Stanford University
>>>                All rights reserved, please read http://roofit.sourceforge.net/license.txt
>>> 
>>> In file included from /Users/kypreos/physics/roostats/./rs101_limitexample_C_ACLiC_dict.h:33,
>>>                 from /Users/kypreos/physics/roostats/./rs101_limitexample_C_ACLiC_dict.cxx:16:
>>> /Users/kypreos/physics/roostats/./rs101_limitexample.C: In function ‘void rs101_limitexample()’:
>>> /Users/kypreos/physics/roostats/./rs101_limitexample.C:97: error: no matching function for call to ‘RooStats::ModelConfig::ModelConfig(RooWorkspace*)’
>>> /Applications/root/include/RooStats/ModelConfig.h:58: note: candidates are: RooStats::ModelConfig::ModelConfig(const char*, const char*)
>>> /Applications/root/include/RooStats/ModelConfig.h:55: note:                 RooStats::ModelConfig::ModelConfig(const char*)
>>> /Applications/root/include/RooStats/ModelConfig.h:52: note:                 RooStats::ModelConfig::ModelConfig()
>>> /Applications/root/include/RooStats/ModelConfig.h:48: note:                 RooStats::ModelConfig::ModelConfig(const RooStats::ModelConfig&)
>>> /Users/kypreos/physics/roostats/./rs101_limitexample.C:100: error: ‘class RooStats::ModelConfig’ has no member named ‘SetParametersOfInterest’
>>> /Users/kypreos/physics/roostats/./rs101_limitexample.C:119: error: no matching function for call to ‘RooStats::FeldmanCousins::FeldmanCousins(RooDataSet&, RooStats::ModelConfig&)’
>>> /Applications/root/include/RooStats/FeldmanCousins.h:41: note: candidates are: RooStats::FeldmanCousins::FeldmanCousins()
>>> /Applications/root/include/RooStats/FeldmanCousins.h:37: note:                 RooStats::FeldmanCousins::FeldmanCousins(const RooStats::FeldmanCousins&)
>>> /Users/kypreos/physics/roostats/./rs101_limitexample.C:145: error: ‘class RooStats::MCMCCalculator’ has no member named ‘SetLeftSideTailFraction’
>>> i686-apple-darwin10-g++-4.2.1: /Users/kypreos/physics/roostats/./rs101_limitexample_C_ACLiC_dict.o: No such file or directory
>>> Error in <ACLiC>: Compilation failed!

>>

> Received on Mon Jul 12 2010 - 14:59:46 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 13 2010 - 17:50:01 CEST