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 and Aitchison.
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
PlotDatamodule
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-1.1.tar.gz
(13.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pymcabc-1.1-py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file pymcabc-1.1.tar.gz.
File metadata
- Download URL: pymcabc-1.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eeffc32e1c2d7a9a9d352bd89cbf5039232f66fc3153916e3c0c17b0dbc615f
|
|
| MD5 |
8504813c47607db1e3558c3c3720aee4
|
|
| BLAKE2b-256 |
70e6c49235f2a775265ae59047d9da300e93f7925388f94d7df27f7f5b5714b8
|
File details
Details for the file pymcabc-1.1-py3-none-any.whl.
File metadata
- Download URL: pymcabc-1.1-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4421eccf3b6fc12f279a1905dd1b41d1efa577ee2b7f4f702ef4bc5b09510f70
|
|
| MD5 |
9b106194be6838757f5b9f6a7558149d
|
|
| BLAKE2b-256 |
4f296bae35c0516be8e3bb28fad98fc7c4203bd32015d2dd0351f6e5f40ffc3f
|