Last updated:
0 purchases
pymcabc 1.1
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 PlotData module
pymcabc.PlotData.file('name.root')
References
For physics involved in the calculation, see for example, Introduction to Elementary Particles, David Griffiths.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.