#monte-carlo #particle #physics #id #scheme #numbering #pdg

particle_id

根据蒙特卡洛粒子编号方案的粒子ID

5个版本 (破坏性)

0.5.0 2023年11月29日
0.4.0 2023年7月5日
0.3.0 2023年6月16日
0.2.0 2023年6月15日
0.1.0 2023年6月15日

#464科学

Download history · Rust 包仓库 26/week @ 2024-04-02 · Rust 包仓库 2/week @ 2024-04-09 · Rust 包仓库 5/week @ 2024-04-16 · Rust 包仓库 29/week @ 2024-04-23 · Rust 包仓库 4/week @ 2024-04-30 · Rust 包仓库 5/week @ 2024-05-07 · Rust 包仓库 7/week @ 2024-05-14 · Rust 包仓库 18/week @ 2024-05-21 · Rust 包仓库 15/week @ 2024-05-28 · Rust 包仓库 9/week @ 2024-06-04 · Rust 包仓库 13/week @ 2024-06-11 · Rust 包仓库 15/week @ 2024-06-18 · Rust 包仓库 7/week @ 2024-06-25 · Rust 包仓库 18/week @ 2024-07-02 · Rust 包仓库 11/week @ 2024-07-09 · Rust 包仓库 15/week @ 2024-07-16 · Rust 包仓库

每月53次下载
4 个crates中使用 (3 个直接使用)

GPL-3.0-or-later

71KB
1.5K SLoC

particle_id

根据蒙特卡洛粒子编号方案的粒子编号

示例

use particle_id::light_baryons::*;

assert_eq!(proton.name().unwrap(), "proton");
assert_eq!(proton.id(), 2212);
assert_eq!(proton.anti().id(), -proton.id());

许可证:GPL-3.0-or-later


lib.rs:

根据蒙特卡洛粒子编号方案的粒子编号

示例

use particle_id::light_baryons::*;

assert_eq!(proton.name().unwrap(), "proton");
assert_eq!(proton.id(), 2212);
assert_eq!(proton.anti().id(), -proton.id());

依赖项

~170KB