Skip to main content

Monte Carlo Event Generator for the ABC theory

Project description

pymcabc

License publish test

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:

    1. Define the process, for example:
pymcabc.DefineProcess(`A A > B B',mA=4,mB=10,mC=1,Ecm=30)
  1. Calculate the total cross section of the process:
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')

  2. Analyze the root file. Basic analysis is possible by calling the PlotData module

PlotData.file('name.root')

References

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

Project details


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.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

pymcabc-0.1.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file pymcabc-0.1.0.tar.gz.

File metadata

  • Download URL: pymcabc-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pymcabc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3dc36e4c49de11dc7d79526af0e4e43bc30711fac9cbe581dc0a11ed8f39b065
MD5 294ad88355df260668dd917528629c94
BLAKE2b-256 ed3224d219cdcca53751b2485bc580d7bde5eb1cea46509c7e6bce1a5fa6c49d

See more details on using hashes here.

File details

Details for the file pymcabc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pymcabc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pymcabc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22347cb304f402f18aeec9cd9ac6a301e5ccb68f7ea9c9f784b1bc7617804965
MD5 ae72f60877d12350edef9085e94d7d4e
BLAKE2b-256 a6f17bbe35359cc76ed4ba05e5cc46a2a3d4e6ea202508ec7f41998cfd3810e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page