Monte Carlo Event Generator for the ABC theory
Project description
pymcabc
Author
Aman Desai
Description
Monte Carlo Event Generator for the ABC theory
Installation
pip install pymcabc
Physics
The physics of ABC model (theory) is described in Grifiths.
Simple script to start using the package:
- Import pymcabc:
import pymcabc
- Define the process, for example:
pymcabc.DefineProcess('A A > B B',mA=4,mB=10,mC=1,pi=30)
- Calculate the total cross section of the process (in barn):
pymcabc.CrossSection().calc_xsection()
- Generate and Save events using a single command. Select whether to allow final state particle decays or not. Also select whether to apply detector effects on particle.
pymcabc.SaveEvent(10000,boolDecay=True,boolDetector=True).to_root('name.root')
- Analyze the root file. Basic analysis is possible by calling the
PlotData
module
pymcabc.PlotData.file('name.root')
References
- For physics involved in the calculation, see for example, Introduction to Elementary Particles, David Griffiths.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymcabc-0.6.0.tar.gz
(12.3 kB
view details)
Built Distribution
pymcabc-0.6.0-py3-none-any.whl
(13.2 kB
view details)
File details
Details for the file pymcabc-0.6.0.tar.gz
.
File metadata
- Download URL: pymcabc-0.6.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8dadef1c4603e8da2298fd17942da256d72fdeb77be065fe4a4f5b44ef173b5 |
|
MD5 | dae295a8cc3fcabceab81fd7a8ee0f67 |
|
BLAKE2b-256 | b2839d4ed7592594c0af7378fa03909ae4e573a689aa1c4a00b77d04621cf02b |
File details
Details for the file pymcabc-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: pymcabc-0.6.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0833fc5cddbf3b7d9cad1b022f9bc30cde056ae09c006cce651ea251808a2bf |
|
MD5 | 16263c79f9b55215187bba4a110a1564 |
|
BLAKE2b-256 | ab979374d43dc99a11be2f357acc7aae07fadcb0e04df58a078a4a2e1dbb40b1 |