Giter Site home page Giter Site logo

fuhlig1 / geant3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmc-project/geant3

0.0 1.0 0.0 21.74 MB

Simulation software using Monte Carlo methods to describe how particles pass through matter.

CMake 0.55% C 12.13% C++ 10.96% Objective-C 0.02% Fortran 74.41% Mathematica 1.27% Assembly 0.61% Pascal 0.03% SourcePawn 0.01% Pawn 0.01%

geant3's Introduction

Geant3 + VMC

This package contains:

Geant3.21

The new version of Geant3.21 that includes several bug fixes compared to the standard version in CERNLIB. In this version all Geant3 gxxxxx routines have been renamed g3xxxxx. //run make in this directory. The Makefile will compile all Geant //routines and a shared lib lib/tgt_Linux/libgeant321.so will be created.

TGeant3 (Geant3 VMC)

The directory TGeant3 contains the classes TGeant3 and TGeant3TGeo, which implement the TVirtualMC interface, see more about VMC at:
https://root.cern.ch/vmc

Examples

The directory examples includes a set of FORTRAN examples like gexam1.F, gexam3.F, gexam4.F and model.F, plus the ROOT (C++) macros E01.C, E02.C, E03.C

By default, TGeant3 is compiled with the option "WITHG3". Specify -DWITHROOT in the compile options to select the ROOT geometry. When the option WITHROOT is selected, TGeant3 will be generated with calls to the Root geometry package only. When the option WITHG3 is selected (default), TGeant3 will be generated to use the Geant3 geometry package only. Option WITHBOTH selects the two packages (only interesting to compare the response from G3 compared to ROOT).

To build the examples gexam1,3 and 4 run the scripts bind_gexam1,3,4 bind_gexam1

  gexam1
  read 4
  stop
  root >  gMC->ProcessRun(10)
  root > .q

same for gexam3,4, model.

To run the E01.C, E02.C and E03.C examples (common to Geant3 and 4), do root > .x E01.C

These scripts require the geant4_vmc file in a separate tar file.

At present, the geant3 package is tested only using the test suites defined in geant4_vmc/examples.

geant3's People

Contributors

fonsrademakers avatar ihrivnac avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.