geant4

Geant4的PrimaryGenerator中获取世界大小

PrimaryGeneratorAction.cc #include "G4LogicalVolumeStore.hh"……void PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent) { G4LogicalVolume* worl ......
PrimaryGenerator 大小 Geant4 世界 Geant

Geant4调用DetectorConstruction和PrimaryGeneratorAction

在RunAction中调用DetectorConstruction和PrimaryGeneratorAction const auto* detectorConstruction = dynamic_cast< const DetectorConstruction* > (G4RunManager: ......

ubuntu20.4安装geant4和root

1.下载需要的软件包和数据包 下载root https://root.cern/install/all_releases 下载geant4 https://geant4.web.cern.ch/download/all 2.准备安装文件 在home目录下面创建一个geant4的文件夹 打开geant ......
ubuntu geant4 geant 20.4 root

ubuntu20.4安装geant4和root

#下载需要的软件包和数据包下载roothttps://root.cern/install/all_releases 下载geant4 https://geant4.web.cern.ch/download/all #在家目录下面创建一个geant4的文件夹 #打开geant4文件夹,在里面创建一个f ......
ubuntu geant4 geant 20.4 root

geant4基础操作

geant4官网:Geant4 (cern.ch) 打开B1实例的方法: 进入用户文件夹/geant4_workspace/B1/build 右键点击在终端中打开 输入 cmake .. 进行编译以及生成配置文件(预编译) 再输入make合并编译器生成的目标exampleB1可执行文件 输入./ex ......
基础 geant4 geant
共5篇  :1/1页 首页上一页1下一页尾页