[ROOT] Filling a TProfile2D

From: Gernot Maier (maier@ik1.fzk.de)
Date: Wed Aug 01 2001 - 18:10:42 MEST


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:53 MET