Skip to content
Snippets Groups Projects
Commit 8cdce837 authored by Elidiano Tronchin's avatar Elidiano Tronchin
Browse files

* Decommenting Cosmic rqy generator

	- Someone commented out the generqtor for some reasons
parent 9c5890aa
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
// Event Generator Class // Event Generator Class
#include "EventGeneratorIsotropic.hh" #include "EventGeneratorIsotropic.hh"
/* #include "EventGeneratorCosmic.hh" */ #include "EventGeneratorCosmic.hh"
#include "EventGeneratorMultipleParticle.hh" #include "EventGeneratorMultipleParticle.hh"
#include "EventGeneratorBeam.hh" #include "EventGeneratorBeam.hh"
...@@ -111,13 +111,13 @@ void PrimaryGeneratorAction::ReadEventGeneratorFile(string Path){ ...@@ -111,13 +111,13 @@ void PrimaryGeneratorAction::ReadEventGeneratorFile(string Path){
m_EventGenerator.push_back(myEventGenerator); m_EventGenerator.push_back(myEventGenerator);
} }
blocks.clear(); blocks.clear();
/* blocks = parser.GetAllBlocksWithToken("Cosmic"); */ blocks = parser.GetAllBlocksWithToken("Cosmic");
/* if (blocks.size()>0) { */ if (blocks.size()>0) {
/* NPS::VEventGenerator* myEventGenerator = new EventGeneratorCosmic(); */ NPS::VEventGenerator* myEventGenerator = new EventGeneratorCosmic();
/* myEventGenerator->ReadConfiguration(parser); */ myEventGenerator->ReadConfiguration(parser);
/* myEventGenerator->InitializeRootOutput(); */ myEventGenerator->InitializeRootOutput();
/* m_EventGenerator.push_back(myEventGenerator); */ m_EventGenerator.push_back(myEventGenerator);
/* } */ }
m_Target=m_detector->GetTarget(); m_Target=m_detector->GetTarget();
if(m_Target!=NULL){ if(m_Target!=NULL){
......
# Install script for directory: /home/lenain/nptool/NPSimulation/Detectors/beam_dump
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "Release")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
#add_library(NPSEventGenerator OBJECT EventGeneratorBeam.cc EventGeneratorMultipleParticle.cc EventGeneratorCosmic.cc EventGeneratorIsotropic.cc VEventGenerator.cc) add_library(NPSEventGenerator OBJECT EventGeneratorBeam.cc EventGeneratorMultipleParticle.cc EventGeneratorCosmic.cc EventGeneratorIsotropic.cc VEventGenerator.cc)
add_library(NPSEventGenerator OBJECT EventGeneratorBeam.cc EventGeneratorMultipleParticle.cc EventGeneratorIsotropic.cc VEventGenerator.cc)
#target_link_libraries(NPSEventGenerator ${ROOT_LIBRARIES} ${Geant4_LIBRARIES} ${NPLib_LIBRARIES} -lNPInitialConditions -lNPInteractionCoordinates ) #target_link_libraries(NPSEventGenerator ${ROOT_LIBRARIES} ${Geant4_LIBRARIES} ${NPLib_LIBRARIES} -lNPInitialConditions -lNPInteractionCoordinates )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment