[ROOT] [Fwd: Compiling with TProfile]

From: Alberto Garcia Raboso (Alberto.Garcia.Raboso@cern.ch)
Date: Thu Jul 25 2002 - 12:55:48 MEST


Sorry, I forgot: I'm running ROOT 3.03/02 on lxplus at CERN.

-------- Original Message --------
Subject: Compiling with TProfile
Date: Thu, 25 Jul 2002 12:54:20 +0200
From: Alberto Garcia Raboso <Alberto.Garcia.Raboso@cern.ch>
Organization: CERN
To: roottalk@pcroot.cern.ch

Hi ROOTers,

I think there must be some problem with TProfile. I've had a lot of
problems trying to compile a program using this class, whilst it is
inbterpreted correctly. I've tried to write a very simple program (see
below) that, I think, demonstrates this fact.

May it be, or am I making a big mistake somewhere?

Cheers,

Alberto

THE CODE:

#include <iostream>

#include "TCanvas.h"
#include "TPad.h"
#include "TProfile.h"

using namespace std;

void prueba()
{
		TCanvas			*pCanv = new TCanvas("pCanv", "Phi Trigger" ,200, 10, 1100,
800);
		TPad			*pPad = new TPad("pPad", "pPad", 0.03, 0.03, 0.97, 0.97);
		TProfile		*pProf = new TProfile("pProf", "Extrapolation", 256, -512,
512, "");
		pProf->SetStats(kFALSE);
}



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:01 MET