Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
394b7e37
Commit
394b7e37
authored
1 month ago
by
Sergei Zharko
Browse files
Options
Downloads
Patches
Plain Diff
online: remove temporary debugging output
parent
a8616985
No related branches found
No related tags found
1 merge request
!2000
Lambda-selector in cbmreco (first iteration)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
algo/CMakeLists.txt
+2
-2
2 additions, 2 deletions
algo/CMakeLists.txt
algo/detectors/tof/Clusterizer.cxx
+0
-21
0 additions, 21 deletions
algo/detectors/tof/Clusterizer.cxx
algo/kfp/interface/CMakeLists.txt
+14
-18
14 additions, 18 deletions
algo/kfp/interface/CMakeLists.txt
with
16 additions
and
41 deletions
algo/CMakeLists.txt
+
2
−
2
View file @
394b7e37
...
...
@@ -227,7 +227,7 @@ target_link_libraries(Algo
external::fles_monitoring
cppzmq
poolstl
CbmKFParticleOnlineInterface
PRIVATE
CbmKFParticleOnlineInterface
)
target_compile_definitions
(
Algo PUBLIC NO_ROOT
)
xpu_attach
(
Algo
${
DEVICE_SRCS
}
)
...
...
@@ -301,7 +301,7 @@ if (NOT CBM_ONLINE_STANDALONE)
external::fles_monitoring
cppzmq
poolstl
CbmKFParticleO
ff
lineInterface
PRIVATE
CbmKFParticleO
n
lineInterface
)
xpu_attach
(
AlgoOffline
${
DEVICE_SRCS
}
)
...
...
This diff is collapsed.
Click to expand it.
algo/detectors/tof/Clusterizer.cxx
+
0
−
21
View file @
394b7e37
...
...
@@ -12,9 +12,6 @@
#include
<iomanip>
#include
<iostream>
#include
<map>
#include
<numeric>
#include
<fmt/format.h>
namespace
cbm
::
algo
::
tof
{
...
...
@@ -52,8 +49,6 @@ namespace cbm::algo::tof
//Iterator-based version. Faster than index-based version.
Clusterizer
::
resultType
Clusterizer
::
buildClusters
(
std
::
vector
<
inputType
>&
input
)
{
size_t
nInputDigis
{
std
::
accumulate
(
input
.
begin
(),
input
.
end
(),
0
,
[](
size_t
s
,
const
auto
&
v
)
{
return
s
+
v
.
size
();
})};
// Hit variables
Hit
cluster
;
...
...
@@ -77,10 +72,6 @@ namespace cbm::algo::tof
lastChanPos
.
push_back
(
input
[
chan
].
begin
());
}
size_t
nInputDigisUsed
{
0
};
if
(
nInputDigis
>
0
)
{
//std::cout << "------------- call: buildClusters: number of digis: " << nInputDigis << '\n';
}
for
(
int32_t
chan
=
0
;
(
size_t
)
chan
<
numChan
;
chan
++
)
{
// Set partition vectors
...
...
@@ -92,17 +83,9 @@ namespace cbm::algo::tof
chanSizes
.
back
()
=
0
;
continue
;
}
nInputDigisUsed
+=
input
[
chan
].
size
();
inputType
&
storDigi
=
input
[
chan
];
auto
digiIt
=
storDigi
.
begin
();
if
(
std
::
distance
(
storDigi
.
begin
(),
storDigi
.
end
()))
{
//std::cout << "DISTANCE: " << std::distance(storDigi.begin(), storDigi.end()) << '\n';
for
(
const
auto
&
digi
:
storDigi
)
{
std
::
string
sAddress
=
fmt
::
format
(
"{:#08x}"
,
digi
.
first
->
GetAddress
());
//std::cout << " " << digi.first->GetTime() << "ns, address: " << sAddress << '\n';
}
}
while
(
1
<
std
::
distance
(
digiIt
,
storDigi
.
end
()))
{
while
(
digiIt
->
first
->
GetSide
()
==
std
::
next
(
digiIt
)
->
first
->
GetSide
())
{
// Not one Digi of each end!
digiIt
++
;
...
...
@@ -197,10 +180,6 @@ namespace cbm::algo::tof
storDigi
.
clear
();
}
// for( int32_t chan = 0; chan < iNbCh; chan++ )
//if (nInputDigis> 0) {
// std::cout << ">>>>>> " << nInputDigisUsed << "/" << nInputDigis << '\n';
//}
// Now check if another hit/cluster is started
// and save it if it's the case.
if
(
0
<
cluster
.
numChan
())
{
...
...
This diff is collapsed.
Click to expand it.
algo/kfp/interface/CMakeLists.txt
+
14
−
18
View file @
394b7e37
# The script creates two libraries:
# 1) CbmKFParticleOnlineInterface -- a specific KFParticle library interface for the CBM online reconstruction;
# 2) CbmKFParticleOfflineInterface -- a specific interface for the offline reconstruction in CBM.
# The both libraries contain only the KFParticle core and do not include KFParticleTest or KFParticlePerformance.
if
(
NOT CBM_ONLINE_STANDALONE
)
### CbmKFParticleOnlineInterface
add_library
(
CbmKFParticleOnlineInterface INTERFACE
)
...
...
@@ -12,17 +5,19 @@ if(NOT CBM_ONLINE_STANDALONE)
target_compile_definitions
(
CbmKFParticleOnlineInterface
INTERFACE DO_TPCCATRACKER_EFF_PERFORMANCE NonhomogeneousField CBM USE_TIMERS
)
target_link_libraries
(
CbmKFParticleOnlineInterface
INTERFACE ROOT::Core ROOT::Hist ROOT::MathCore KFParticle
)
INTERFACE KFParticle
ROOT::Core
ROOT::Hist
ROOT::MathCore
ROOT::Gpad
ROOT::Graf
ROOT::Physics
ROOT::EG
ROOT::RIO
ROOT::Tree
ROOT::MathCore
)
install
(
TARGETS CbmKFParticleOnlineInterface DESTINATION lib
)
### CbmKFParticleOfflineInterface
add_library
(
CbmKFParticleOfflineInterface INTERFACE
)
target_include_directories
(
CbmKFParticleOfflineInterface INTERFACE
)
target_compile_definitions
(
CbmKFParticleOfflineInterface
INTERFACE DO_TPCCATRACKER_EFF_PERFORMANCE NonhomogeneousField CBM USE_TIMERS
)
target_link_libraries
(
CbmKFParticleOfflineInterface
INTERFACE ROOT::Core ROOT::Hist ROOT::MathCore KFParticle
)
install
(
TARGETS CbmKFParticleOfflineInterface DESTINATION lib
)
else
()
# Creating a replacement of the CbmKFParticleOnlineInterface library for a standalone mode
set
(
KFP_SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../external/KFParticle/KFParticle
)
...
...
@@ -48,6 +43,7 @@ else()
target_compile_definitions
(
CbmKFParticleOnlineInterface PUBLIC NonhomogeneousField CBM CBM_ONLINE
)
target_link_libraries
(
CbmKFParticleOnlineInterface
PUBLIC Vc::Vc
ROOT::Core
)
ROOT::Core
)
install
(
TARGETS CbmKFParticleOnlineInterface DESTINATION lib
)
endif
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment