-
Notifications
You must be signed in to change notification settings - Fork 0
/
index3.html
440 lines (285 loc) · 20.6 KB
/
index3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
<!DOCTYPE html>
<html lang="en">
<head>
<title>木大</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
<link href="zsneoks.github.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="木大 Atom Feed" />
<link href="zsneoks.github.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="木大 RSS Feed" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<header id="banner" class="body">
<h1><a href=".">木大 </a></h1>
<nav><ul>
<li ><a href="./category/Ganga.html">Ganga</a></li>
<li ><a href="./category/linux.html">linux</a></li>
<li ><a href="./category/关于.html">关于</a></li>
<li ><a href="./category/测试.html">测试</a></li>
<li ><a href="./category/物理.html">物理</a></li>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<ol id="posts-list" class="hfeed" start="6">
<li><article class="hentry">
<header>
<h1><a href="./search-engine.html" rel="bookmark"
title="Permalink to 学术搜索引擎-转载">学术搜索引擎-转载</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-08-11T00:00:00">
四 11 八月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/物理.html">物理</a>. </p>
<p>tags: <a href="./tag/学术.html">学术</a><a href="./tag/搜索.html">搜索</a></p>
</footer><!-- /.post-info -->
<p>1、<a href="http://cholar.google.com">http://scholar.google.com/</a></p>
<p>这个不多讲了. </p>
<p>2、http://qns.cc/ </p>
<p>后起之秀,科研人员的良好助手,上此网站的90%是从事科研的学生与老师。其词典搜索集成了目前市面上最好的在线英汉写作及科研词典,用此搜索引擎写作英文论文相当方便;其文献搜索集成了目前最优秀的数据库。</p>
<p>3、http://www.scirus.com </p>
<p>Scirus是目前互联网上最全面、综合性最强的科技文献搜索引擎之一,由Elsevier科学出 </p>
<p>版社开发,用于搜索期刊和专利,效果很不错!Scirus覆盖的学科范围包括:农业与生物 </p>
<p>学,天文学,生物科学,化学与化工,计算机科学,地球与行星科学,经济、金融与管理 </p>
<p>科学,工程、能源与技术,环境科学,语言学,法学,生命科学,材料科学,数学,医学 </p>
<p>,神经系统科学,药理学 ...</p>
<a class="readmore" href="./search-engine.html">read more</a>
<p>There are <a href="./search-engine.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./Geant4-sim-teach2.html" rel="bookmark"
title="Permalink to Geant4模拟总结(二)">Geant4模拟总结(二)</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-08-02T00:00:00">
二 02 八月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/物理.html">物理</a>. </p>
<p>tags: <a href="./tag/geant4.html">geant4</a><a href="./tag/模拟.html">模拟</a></p>
</footer><!-- /.post-info -->
<p>今天要讲的主要是DetectorConstructor的编写。</p>
<p>首先介绍下神马是DetectorConstructor。我们知道唱戏先得搭台子。创建编写DetectorConstructor类就是为模拟搭戏台舞台。比如你要模拟中子穿过晶体的过程。那么你首先得摆一块晶体。要摆一块晶体,除非你已经有一块形状尺寸材料都很理想的晶体了,然后你可以把它摆到某一个位置,放到位置后还可以再转一转方向什么的。否则,你就得自己去定义一块晶体出来,就像上边提到的,定义出晶体的材料、形状、尺寸。然后你就可以把这块晶体放到你想放置的位置了。</p>
<p><strong>首先</strong>,定义材料。比如你想用的材料是纯CsI材料。你要先定义Cs原子和I原子。你可以像这样来定义:</p>
<div class="codehilite"><pre><span class="n">G4Element</span><span class="o">*</span> <span class="n">elementCs</span> <span class="o">=</span> <span class="k">new</span> <span class="n">G4Element</span><span class="p">(</span> <span class="s">"Cesium"</span><span class="p">,</span> <span class="s">"Cs"</span><span class="p">,</span> <span class="mi">55</span><span class="o">.</span> <span class="p">,</span> <span class="mf">132.90543</span><span class="o">*</span><span class="n">g</span><span class="o">/</span><span class="n">mole</span> <span class="p">);</span>
<span class="n">G4Element</span><span class="o">*</span> <span class="n">elementI</span> <span class="o">=</span> <span class="k">new</span> <span class="n">G4Element</span><span class="p">(</span> <span class="s">"Iodine"</span><span class="p">,</span> <span class="s">"I"</span><span class="p">,</span> <span class="mi">53</span><span class="o">.</span> <span class="p">,</span> <span class="mf">126.90447</span><span class="o">*</span><span class="n">g</span><span class="o">/</span><span class="n">mole</span> <span class="p">);</span>
</pre></div>
<p>我们知道,上边的c++代码的语义是:第一行,创建一个指针elementCs,指向一个G4Element类的对象 ...</p>
<a class="readmore" href="./Geant4-sim-teach2.html">read more</a>
<p>There are <a href="./Geant4-sim-teach2.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./Geant4-1.html" rel="bookmark"
title="Permalink to Geant4模拟总结(一)">Geant4模拟总结(一)</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-07-29T00:00:00">
五 29 七月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/物理.html">物理</a>. </p>
<p>tags: <a href="./tag/geant4.html">geant4</a><a href="./tag/模拟.html">模拟</a><a href="./tag/学术.html">学术</a></p>
</footer><!-- /.post-info -->
<p>笔者是Geant4的初学者,在Geant4学习过程中经历了一段只有例程为师的“痛苦”历程(据说学习Geant4的各位前辈都经历过相同的磨练,并毅然决定把这种心灵与肉体的双重磨砺传播发扬下去。于是在神功初成之后就果断归隐山林,从此不为世人所知。=.- :))。</p>
<p>在摸索学习Geant4三个月后,笔者对Geant4的使用建立了初步基本的认识。一方面想整理自己对Geant4基本使用方法的粗浅认识,更好的组织和精练自己的知识系统;另一方面也想总结分享下自己学习Geant4的过程和方法以及一些体会,但愿能为后来的Geant4初学者提供绵薄微助。于是有了写这个系列博文的想法。(其实你能看到这些东西还有一个更大的原因,那就是笔者最近迷上了用wordpress写博客=.=!)</p>
<p>本文正如题目所说,是针对没有任何Geant4基础的初学者。不过笔者暂时还没有写如何安装Geant4的教程的想法。笔者也不打算普及计算机教育,默认读者有C++编程基础(如果你还不能阅读C++代码,那还是快先去学一学C++,不用对C++有多么深刻的体会和丰富的实践经验,你只要能读懂一个由数个或者十数个C++类写成的简单C++程序即可),因为Geant4是用C++编写的,你要在Geant4基础上开发模拟程序也要使用C++语言。(鉴于笔者的人生经验尚十分不丰富,如有出现不懂C++却依然能学好Geant4的,纯属奇迹,不管你信不信,反正笔者信;或者说,你丫就是天才!)</p>
<p>好言归正传!</p>
<p>先概括讲一下笔者对Geant4的整体印象。初识Geant4(就是半年前),是因为笔者的本科毕业设计是模拟宇宙线的一个小题目。还没怎么开始做,指导老师量才为用就中途给换了题目 ...</p>
<a class="readmore" href="./Geant4-1.html">read more</a>
<p>There are <a href="./Geant4-1.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./test2.html" rel="bookmark"
title="Permalink to test">test</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-07-29T00:00:00">
五 29 七月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/测试.html">测试</a>. </p>
<p>tags: <a href="./tag/test.html">test</a></p>
</footer><!-- /.post-info -->
<p>\ \ \ \ 测试段首空格。</p>
<a class="readmore" href="./test2.html">read more</a>
<p>There are <a href="./test2.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./markdown-syntax.html" rel="bookmark"
title="Permalink to MarkDown常用语法">MarkDown常用语法</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-07-28T00:00:00">
四 28 七月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/linux.html">linux</a>. </p>
<p>tags: <a href="./tag/linux.html">linux</a><a href="./tag/markdown.html">markdown</a></p>
</footer><!-- /.post-info -->
<p>纯为自己记录留用。主要选择自己现在初学者迫切需要的语法。日后熟悉了继续发展。</p>
<p>1、空一行(两个回车)分段</p>
<p>2、行末加两个或多个空格才是真正的换行,否则正常的一个回车就像在HTML代码中一样,被当作空
格处理 (很明显,我机器上并非如此,一个回车也被当回车入理了) <br />
3、插入链接:<a href="static/url">链接文字</a></p>
<p>4、图片跟链接很像,在前面加个叹号:![alt 文字](图片URL)</p>
<h2>标题</h2>
<p>用1-6个井号(#)开始一行表示这一行是标题,倒如:</p>
<div class="codehilite"><pre><span class="c">#一级标题</span>
<span class="c">##二级标题</span>
<span class="c">######六级标题</span>
</pre></div>
<blockquote>
<h1>一级标题</h1>
<h2>二级标题</h2>
<h6>六级标题</h6>
</blockquote>
<h2>blockquote</h2>
<p>用右尖括号(>)表示blockquote,你一定见过邮件中这样表示引用别人的内容。可以嵌套,可以包含其它的Markdown元素,例如:</p>
<div class="codehilite"><pre><span class="o">></span> <span class="c1">## This is a header.</span>
<span class="o">></span>
<span class="o">></span><span class="mi">1</span><span class="o">.</span> <span class="n">This</span> <span class="n">is</span> <span class="n">the</span> <span class="n">first ...</span></pre></div>
<a class="readmore" href="./markdown-syntax.html">read more</a>
<p>There are <a href="./markdown-syntax.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./photon-sim-promote.html" rel="bookmark"
title="Permalink to 光学过程模拟方法细节promote">光学过程模拟方法细节promote</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-07-27T00:00:00">
三 27 七月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/物理.html">物理</a>. </p>
<p>tags: <a href="./tag/模拟.html">模拟</a><a href="./tag/geant4.html">geant4</a><a href="./tag/物理.html">物理</a></p>
</footer><!-- /.post-info -->
<p>光学过程细节要考虑淬灭因子,且原子核淬灭与阿尔法粒子与电子(几乎无淬灭)的淬灭因子都不同。要在physicalList中重写不同粒子的闪烁过程,计算闪烁光子数时分别乘上不同的淬灭因子。详细闪烁过程的编写参考G4dyb项目中的Scintillation类。</p>
<a class="readmore" href="./photon-sim-promote.html">read more</a>
<p>There are <a href="./photon-sim-promote.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./script-high.html" rel="bookmark"
title="Permalink to 代码高亮测试">代码高亮测试</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-07-27T00:00:00">
三 27 七月 2011
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/木大.html">木大</a>
</address>
<p>In <a href="./category/测试.html">测试</a>. </p>
<p>tags: <a href="./tag/test.html">test</a></p>
</footer><!-- /.post-info -->
<p>如下:</p>
<div class="codehilite"><pre><span class="nt"><div</span> <span class="na">id=</span><span class="s">”foo”</span><span class="nt">></span>
<span class="cp"><?php</span>
<span class="k">function</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
<span class="k">echo</span> <span class="s2">"Hello World!</span><span class="se">\\</span><span class="s2">n"</span><span class="p">;</span>
<span class="p">}</span>
<span class="k">for</span> <span class="p">(</span><span class="nx">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="nx">i</span> <span class="o"><</span> <span class="mi">10</span> <span class="nx">i</span><span class="o">++</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">foo</span><span class="p">();</span>
<span class="p">}</span>
<span class="cp">?></span>
<span class="nt"></div></span>
</pre></div>
<p>Here is an example of AppleScript:</p>
<div class="codehilite"><pre><span class="nb">tell</span> <span class="n">application</span> <span class="s">"Foo"</span>
<span class="n">beep</span>
<span class="n">end</span> <span class="nb">tell</span>
</pre></div>
<a class="readmore" href="./script-high.html">read more</a>
<p>There are <a href="./script-high.html#disqus_thread">comments</a>.</p>
</div><!-- /.entry-content -->
</article></li>
</ol><!-- /#posts-list -->
<p class="paginator">
<a href="./index2.html">«</a>
Page 3 / 4
<a href="./index4.html">»</a>
</p>
</section><!-- /#content -->
<section id="extras" class="body">
<div class="blogroll">
<h2>blogroll</h2>
<ul>
<li><a href="http://docs.notmyidea.org/alexis/pelican/">Pelican</a></li>
<li><a href="http://python.org">Python.org</a></li>
<li><a href="http://jinja.pocoo.org">Jinja2</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="zsneoks.github.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
<li><a href="zsneoks.github.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
<li><a href="http://twitter.com/zsneoks">twitter</a></li>
<li><a href="http://lastfm.com/user/zsneoks">lastfm</a></li>
<li><a href="http://github.com/zsneoks">github</a></li>
</ul>
</div><!-- /.social -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-32881388-1");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript">
var disqus_shortname = 'zsneoks';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>