From 623a9db84db12e4e58ee5f0ce2261796993d05f5 Mon Sep 17 00:00:00 2001 From: YiHui Liu Date: Fri, 29 Apr 2022 14:59:21 +0800 Subject: [PATCH] add: root path --- .vscode/c_cpp_properties.json | 3 ++- src/RunAction.cc | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 66fe773..e7c0bb4 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -5,7 +5,8 @@ "includePath": [ "${default}", "${workspaceFolder}/include", - "D:/Geant4/dist/include/Geant4" + "D:/Geant4/dist/include/Geant4", + "D:/ROOT/include" ], "defines": [ "_DEBUG", diff --git a/src/RunAction.cc b/src/RunAction.cc index 9b9c0a2..8da5306 100644 --- a/src/RunAction.cc +++ b/src/RunAction.cc @@ -16,7 +16,6 @@ namespace B1 { RunAction::RunAction() { // 定义剂量的单位,以 Gy 为准 - // const G4double milligray = 1.e-3 * gray; const G4double microgray = 1.e-6 * gray; const G4double nanogray = 1.e-9 * gray;