Geant4 Toolkit Installations and Introduction To Some External Packages

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 38

Geant4 Toolkit Installations and Introduction to some External Packages

Francisco Garca (HIP) Geant4 Workshop @ HIP Oct. 30th 31th, 2003

Contents
I. Geant4 Toolkit Installations

General Considerations to Set up Computer and Operating System Preparing for Geant4 Toolkit Installations Geant4 Toolkit Installation Installation of the External Packages

II. Introduction to some External Packages

I.

Geant4 Toolkit Installations

Supported Platforms and Compilers


UNIX
SUN-SunOS v.5.8, cc forte Developer 7 C++ 5.4 Patch 111715-05

LINUX
Linux RedHat 6.1/7.3/8.0 g++ gcc 2.95.2 g++ gcc 3.2

WINDOWS
Windows 2000/XP Cygwin32 and MSVC++ 6.0 SP5

General Considerations to Set Up Computer and Operating System


Hard Disk Space Configuration Creation of Partitions Operating Systems Installation

Hard Disk Space Configuration


Area for the Windows
Operating System Source files Backup for Examples

Area for Linux


Operating System Geant4 System Working area

Creation of Partitions

Operating System Installation

Linux Red Hat 8.0

Windows 2000

Grub Boot Shell

Preparing Geant4 Toolkit Installation


Registering Initial Environment Variables CLHEP Library Installation

Registering Environment Variables for External Packages

Registering Environment Variables

CLHEP Library Installation


Download Source Code
http://wwwasd.web.cern.ch/wwwasd/lhc++/clhep/INSTALLATION/clhep.html

Recommend
ver. 1.8.0.0

Installation ./configure
gmake install prefix=/usr/local

CLHEP Library Installation

CLHEP Environment Variables

CLHEP Library Installation

CLHEP header files

CLHEP Library Installation

CLHEP libraries

Registering Environment Variables for External Packages

Geant4 Toolkit Installation


Download Source Code
http://wwwasd.web.cern.ch/wwwasd/geant4/geant4.html

Compilation ../../geant4/source gmake

Geant4 Toolkit Installation

Geant4 System Area

Geant4 Toolkit Installation

Geant4 Working Area

Installation of External Packages


Java J2SE - SDK
Mesa 3D Graphics Library and WIRED GAG (Geant4 Adaptive GUI)

ROOT and JAS (Data Analysis & Histogramming)

Additional External Packages


Visualization Software
DAWN Open Inventor or HEP Inventor OPACS and Open Scientist MOMO (GGE, GPE) VRML Browser

Data Analysis & Histogramming


AIDA Lizard Open Scientist

JAVA J2SE SDK Installation


Download Source Code
http://java.sun.com/

Recommend
SDK ver. 1.4.2_02 (RPM)

Installation
rpm iv j2sdk-1_4_2_02-linux-i586.rmp

Mesa 3D Installation
Download Source Code
http://www.mesa3d.org/

Recommend
ver. 5.0.2 (libs and demos)

Installation
./configure --prefix=/usr/local make make install

WIRED Installation
Download Source Code
http://www.slac.stanford.edu/BFROOT/www/Computing/
GraphicsWired/G4Tutorial.html /

Recommend
ver. 3

Installation
java cp . install

GAG (Geant4 Adaptive GUI) Installation


Download Source Code
http://erpc1.naruto-u.ac.jp/~geant4/

Recommend
ver. 1.4.1

Installation (not require)


ln s GAG-1.4.1.jar GAG.jar Set CLASSPATH variable

ROOT Installation
Download Source Code
http://root.cern.ch/root/

Recommend
ver. 3.10.01

Installation
./configure linux gmake gmake install

JAS (Java Analysis Studio) Installation


Download Source Code
http://jas.freehep.org/

Recommend
ver. 2.2.5

Installation (not require) set Path =../../jas-2.2.5

II.

Introduction to some External Packages

Mesa 3D
Detector Geometry Visualization Detector Component Visualization Rotation of the Detector Setup Trajectories Visualization Visualization During Simulation

Mesa 3D

WIRED
Detector Geometry Visualization Rotation of the Detector Setup Individual Trajectories Visualization Debugging of the Detector Geometry Batch Mode Visualization

WIRED

GAG (Geant4 Adaptive GUI)


Interactive Simulation Browser of Detector Categories Easy to Change Simulation Parameters Easy Run of the Simulations

GAG (Geant4 Adaptive GUI)

ROOT
Data Analysis Histogramming Curve Fitting Random Number Generator 3D Plot Rotation

ROOT

JAS (Java Analysis Studio)


Data Analysis Histogramming Curve Fitting Read Data from Other Packages

JAS (Java Analysis Studio)

Conclusions
Easy Installation of Geant4 Clear Installation Procedures Full Support in Web Pages Periodically New Releases Modest Computer Resources Future Development as Full Interactive System

You might also like