Hi,
Send us what you have right now (if to big put it on afs in your public directory ... or elsewhere public..)
O.Couet
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of Jerome Samarati
Sent: Thursday, March 04, 2010 5:07 PM
To: roottalk_at_root.cern.ch
Subject: [ROOT] problems with big files plotting
Hi Rooters,
I have a problem for plotting big files of datas and i have tried to
solve it by my own but i did not succeed.
I have generated a big file (256825 lines) which represents the energy
loss distribution of a proton in a water cube divided in voxel (3D)
using Geant4.
So in my file there are 4 columns (X, Y, Z, sum of the energy losses per
voxel) and that in a cube which is 400 mm long, 240 mm large and 240 mm
height.
My goal is to write a little macro to generate events in a cube. Each
event is represented by the average distribution that i obtained with G4
and so i would to plotted in 3D (X, Y and Z) this distribution and do
the sum where the distribution (the events) are generated to close one
from each other.
So i succeed to write a little code which generates events and do the
sum when 2 events crosses the same voxel but i did not succeed to plot
one complete event (one complete distribution of 256825 lines), and i do
not have any error message.
Does anyone have an idea, perhaps my file is too big to be plotted in a
TH3D ??
Thank you for your help,
Cheers,
Samarati Jerome, PH
Bld 182 R 009
tel. 79672
Received on Thu Mar 04 2010 - 17:23:23 CET
This archive was generated by hypermail 2.2.0 : Thu Mar 04 2010 - 17:50:01 CET