RE: problems with big files plotting (fwd)

From: Jerome Samarati <Jerome.Samarati_at_cern.ch>
Date: Fri, 5 Mar 2010 12:09:39 +0100


Now it is working. I will still play a little bit with my Ntuple and the different options. I would to thank Olivier and also the other people who gave me some ideas. Cheers,

Samarati Jerome, PH
Bld 182 R 009
tel. 79672

-----Original Message-----

From: Olivier Couet
Sent: Thu 3/4/2010 6:52 PM
To: roottalk_at_root.cern.ch; Jerome Samarati Subject: RE: [ROOT] problems with big files plotting (fwd)  

This one has been solved by phone.
Olivier

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300


---------- Forwarded message ----------
Date: Thu, 4 Mar 2010 17:29:02 +0100 From: Jerome Samarati <Jerome.Samarati_at_cern.ch> To: Olivier Couet <Olivier.Couet_at_cern.ch> Subject: RE: [ROOT] problems with big files plotting here is my macro and the datas file (.dat). I forget to say that i get the 3D plot since 200000 lines for 1 event (1 distribution), or 40000 lines for 5 events (5 distribution). This is the reason why i thought about a problem of size. In any case thank you for your help. Cheers, Samarati Jerome, PH Bld 182 R 009 tel. 79672
-----Original Message-----
From: Olivier Couet Sent: Thu 3/4/2010 5:23 PM To: Jerome Samarati; roottalk_at_root.cern.ch Subject: RE: [ROOT] problems with big files plotting 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 Fri Mar 05 2010 - 12:11:55 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 05 2010 - 17:50:01 CET