Re: Help with understanding error in RooFit

From: Benjamin Bannier <>
Date: Sun, 14 Aug 2011 20:37:35 -0400

Hi Suvayu,

> RooDataHist::RooDataHist data("data", "Random data", w::x, hdata);
> I can't make sense of the error below I am getting with a simple
> RooFit macro (attached).
> Error: Symbol x,hdata) is not defined in current scope workspace.C:15:
> Can someone explain what is wrong? Thanks a lot.

I cannot make sense of that error message either, but I must be due to the strange way you invoke the compiler. This appears to work fine:

> RooDataHist data("data", "Random data", w::x, hdata);



"Good judgment comes from experience. Experience comes from bad judgement."

Received on Mon Aug 15 2011 - 02:37:45 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 15 2011 - 05:50:02 CEST