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
3d89e885
Commit
3d89e885
authored
2 years ago
by
Felix Weiglhofer
Browse files
Options
Downloads
Patches
Plain Diff
Sts Reco: Temporarily disable GPU version.
parent
bce49b46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1070
Move STS Gpu Hitfinder into algo namespace.
Pipeline
#22215
failed
2 years ago
Stage: documentation
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
reco/detectors/sts/CbmRecoSts.cxx
+8
-0
8 additions, 0 deletions
reco/detectors/sts/CbmRecoSts.cxx
reco/detectors/sts/CbmRecoSts.h
+1
-2
1 addition, 2 deletions
reco/detectors/sts/CbmRecoSts.h
with
9 additions
and
2 deletions
reco/detectors/sts/CbmRecoSts.cxx
+
8
−
0
View file @
3d89e885
...
@@ -491,6 +491,14 @@ void CbmRecoSts::InitParams()
...
@@ -491,6 +491,14 @@ void CbmRecoSts::InitParams()
}
}
// -------------------------------------------------------------------------
// -------------------------------------------------------------------------
// -------------------------------------------------------------------------
void
CbmRecoSts
::
SetUseGpuReco
(
bool
useGpu
)
{
LOG_IF
(
warn
,
useGpu
)
<<
"CbmRecoSts: GPU STS reconstruction temporarily disabled! Will use CPU reco instead."
;
fUseGpuReco
=
false
;
}
// -------------------------------------------------------------------------
// ----- Calculate the mean Lorentz shift in a sensor ------------------
// ----- Calculate the mean Lorentz shift in a sensor ------------------
std
::
pair
<
Double_t
,
Double_t
>
CbmRecoSts
::
LorentzShift
(
const
CbmStsParSensorCond
&
conditions
,
Double_t
dZ
,
Double_t
bY
)
std
::
pair
<
Double_t
,
Double_t
>
CbmRecoSts
::
LorentzShift
(
const
CbmStsParSensorCond
&
conditions
,
Double_t
dZ
,
Double_t
bY
)
...
...
This diff is collapsed.
Click to expand it.
reco/detectors/sts/CbmRecoSts.h
+
1
−
2
View file @
3d89e885
...
@@ -118,8 +118,7 @@ public:
...
@@ -118,8 +118,7 @@ public:
**/
**/
void
SetMode
(
ECbmRecoMode
mode
)
{
fMode
=
mode
;
}
void
SetMode
(
ECbmRecoMode
mode
)
{
fMode
=
mode
;
}
void
SetUseGpuReco
(
bool
useGpu
)
{
fUseGpuReco
=
useGpu
;
}
void
SetUseGpuReco
(
bool
useGPU
);
/** @brief Define the needed parameter containers **/
/** @brief Define the needed parameter containers **/
virtual
void
SetParContainers
();
virtual
void
SetParContainers
();
...
...
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