HEP::MCNS - converts HEP MC numbers into particle names and vice versa
version 0.022
use HEP::MCNS qw(particle_name particle_code); my $electron_name = particle_name( 11 ); my $bzero_name = particle_name( 511 ); my $bplus_code = particle_code( 'B+' ); my $dstar_code = particle_code( 'D*0' );
The Monte Carlo Numbering Scheme assigns a unique identifier to each particle. This module converts those numbers into readable particle names and vice versa.
If any number is missing/wrong, please file an issue.
LaTeX output is planned but not yet implemented
takes the Monte Carlo number as input and prints the particle name
takes a particle name and returns the MC number code
Philipp Hamer <philha@cpan.org>
This software is copyright (c) 2015 by Philipp Hamer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HEP::MCNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HEP::MCNS
CPAN shell
perl -MCPAN -e shell install HEP::MCNS
For more information on module installation, please visit the detailed CPAN module installation guide.