B1's deleted

parent d7c24a76
...@@ -28,24 +28,24 @@ include_directories(${PROJECT_SOURCE_DIR}/include) ...@@ -28,24 +28,24 @@ include_directories(${PROJECT_SOURCE_DIR}/include)
# Locate sources and headers for this project # Locate sources and headers for this project
# NB: headers are included so they will show up in IDEs # NB: headers are included so they will show up in IDEs
# #
set(PROJECT_SRC set(PROJECT_SRC
src/B1ActionInitialization.cc src/ActionInitialization.cc
src/B1DetectorConstruction.cc src/DetectorConstruction.cc
src/B1EventAction.cc src/EventAction.cc
src/B1PrimaryGeneratorAction.cc src/PrimaryGeneratorAction.cc
src/B1RunAction.cc src/RunAction.cc
src/B1SteppingAction.cc src/SteppingAction.cc
) )
set(PROJECT_HEADER set(PROJECT_HEADER
include/B1ActionInitialization.hh include/ActionInitialization.hh
include/B1DetectorConstruction.hh include/DetectorConstruction.hh
include/B1EventAction.hh include/EventAction.hh
include/B1PrimaryGeneratorAction.hh include/PrimaryGeneratorAction.hh
include/B1RunAction.hh include/RunAction.hh
include/B1SteppingAction.hh include/SteppingAction.hh
include/B1Analysis.hh include/Analysis.hh
) )
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
...@@ -60,8 +60,8 @@ target_link_libraries(cosmic_rays ${Geant4_LIBRARIES}) ...@@ -60,8 +60,8 @@ target_link_libraries(cosmic_rays ${Geant4_LIBRARIES})
# relies on these scripts being in the current working directory. # relies on these scripts being in the current working directory.
# #
set(EXAMPLEB1_SCRIPTS set(EXAMPLEB1_SCRIPTS
exampleB1.in
exampleB1.out
init_vis.mac init_vis.mac
run1.mac run1.mac
run2.mac run2.mac
...@@ -81,5 +81,3 @@ endforeach() ...@@ -81,5 +81,3 @@ endforeach()
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX # Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
# #
install(TARGETS cosmic_rays DESTINATION bin) install(TARGETS cosmic_rays DESTINATION bin)
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
/// \file exampleB1.cc /// \file exampleB1.cc
/// \brief Main program of the B1 example /// \brief Main program of the B1 example
#include "B1DetectorConstruction.hh" #include "DetectorConstruction.hh"
#include "B1ActionInitialization.hh" #include "ActionInitialization.hh"
#ifdef G4MULTITHREADED #ifdef G4MULTITHREADED
#include "G4MTRunManager.hh" #include "G4MTRunManager.hh"
...@@ -71,7 +71,7 @@ int main(int argc,char** argv) ...@@ -71,7 +71,7 @@ int main(int argc,char** argv)
// Set mandatory initialization classes // Set mandatory initialization classes
// //
// Detector construction // Detector construction
runManager->SetUserInitialization(new B1DetectorConstruction()); runManager->SetUserInitialization(new DetectorConstruction());
// Physics list - FTFP_BERT - p/shower // Physics list - FTFP_BERT - p/shower
// added verbose to the physics list // added verbose to the physics list
...@@ -80,7 +80,7 @@ int main(int argc,char** argv) ...@@ -80,7 +80,7 @@ int main(int argc,char** argv)
runManager->SetUserInitialization(physicsList); runManager->SetUserInitialization(physicsList);
// User action initialization // User action initialization
runManager->SetUserInitialization(new B1ActionInitialization()); runManager->SetUserInitialization(new ActionInitialization());
// Initialize visualization // Initialize visualization
// (if you don't want the image, just delete the G4VisManager objetc and everything that concerns it) // (if you don't want the image, just delete the G4VisManager objetc and everything that concerns it)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment