diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index eb7c93b..5d144fb 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -84,9 +84,7 @@ target_link_libraries(${ELSPECTRO} ${ROOT_LIBRARIES} ) install(TARGETS ${ELSPECTRO} LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") -FILE(GLOB ROOT_ELSPECTRO_PCM ${CMAKE_BINARY_DIR}/${DIRNAME}/libelSpectro_rdict.pcm) - -install (FILES ${ROOT_ELSPECTRO_PCM} +install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libelSpectro_rdict.pcm DESTINATION "${CMAKE_INSTALL_LIBDIR}") #include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) diff --git a/core/DecayModelst.cpp b/core/DecayModelst.cpp index 6a6e404..b21afbd 100644 --- a/core/DecayModelst.cpp +++ b/core/DecayModelst.cpp @@ -152,7 +152,7 @@ namespace elSpectro{ for(int it=0;itPrint("RooFitIntegral"); - std::cout<<" ElectronScattering::IntegrateCrossSection() ROOFIT "<Dist().Integral()<Dist().Integral()<<" nb"<SetCombinedBranchingFraction(0.06); //Just Jpsi->e+e- generator().SetNEvents_via_LuminosityTime(nLumi,24*60*60*nDays); - //or can just do generator().SetNEvents(1E6); auto fastIntegral=production->IntegrateCrossSectionFast(); std::cout<<" check fast cross section "<