Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Susanne Glaessel
PFSimple
Commits
34fea773
Commit
34fea773
authored
Dec 18, 2020
by
Lubynets
Browse files
Merge branch 'code_review'
parents
1fb3317c
58997c09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Interface/CMakeLists.txt
View file @
34fea773
...
...
@@ -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
...
...
KFSimple/Constants.h
View file @
34fea773
...
...
@@ -36,7 +36,6 @@
kNumberOfTrackPars
};
constexpr
int
pdg_proton
=
2212
;
constexpr
int
pdg_pionMinus
=
-
211
;
constexpr
int
pdg_lambda
=
3122
;
...
...
KFSimple/SimpleFinder.cxx
View file @
34fea773
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment