Re: [ROOT] ROOT and Geant4

From: Ivana Hrivnacova (Ivana.Hrivnacova@cern.ch)
Date: Wed Mar 13 2002 - 12:05:45 MET


 Hi Allister,

 You can link your application program with
 both Root and Geant4 libraries,
 you should only exlude New, Thread, pthread
 libraries. 

 When defining your Root based classes
 (for your data)  be careful not to include Geant4
 classes here as this would require to make Root
 dictionaries for Geant4 classes.

 Besides the above there is nothing special
 - you can follow Root tutorials how to
 define your own classes for your data
 and then use them in your G4 based classes  
 (sensitive detector etc.)

 Best regards,

 Ivana Hrivnacova 


==============================================================
e-mail:  Ivana.Hrivnacova@cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone:   (33) 01 69 15 65 94
==============================================================


On Wed, 13 Mar 2002, Allister Levi Sanchez wrote:

> Hi ROOTers,
> 
> I'm using ROOT for analysis of my Geant4 simulation data.  Since I'm not
> a C++ wizard (I learned C++ when I started using ROOT), and didn't  have
> the time to sit on it before, I'm doing it the roundabout way:
> 1. Output the data by C++ ofstream to an ASCII data file.
> 2. Read this ASCII data file with a ROOT macro.
> 
> Obviously, I get a nastily large ASCII data file for a large number of
> events.  So what I want to do is to connect Geant4 with ROOT,
> particularly on data storage, histogramming and GUI.  I'm sure this has
> been done by somebody already.  Would you please tell me
> where to start?
> 
> Cheers,
> Allister
> ___________________
> Allister Levi Sanchez
> Research Student
> Niigata University
> Japan
> 
> 



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