| 5 | 1/1 | 返回列表 |
| 查看: 1814 | 回復: 5 | |||
| 當前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | |||
玲瓏133新蟲 (著名寫手)
|
[求助]
geant4模擬怎樣添加物理過程才能產(chǎn)生熒光
|
||
|
我在做geant4的模擬,在定義物理過程時不知道怎樣定義有關熒光產(chǎn)生的過程。我只找到了躍遷輻射(G4TransitionRaidiation),但是不知道怎樣添加這個過程。在此需求有關熒光的簡單實例(geant4中自帶的xrf實例除外)中物理過程的定義方法,謝謝大家!由于小弟只有1.8個金幣了,所以只能懸賞一個,不過這幾天我會好好賺金幣追加給您的,謝謝! [ Last edited by 玲瓏133 on 2012-12-10 at 19:58 ] |

|
G4OpticalPhysics* opticalPhysics = new G4OpticalPhysics(); RegisterPhysics( opticalPhysics ); opticalPhysics->SetWLSTimeProfile("delta" ;opticalPhysics->SetScintillationYieldFactor(1.5); opticalPhysics->SetScintillationExcitationRatio(0.); opticalPhysics->SetMaxNumPhotonsPerStep(100); opticalPhysics->SetMaxBetaChangePerStep(10.0); opticalPhysics->SetTrackSecondariesFirst(kCerenkov,true); opticalPhysics->SetTrackSecondariesFirst(kScintillation,true); |
新蟲 (著名寫手)

|
opticalPhysics->SetTrackSecondariesFirst(kCerenkov,true); opticalPhysics->SetTrackSecondariesFirst(kScintillation,true); 在這兩行定義首先跟蹤熒光粒子,但是在編譯中出現(xiàn)了錯誤如下: src/PhysicsList.cc:65:44: error: ‘kCerenkov’ was not declared in this scope src/PhysicsList.cc:66:44: error: ‘kScintillation’ was not declared in this scope 頭文件里已經(jīng)包含了“G4OpticalPhysics.hh", 本人新手,實在不知道哪里出問題了 求高手解答~ |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 265求調(diào)劑 +5 | 梁梁校校 2026-03-19 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 求調(diào)劑 +3 | 暗涌afhb 2026-03-16 | 3/150 |
|
|
[考研] 一志愿吉林大學材料學碩321求調(diào)劑 +9 | Ymlll 2026-03-18 | 12/600 |
|
|
[考博] 申博26年 +3 | 八6八68 2026-03-19 | 3/150 |
|
|
[考研] 0703化學調(diào)劑 ,六級已過,有科研經(jīng)歷 +12 | 曦熙兮 2026-03-15 | 12/600 |
|
|
[考研] 【考研調(diào)劑】化學專業(yè) 281分,一志愿四川大學,誠心求調(diào)劑 +5 | 吃吃吃才有意義 2026-03-19 | 5/250 |
|
|
[考研] 招收調(diào)劑碩士 +4 | lidianxing 2026-03-19 | 10/500 |
|
|
[考研] 266求調(diào)劑 +5 | 陽陽哇塞 2026-03-14 | 10/500 |
|
|
[考研] 一志愿天津大學化學工藝專業(yè)(081702)315分求調(diào)劑 +11 | yangfz 2026-03-17 | 11/550 |
|
|
[考研] 281求調(diào)劑(0805) +9 | 煙汐憶海 2026-03-16 | 19/950 |
|
|
[考研] 0817調(diào)劑 +3 | 沒有答案_ 2026-03-14 | 3/150 |
|
|
[考博] 環(huán)境領域全國重點實驗室招收博士1-2名 +3 | QGZDSYS 2026-03-13 | 5/250 |
|
|
[考研] 0703化學求調(diào)劑 總分331 +3 | ZY-05 2026-03-13 | 3/150 |
|
|
[考研] 265求調(diào)劑 +3 | 梁梁校校 2026-03-17 | 3/150 |
|
|
[考研] 334求調(diào)劑 +3 | 志存高遠意在機?/a> 2026-03-16 | 3/150 |
|
|
[考研] 308求調(diào)劑 +4 | 是Lupa啊 2026-03-16 | 4/200 |
|
|
[考研] 327求調(diào)劑 +6 | 拾光任染 2026-03-15 | 11/550 |
|
|
[考研] 288求調(diào)劑 +4 | 奇點0314 2026-03-14 | 4/200 |
|
|
[考研] 一志愿哈工大材料324分求調(diào)劑 +5 | 閆旭東 2026-03-14 | 5/250 |
|
|
[考研] 304求調(diào)劑 +7 | 7712b 2026-03-13 | 7/350 |
|