Hi Sebastien,
Thanks for this example. Also note the HOWTO on this subject:
http://root.cern.ch/root/HowtoMC.html
In your main program, you can remove the statement:
static TROOT rootBase("simple","Test of histogramming and I/O");
Rene Brun
Sebastien Jan wrote:
>
> Hi Tobias,
>
> You can find in attachment at this mail an example of an including ROOT
> Class in a Geant 4 development for a PET simulation.
>
> See You
>
> Seb.
>
> ---------------------------------------------
> Sebastien JAN
> Institut des Sciences Nucleaires - CNRS/IN2P3
> Groupe ATLAS
> 53, Avenue des Martyrs
> 38026 Grenoble CEDEX
>
> Tel : 04 76 28 41 87
> Piece : 329
> ---------------------------------------------
>
> --------------------------------------------------------------------------------
>
> Name: GepetoHisto.cc
> GepetoHisto.cc Type: Plain Text (TEXT/PLAIN)
> Encoding: BASE64
>
> Name: GepetoHisto.hh
> GepetoHisto.hh Type: Plain Text (TEXT/PLAIN)
> Encoding: BASE64
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET