freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

geant4系列講座二-在線瀏覽

2024-11-17 04:42本頁面
  

【正文】 tionmass=70*perCent)。,第十頁,共二十九頁。 G4Material* H2O = manFindOrBuildMaterial(“G4_WATER“)。 同位素定義: G4Isotope* U5 = new G4Isotope( name=“U235“, iz=92, n=235, a=235.01*g/mole)。 G4Element* elU = new G4Element( name=“enriched Uranium”, symbol=“U”, ncomponents )。 elUAddIsotope(U8, abundance= 10.*perCent)。,三、Geant4中使用物理量的單位,基本單位: Geant4中用戶可以為選定的物理量選擇各種單位,但是 Geant4內(nèi)核內(nèi)定義了如下基本單位: millimeter (mm) nanosecond (ns) Mega electron Volt (MeV) positron charge (eplus) degree Kelvin (kelvin) the amount of substance (mole) luminous intensity (candela) radian (radian) steradian (steradian) 其它所有單位都以上述單位為基礎(chǔ)得到,如: Millimeter= mm =1; Meter = m =1000*mm;,第十二頁,共二十九頁。 同樣,如果數(shù)據(jù)為數(shù)組格式或者從文件讀入,也必須帶有單位,如: for (int j=0, jjmax, j++) CrossSection[j] *= millibarn。 G4cout density/(g/cm3) “ g/cm3“。,第十三頁,共二十九頁。模型中最大的“體”稱為“世界體”(World Volume),其它的體都位于世界體內(nèi)部。 Geant4中的體的定義包含三個層次: 1.定義幾何形狀; 2.定義物理屬性; 3.定義所在母體的位置;,第十四頁,共二十九頁。 G4double expHall_y = 40.0*m。 G4Box* experimentalHall_box = new G4Box(“expHall_box“,expHall_x,expHall_y,expHall_z)。,第十五頁,共二十九頁。 給定物理屬性指向的幾何體,該幾何體對應(yīng)的物 質(zhì),該幾何體的名稱等信息。 ,第十六頁,共二十九頁。 G4double trackerPos_y = 0.0*meter。 G4VPhysicalVolume* tracker_phys = new G4PVPlacement(0, // no rotation G4ThreeVector(trackerPos_x,trackerPos_y,trackerPos_z), // translation position tracker_log, // its logical volume “tracker“, // its name experimentalHall_log, // its mother (logical) volume false, // no boolean operations 0)。,復(fù)雜幾何體結(jié)構(gòu) C++循環(huán)設(shè)計 G4double calo_x = 1.*cm。 G4double calo_z = 40.*cm。 calorimeterLayer_log = new G4LogicalVolume(calorimeterLayer_box, Al,“caloLayer_log“,0,0,0)。i19。 G4double caloPos_y = 0.0*m。 calorimeterLayer_phys = new G4PVPlacement(0, G4ThreeVector(caloPos_x,caloPos_y,caloPos_z), calorimeterLayer_log,“caloLayer“,calorimeterBlock_log,false,i)。,幾何結(jié)構(gòu)顯示的顏色和半透明處理 include “G4VisAttributes.hh“ include “G4Colour.hh “ ……… ……… /**Colour of the volume**/ experimentalHall_logSetVisAttributes(G4Colour(0,0,0))。 calorimeterBlock_logSetVisAttributes(G4Colour(0,2,0,0))。,RGB配色,G4Colour(0,1,1,
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1