RE: [ROOT] Filling a TProfile2D

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Aug 03 2001 - 18:51:17 MEST


Hi,

This features has been added to the CVS repository.

Enjoy,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Gernot Maier
Sent: Wednesday, August 01, 2001 11:11 AM
To: roottalk
Subject: [ROOT] Filling a TProfile2D


Hej Rooters,

maybe a very simple question, but I don't manage to fill a TProfile2D from Tree.

I did:

myTree->Draw("var1:var2:var3","somecuts","prof");

The resulting histogram is empty. As I understood the Usersguide (v.3.1a) on page 51 it
should work like this.

The definition of a TProfile2D histo and filling it then with

myTree->Draw("var1:var2:var3>>hisProf2D","somecuts","prof"); gives a seg fault while
drawing the histogram.

I'm using Root 3.01/06 on alpha OSF and SuSe Linux.

thanks in advance

Gernot


-----
Gernot Maier                    KASCADE Collaboration
Institut fuer Kernphysik        Tel. +49 (0) 7247 82-4174
Forschungszentrum Karlsruhe     maier@ik1.fzk.de



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:55 MET