Message: Re: Geant4 to Root without AIDA Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Geant4 to Root without AIDA 

Keywords: Root, G4UIRoot, Geant4
Forum: Analysis
Re: Question Geant4 to Root without AIDA (Theo DuBose)
Date: 14 Jun, 2006
From: Ivana Hrivnacova <Ivana Hrivnacova>

 Hi Theo,

 You can use directly Root classes from your
 Geant4 application.
 To use Root histogram in eg. Geant4 novice example N02,
 you just have to add in the makefile
 (examples/novice/N02/GNUmakefile)
 the following lines:

CPPFLAGS += -I$(ROOTSYS)/include
EXTRALIBS = $(shell root-config --glibs)

before

include $(G4INSTALL)/config/binmake.gmk

 Then you can instantiate directly a root histogram or other objects
 in your Geant4 based classes where needed.

 Best regards,

 Ivana Hrivnacova

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

1 None: Re: Geant4 to Root without AIDA   (Theo DuBose - 14 Jun, 2006)
(_ None: Re: Geant4 to Root without AIDA   (Ivana Hrivnacova - 14 Jun, 2006)
(_ None: Re: Geant4 to Root without AIDA   (Theo DuBose - 14 Jun, 2006)
(_ None: Re: Geant4 to Root without AIDA   (Theodore DuBose - 10 Jul, 2006)
 Add Message Add Message
to: "Re: Geant4 to Root without AIDA"

 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 ]