Skip to main content

pymcabc

License publish test PyPI Package latest release Supported versions DOI PrePrint

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:

  1. Import pymcabc:
import pymcabc
  1. Define the process, for example:
pymcabc.DefineProcess('A A > B B',mA=4,mB=10,mC=1,pi=30)
  1. Calculate the total cross section of the process (in barn):
pymcabc.CrossSection().calc_xsection()
  1. 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')
  1. Analyze the root file. Basic analysis is possible by calling the PlotData module
pymcabc.PlotData.file('name.root')

References

  1. For physics involved in the calculation, see for example, Introduction to Elementary Particles, David Griffiths.

Metadata

Release files for pymcabc 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymcabc 1.1
File Size Uploaded Provenance Actions
pymcabc-1.1.tar.gz 13.6 kB Without provenance Details for pymcabc-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymcabc 1.1
File Interpreter ABI Platform Actions
pymcabc-1.1-py3-none-any.whl Python 3 none any Details for pymcabc-1.1-py3-none-any.whl

Total release size: 27.9 kB

Release files / pymcabc-1.1.tar.gz

Download URL pymcabc-1.1.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1eeffc32e1c2d7a9a9d352bd89cbf5039232f66fc3153916e3c0c17b0dbc615f
BLAKE2b-256 checksum
How to use checksums
70e6c49235f2a775265ae59047d9da300e93f7925388f94d7df27f7f5b5714b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / pymcabc-1.1-py3-none-any.whl

Download URL pymcabc-1.1-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4421eccf3b6fc12f279a1905dd1b41d1efa577ee2b7f4f702ef4bc5b09510f70
BLAKE2b-256 checksum
How to use checksums
4f296bae35c0516be8e3bb28fad98fc7c4203bd32015d2dd0351f6e5f40ffc3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for pymcabc 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page