[ROOT] Arrays of 2D histograms

From: William Love (love@bnl.gov)
Date: Wed Aug 21 2002 - 20:35:45 MEST


Hello root
  I want to divide track data among identical TH2D's according to
 for example, the vertex z.   This would be easiest if I could make and
 address an array of TH2D's  I tried:

 *** Start at Date : Wed Aug 21 14:10:58 2002
QAInfo:You are using STAR_LEVEL : dev, ROOT_LEVEL : 3.02.07 and node :
rcas6006.rcf.bnl.gov
root.exe [0] TH2D Same[8]("b","b",50, 0, 10, 50, 0, 10)
root.exe [1] Same[2].SetName("number3")

 *** Break *** segmentation violation

  Where do I go wrong?
                                          Bill Love


I was up all night wondering where the sun went, then it dawned on me.



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