资源简介
代码片段和文件信息
/*
Copyright ?1999 CERN - European Organization for Nuclear Research.
Permission to use copy modify distribute and sell this software and its documentation for any purpose
is hereby granted without fee provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in supporting documentation.
CERN makes no representations about the suitability of this software for any purpose.
It is provided “as is“ without expressed or implied warranty.
*/
package cern.clhep;
/**
* High Energy Physics coherent Physical Constants.
* This class is a Java port of the C++ version found in CLHEP 1.4.0 which in turn has been provided by Geant4 (a simulation toolkit for HEP).
*
* For aliasing see {@link #physicalConstants}.
*
* @author wolfgang.hoschek@cern.ch
* @version 1.0 09/24/99
*/
public class PhysicalConstants extends object {
/**
* Little trick to allow for “aliasing“ that is renaming this class.
* Normally you would write
*
* PhysicalConstants.twopi;
* PhysicalConstants.c_light;
* PhysicalConstants.h_Planck;
*
* Since this class has only static methods but no instance methods
* you can also shorten the name “PhysicalConstants“ to a name that better suits you for example “P“.
*
* PhysicalConstants P = PhysicalConstants.physicalConstants; // kind of “alias“
* P.twopi;
* P.c_light;
* P.h_Planck;
*
*/
public static final PhysicalConstants physicalConstants = new PhysicalConstants();
//
//
//
public static final double pi = Math.PI; //3.14159265358979323846;
public static final double twopi = 2*pi;
public static final double halfpi = pi/2;
public static final double pi2 = pi*pi;
//
//
//
public static final double Avogadro = 6.0221367e+23/Units.mole;
//
// c = 299.792458 mm/ns
// c^2 = 898.7404 (mm/ns)^2
//
public static final double c_light = 2.99792458e+8 * Units.m/Units.s;
public static final double c_squared = c_light * c_light;
//
// h = 4.13566e-12 MeV*ns
// hbar = 6.58212e-13 MeV*ns
// hbarc = 197.32705e-12 MeV*mm
//
public static final double h_Planck = 6.6260755e-34 * Units.joule*Units.s;
public static final double hbar_Planck = h_Planck/twopi;
public static final double hbarc = hbar_Planck * c_light;
public static final double hbarc_squared = hbarc * hbarc;
//
//
//
public static final double electron_charge = - Units.eplus; // see SystemOfUnits.h
public static final double e_squared = Units.eplus * Units.eplus;
//
// amu_c2 - atomic equivalent mass unit
// amu - atomic mass unit
//
public static final double electron_mass_c2 = 0.51099906 * Units.MeV;
public static final double proton_mass_c2 = 938.27231 * Units.MeV;
public static final dou
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2004-09-09 20:36 colt\
目录 0 2004-09-09 20:35 colt\doc\
目录 0 2004-09-09 20:36 colt\doc\api\
目录 0 2004-09-09 20:36 colt\doc\api\cern\
目录 0 2004-09-09 20:36 colt\doc\api\cern\clhep\
目录 0 2004-09-09 20:36 colt\doc\api\cern\clhep\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\bitvector\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\bitvector\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\buffer\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\buffer\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\function\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\function\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\adapter\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\adapter\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\list\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\map\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\map\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\bench\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\bench\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\bench\doc-files\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\doc-files\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\doublealgo\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\doublealgo\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\impl\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\impl\class-use\
目录 0 2004-09-09 20:36 colt\doc\api\cern\colt\matrix\linalg\
............此处省略1128个文件信息
相关资源
- 用JAVA 编写的一个模拟操作系统含文件
- iText需要的jar包,java生成PDF开源jar包
- 大学Java课程PPT及源代码
- JavaWeb 系统共享跨域cookie的实现
- 基于java的物流管理系统
- 基于java的交友网站
- java mvc实现物流资源管理系统
- 学生教务管理系统JavaWeb+Mysql
- java即时聊天系统 毕业设计及毕业论文
- Java处理Excel文档需要的完整POI依赖j
- javamail实现邮件系统
- Java数字信号处理
- javaee 实现网上商城
- 基于java-web酒店管理系统前、后台
- java swing项目皮肤包+使用方法说明
- org.freejava.javasourceattacher_1.2.1.jar
- javaanpr国外车牌识别系统
- Java面试宝典2018年最新版
- java ee j2ee 帮助文档 java ee j2ee 帮助文
- JAVAWEB大作业报告书
- java 学习指南 适合初学者
- java桌面程序swing demo
- java读取firebird数据库+jar包
- 物流管理平台 java web 完整项目 包含源
- Java并发编程实战 (带完整书签扫描版
- JAVA图书馆管理系统含数据库
- ArcGIS Server Java ADF 案例教程.pdf
- java调用PageOffice的样例代码
- 数据库网上书店+java实现+连接数据库
- JoshuaBloch-EffectiveJava-Addison-Wesley2017.p
评论
共有 条评论