Pythia8-1 Pythia 的使用

mayflowers posted @ 2010年7月14日 21:15 in HEP , 1188 阅读

Pythia 的使用:

1、在主程序的开头:

#include "Pythia.h"

 或者

using namespace Pythia8;

2、生成对象:

Pythia mypythia;

生成的对象 mypythia 的一些属性或变量是按默认值初始化的,如果要改变一些设置或选项可以有两种方式(在mypythia.init()之前)

mypythia.readString(string); // 改变某个变量;

or 

mypythia.readFile(fileName); // 批量改变变量;

3、接下来初始化生成子。mypythia.init() 有几种不同的输入方式

mypythia.init(idA,idB,eA,eB);
mypythia.init(idA,idB,eCM);
mypythia.init(LHAini*,LHAevent*);
mypythia.init(fileName);
mypythia.init();

一旦 init() 运行过后,所有的变量都会传递到各个过程中去,这之后的 mypythia.readString() or readFile()是没用的。

4、生成事例:

mypythia.next();

结果可以用 mypythia.event 和 mypythia.process。

5、统计。

mypythia.statistics();

得出子过程的截面以及问题的数目(aborts, errors and warnings)。

Uttarakhand Board Mo 说:
2022年9月17日 17:24

Uttarakhand Board of School Education (UBSE) have introduced the Secondary Education Level 8th Standard Subject wide Sample Paper suggestions with Answers for all Languages & subject of High School Level Class 8th Standard Students to know the new exam scheme or question pattern of Term1 & Term2 exams. Uttarakhand Board Model Paper Class 8 Every year there are huge number of private school teaching staff and others have designed and suggested UK Board 8th Class Model Paper 2023 with Answer Solutions to practice with regular Mock Test to score top marks in all exams of UBSE. Advised to contact your class teacher to get most important questions of the lesson for all chapters of the course.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter