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.8.0.tar.gz
(12.7 kB
view details)
Built Distribution
pymcabc-0.8.0-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file pymcabc-0.8.0.tar.gz
.
File metadata
- Download URL: pymcabc-0.8.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04b4a3f8ca7d61de0e3cd07fddcf422cc5527b33e39fa9915cdcd022235fd3be |
|
MD5 | 0f6ad2a9e65a793b3160fd282224643a |
|
BLAKE2b-256 | 8ab87dbd9ee69c2dca0bb701847ea65b0a5828c6d6c6b341d2f76a033895a553 |
File details
Details for the file pymcabc-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: pymcabc-0.8.0-py3-none-any.whl
- Upload date:
- Size: 13.5 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 | 642d21c0b83210a622c88a24e8bef1c591637369a848cffc25fda8e7115054ef |
|
MD5 | d1a398098d3e6a5745bd5f1855f454ed |
|
BLAKE2b-256 | fe58679ece67e4243b8423073a82c70dbc4af60b37fe0d91d291dd9d3c8eee6a |