Skip to content

Commit

Permalink
Merge pull request #22 from vlvovch/devel
Browse files Browse the repository at this point in the history
Merge from devel
  • Loading branch information
vlvovch authored Jul 22, 2019
2 parents 9d5ccda + 9caec62 commit 3855e6d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/library/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")

set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")

# Properties->C/C++->General->Additional Include Directories
include_directories ("${PROJECT_SOURCE_DIR}/include"
Expand Down Expand Up @@ -154,7 +154,7 @@ target_include_directories(ThermalFIST PUBLIC
"${PROJECT_BINARY_DIR}/include"
"${PROJECT_SOURCE_DIR}/thirdparty/MersenneTwister")

install (TARGETS ThermalFIST
ARCHIVE DESTINATION ${PROJECT_BINARY_DIR}/lib)
#install (TARGETS ThermalFIST
# ARCHIVE DESTINATION ${PROJECT_BINARY_DIR}/lib)


8 changes: 4 additions & 4 deletions src/library/HRGBase/ThermalModelBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -946,17 +946,17 @@ namespace thermalfist {
int c1 = 0;
//if (i == 0) c1 = m_TPS->Particles()[k].BaryonCharge();
if (i == 0) c1 = 1 * (m_TPS->Particles()[k].PdgId() == 2212) - 1 * (m_TPS->Particles()[k].PdgId() == -2212);
//if (i == 1) c1 = m_TPS->Particles()[k].ElectricCharge();
if (i == 1) c1 = 1 * (m_TPS->Particles()[k].PdgId() == 211) - 1 * (m_TPS->Particles()[k].PdgId() == -211);
if (i == 1) c1 = m_TPS->Particles()[k].ElectricCharge();
//if (i == 1) c1 = 1 * (m_TPS->Particles()[k].PdgId() == 211) - 1 * (m_TPS->Particles()[k].PdgId() == -211);
if (i == 2) c1 = 1 * (m_TPS->Particles()[k].PdgId() == 321) - 1 * (m_TPS->Particles()[k].PdgId() == -321);
if (i == 3) c1 = m_TPS->Particles()[k].Charm();
for (size_t kp = 0; kp < m_TotalCorrel.size(); ++kp) {
if (m_TPS->Particles()[kp].IsStable()) {
int c2 = 0;
//if (j == 0) c2 = m_TPS->Particles()[kp].BaryonCharge();
if (j == 0) c2 = 1 * (m_TPS->Particles()[kp].PdgId() == 2212) - 1 * (m_TPS->Particles()[kp].PdgId() == -2212);
//if (j == 1) c2 = m_TPS->Particles()[kp].ElectricCharge();
if (j == 1) c2 = 1 * (m_TPS->Particles()[kp].PdgId() == 211) - 1 * (m_TPS->Particles()[kp].PdgId() == -211);
if (j == 1) c2 = m_TPS->Particles()[kp].ElectricCharge();
//if (j == 1) c2 = 1 * (m_TPS->Particles()[kp].PdgId() == 211) - 1 * (m_TPS->Particles()[kp].PdgId() == -211);
if (j == 2) c2 = 1 * (m_TPS->Particles()[kp].PdgId() == 321) - 1 * (m_TPS->Particles()[kp].PdgId() == -321);
if (j == 3) c2 = m_TPS->Particles()[kp].Charm();
m_ProxySusc[i][j] += c1 * c2 * m_TotalCorrel[k][kp];
Expand Down
5 changes: 3 additions & 2 deletions thirdparty/Minuit2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")

# Minuit2 headers
file (GLOB HEADERS_MINUIT
Expand All @@ -18,7 +19,7 @@ target_include_directories(Minuit2 PUBLIC "Minuit/include")

set_property(TARGET Minuit2 PROPERTY FOLDER "libraries")

install (TARGETS Minuit2
ARCHIVE DESTINATION ${PROJECT_BINARY_DIR}/lib)
#install (TARGETS Minuit2
# ARCHIVE DESTINATION ${PROJECT_BINARY_DIR}/lib)


0 comments on commit 3855e6d

Please sign in to comment.