Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geant4-projects
cosmic-rays
Commits
71fb2efc
Commit
71fb2efc
authored
Jul 18, 2019
by
MARCOS ANTONIO DE OLIVEIRA DEROS
Browse files
B1's deleted
parent
d7c24a76
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
71fb2efc
...
...
@@ -28,24 +28,24 @@ include_directories(${PROJECT_SOURCE_DIR}/include)
# Locate sources and headers for this project
# NB: headers are included so they will show up in IDEs
#
set
(
PROJECT_SRC
set
(
PROJECT_SRC
src/
B1
ActionInitialization.cc
src/
B1
DetectorConstruction.cc
src/
B1
EventAction.cc
src/
B1
PrimaryGeneratorAction.cc
src/
B1
RunAction.cc
src/
B1
SteppingAction.cc
src/ActionInitialization.cc
src/DetectorConstruction.cc
src/EventAction.cc
src/PrimaryGeneratorAction.cc
src/RunAction.cc
src/SteppingAction.cc
)
set
(
PROJECT_HEADER
include/
B1
ActionInitialization.hh
include/
B1
DetectorConstruction.hh
include/
B1
EventAction.hh
include/
B1
PrimaryGeneratorAction.hh
include/
B1
RunAction.hh
include/
B1
SteppingAction.hh
include/
B1
Analysis.hh
set
(
PROJECT_HEADER
include/ActionInitialization.hh
include/DetectorConstruction.hh
include/EventAction.hh
include/PrimaryGeneratorAction.hh
include/RunAction.hh
include/SteppingAction.hh
include/Analysis.hh
)
#----------------------------------------------------------------------------
...
...
@@ -60,8 +60,8 @@ target_link_libraries(cosmic_rays ${Geant4_LIBRARIES})
# relies on these scripts being in the current working directory.
#
set
(
EXAMPLEB1_SCRIPTS
exampleB1.in
exampleB1.out
init_vis.mac
run1.mac
run2.mac
...
...
@@ -81,5 +81,3 @@ endforeach()
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install
(
TARGETS cosmic_rays DESTINATION bin
)
cosmic_rays.cc
View file @
71fb2efc
...
...
@@ -27,8 +27,8 @@
/// \file exampleB1.cc
/// \brief Main program of the B1 example
#include "
B1
DetectorConstruction.hh"
#include "
B1
ActionInitialization.hh"
#include "DetectorConstruction.hh"
#include "ActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
...
...
@@ -71,7 +71,7 @@ int main(int argc,char** argv)
// Set mandatory initialization classes
//
// Detector construction
runManager
->
SetUserInitialization
(
new
B1
DetectorConstruction
());
runManager
->
SetUserInitialization
(
new
DetectorConstruction
());
// Physics list - FTFP_BERT - p/shower
// added verbose to the physics list
...
...
@@ -80,7 +80,7 @@ int main(int argc,char** argv)
runManager
->
SetUserInitialization
(
physicsList
);
// User action initialization
runManager
->
SetUserInitialization
(
new
B1
ActionInitialization
());
runManager
->
SetUserInitialization
(
new
ActionInitialization
());
// Initialize visualization
// (if you don't want the image, just delete the G4VisManager objetc and everything that concerns it)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment