Commit 34fea773 authored by Lubynets's avatar Lubynets
Browse files

Merge branch 'code_review'

parents 1fb3317c 58997c09
......@@ -22,8 +22,7 @@ target_link_libraries(KFParticleInterface ${ROOT_LIBRARIES} KFParticle ${Vc_LIBR
add_target_property(KFParticleInterface COMPILE_FLAGS "-DDO_TPCCATRACKER_EFF_PERFORMANCE -DNonhomogeneousField -DCBM -DUSE_TIMERS")
set(PCM_FILE_NAME libKFParticleInterface)
install(FILES ${HEADERS} ${NODICT_HEADERS} DESTINATION include)
#install(FILES ${CMAKE_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}KFParticle.rootmap DESTINATION lib)
install(FILES ${HEADERS} DESTINATION include)
install(TARGETS KFParticleInterface EXPORT KFParticleSimpleTargets
LIBRARY DESTINATION lib
......
......@@ -36,7 +36,6 @@
kNumberOfTrackPars
};
constexpr int pdg_proton = 2212;
constexpr int pdg_pionMinus = -211;
constexpr int pdg_lambda = 3122;
......
......@@ -161,7 +161,6 @@ KFParticleSIMD SimpleFinder::ConstructMother(const KFPTrack &track1, const int p
float SimpleFinder::CalculateChi2Geo(const KFParticleSIMD& mother) const
{
float_v chi2 = mother.Chi2()/simd_cast<float_v>(mother.NDF());
return chi2[0];
}
......@@ -181,10 +180,11 @@ void SimpleFinder::CalculateMotherProperties(const KFParticleSIMD& mother, float
l = l_Simd[0];
ldl = l_Simd[0]/dl_Simd[0];
if(isFromPV_Simd[0] == true)
isFromPV = 1;
else
isFromPV = 0;
isFromPV = isFromPV_Simd[0];
// if(isFromPV_Simd[0] == true)
// isFromPV = 1;
// else
// isFromPV = 0;
}
float SimpleFinder::CalculateCosTopo(const KFParticleSIMD& mother) const
......
Supports Markdown
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