Message: Problem Creating and Filling 2D Histogram with AIDA in TestEm1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem Creating and Filling 2D Histogram with AIDA in TestEm1 

Forum: Analysis
Date: 01 Jun, 2011
From: Nathan <Nathan>

Hello,

I have open scientist installed in order to use AIDA (I am on Mac OS X 10.6.4 with geant4.9.4.p01) I can run TestEm1 fine and produce the root file with the 1D Histograms, however if I change the Histogram to 2D and fill the y bins with the same values as the x bins then the root file contains the 2D histogram but it wont fill it even through I issue the method fill(G4double x, G4double y). Also the histogram does not appear initialized correctly. If it is set to have 100 bins from 0->100 cm for x and y then the range in the empty 2D histo produced is 0->1. I am not sure why it can fill data correctly into a 1D histo but cannot use the same data to create and fill a 2D histo. It appears that maybe the 2D histo class is not fully supported with my configuration, if anyone can help me out on this issue I would appreciate it. The goal behind this is that I am trying to add 2D histo's to my own program but thought it would be easier to explain it through the modest alteration of TestEm1 since the problem was reproducible there.

Cheers, Nathan

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: Problem Creating and Filling 2D Histogram with AIDA in TestEm1   (Nathan - 01 Jun, 2011)
 Add Message Add Message
to: "Problem Creating and Filling 2D Histogram with AIDA in TestEm1"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]