FitSlicesY Not working.

From: Anil Singh <anil79_at_fnal.gov>
Date: Wed, 4 Mar 2009 07:17:35 -0600

Dear rooters,

 I am trying to run some application where I need the FitSliceY() functionality. A brief summary of what I am doing is :



{

TH2D* h1 = new TH2D("Myhis", "Myhis", 100, 0, 1, 100, 0, 1); float x, y;
for(int i=0; i!=2500; i++)
{

  gRandom->Rannor(x,y);
  h1->Fill(x,y);
}

h1->FitSlicesY();
h1_0->Draw();
}


When I run this script all I get is:

Error: Symbol h1_0 is not defined in current scope (tmpfile):1: Error: Failed to evaluate h1_0->Draw()

............I am unable to find where I am actually messing up ?

ciao
ANil Received on Wed Mar 04 2009 - 14:18:00 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 05 2009 - 17:50:02 CET