|
|
![]() Project-Logo |
Max-Planck-Institut für extraterrestrische Physik
- Gamma-Ray Astronomy -Project: MEGA |
|
|
|
||
|
Project MEGA
Restricted area
|
MEGAlib - The Medium Energy Gamma-ray Astronomy software libraryWhat is MEGAlib?The Medium Energy Gamma-ray Astronomy library (MEGAlib) is a set of software tools, which are primarily designed to analyze data of the next generation of Compton telescopes. The library comprises all necessary data analysis steps from simulation/measurements via event reconstruction to image reconstruction. MEGAlib contains a geometry and detector description tool for the detailed modeling of different detector types and characteristics, and provides interfaces for the simulation tools Geant3, MGeant/MGGPOD and Geant4. For the different Compton telescope candidate detector types (electron tracking, multiple Compton or time of flight based) specialized event reconstruction algorithms are implemented in different approaches (Chi-square and Bayesian). The high level data analysis tools allow to calculate response matrices, reconstruct images (list-mode likelihood algorithm), determine detector resolutions and sensitivities, retrieve spectra, determine polarization modulations, etc. The highly modular and completely object-oriented library is written in C++ and utilizes ROOT For a general overview consider reading "MEGAlib - Medium Energy Gamma-ray Astronomy Library", or "MEGAlib - Simulation and Data Analysis for Low-to-medium-energy Gamma-ray Telescopes". For details about the algorithms refer to Andreas Zoglauer, "First Light for the Next Generation of Compton and Pair Telescopes" and Florian Schopper, "Entwicklung eines Teleskops zur Abbildung von Gammastrahlung mittels Comptonstoss und Paarerzeugung". For a detailed insight into simulations with Cosima see "Cosima - the Cosmic Simulator of MEGAlib" Moreover, you might want to take a look at the following posters: "MEGAlib - Simulation and Data Analysis for Low-to-medium-energy Gamma-ray Telescopes" and "Geomega: MEGAlib's geometry and detector description tool for Geant3, MGGPOD, and Geant4" RequirementsThe latest stable release requires the following software components:
LicenseMEGAlib can be used freely for any astrophysical and/or nuclear science application on the condition that MEGAlib is correctly cited in all resulting publications. However, MEGAlib (or any part of it) may not be used for any commercial or military purposes. The master reference is: For more details see the license file. Downloadcvs - Recommended!If you want the latest version (which is always recommended), or plan to do some development yourself, you should retrieve the sources from the cvs directory. I never check in anything which I expect not to work, thus using this version shoulf be safe. Please use :pserver:anonymous@cvs.mpe.mpg.de:/home/zoglauer/Repository as $CVSROOT. The password for the user anonymous is gamma-ray. This gives you read-only access to the analysis part of MEGAlib. For write access or access to the hardware classes you have to contact me personally! For more details see: MEGAlib/doc/Installation.pdf tar ballA tar-ball with the latest publicly available version of MEGAlib can be downloaded from here:
It includes Geomega, Sivan, Revan, Mimrec, Cosima, etc., but excludes hardware related software such as MEGAlyze. This version is in feature freeze but is patched with all bug-fixes from the current development tree. There is a special web page for older versions. Preinstalled Ubuntu VirtualBox machineFor testing purposes a VirtualBox You need to download both files into the same directory and then use the "Import Appliance" feature in VirtualBox (requires VirtualBox 2.2 and higher) to import the virtual box. The installed operating system is Ubuntu 8.04 LTS. The user name is "megalib", the user/root password is also "megalib". MEGAlib is installed in "~/Science/Software/MEGAlib", all external software such as ROOT, Geant4, LHEASoft, etc. can be found in "~/Science/Software/External". It is adviced to install the VirtualBox "guest additions" for improved performance. This VirtualBox is NOT updated on a regular basis! To update MEGAlib, simply switch into the MEGAlib directory "cd ~/Science/Software/MEGAlib", call "cvs update", "./configure -linux -optimized", and recompile: "make" InstallationYou can find a detailed installation description in the file MEGAlib/doc/Installation.pdf If you have trouble setting up your system, you might consider downloading the VirtualBox, and then take a look at the setup, e.g. all the environment variables in "~/.bashrc.local". Please take also a look at the change log for the important changes between the versions: ChangeLog.txt DocumentationThe definitely not complete documentation can be found in these pdf-file: MEGAlib (general overview, old), Geomega (geometry, up-to-date), Cosima (Geant4 simulations, up-to-date). Bug reportsBug reports go to: Andreas Zoglauer, "zog (at) ssl (dot) berkeley (dot) edu" - please be specific, provide me with information about what version you are using, let me know how to reproduce the problem, and send me an example!
Contact person: G. Kanbach |
|
|
|
© Max-Planck-Institut für extraterrestrische Physik | |