Skip to content
Snippets Groups Projects
Commit 25b3a198 authored by Sergei Zharko's avatar Sergei Zharko
Browse files

linking KFParticle library to statndalone cbmreco

- using a KFParticle version with no ROOT dependencies
parent 172082af
No related branches found
No related tags found
1 merge request!2000Lambda-selector in cbmreco (first iteration)
......@@ -66,4 +66,3 @@ std::string CbmTofAddress::ToString(int32_t address)
msg << ", RpcType=" << setw(2) << CbmTofAddress::GetRpcType(address);
return msg.str();
}
......@@ -70,6 +70,7 @@ if(DOWNLOAD_EXTERNALS)
Include(InstallYamlCpp.cmake)
Include(InstallPoolSTL.cmake)
if (NOT CBM_ONLINE_STANDALONE) # Not required for online standalone
Include(InstallKFParticle.cmake)
......@@ -86,8 +87,22 @@ if(DOWNLOAD_EXTERNALS)
Include(InstallQa.cmake)
endif()
else()
# Download KFParticle source from the repository, but do not install it
download_project_if_needed(PROJECT kfparticle_source
GIT_REPOSITORY "https://github.com/szharko/KFParticle.git"
GIT_TAG "d088e3e019ac588a0528aa560ceaca247580d881" # CBM_ONLINE directive to turn off dependencies on ROOT
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/KFParticle
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
)
endif()
else()
# Define targets which are needed by CbmRoot but are not available
# whithout the external packages
......
......@@ -7,11 +7,11 @@
# \brief Standard configuration for the lambda finding in mCBM
# \author Sergei Zharko <s.zharko@gsi.de>
reconstruct_pdg: 3122 # Lambda -> pi- p
t0_offset: 0.12 # Time offset for T0 [ns]
qa_uncertainty: 0.1 # Assigned relative uncertainty for the q/p estimation
primary_pdg: 321 # Assigned PDG code for primary tracks
reconstruct_pdg: 3122 # Lambda -> pi- p
bmon_address: 0x00202806 # Address of reference BMON diamond
t0_offset: 0.12 # Time offset for T0 [ns]
qa_uncertainty: 0.1 # Assigned relative uncertainty for the q/p estimation
primary_pdg: 321 # Assigned PDG code for primary tracks
cuts: # Different cuts
kfp: # KFParticleFinder specific cuts
......
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