Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb
Rec
Commits
fe6e1d7c
Commit
fe6e1d7c
authored
2 years ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
NOT FOR MERGE - rescale DeFT layer IDs to start at 0
parent
5faf43fc
No related branches found
No related tags found
1 merge request
!3053
Draft: NOT FOR MERGE - PrZoneHandler id workaround
Pipeline
#4309230
passed
2 years ago
Stage: test
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Pr/PrKernel/include/PrKernel/PrFTZoneHandler.h
+5
-1
5 additions, 1 deletion
Pr/PrKernel/include/PrKernel/PrFTZoneHandler.h
with
5 additions
and
1 deletion
Pr/PrKernel/include/PrKernel/PrFTZoneHandler.h
+
5
−
1
View file @
fe6e1d7c
...
...
@@ -33,7 +33,11 @@ namespace FTZoneCache {
PrFTZoneHandler
(
DeFT
const
&
ftDet
)
{
#ifdef USE_DD4HEP
auto
func
=
[
this
](
const
DeFTLayer
&
layer
)
{
const
auto
id
=
layer
.
layerID
();
// NOT FOR MERGE
// In DetDesc Ids number from 0, but with DD4HEP seem to start at 4 .... ??
// This should be fixed at source in Detector but for now just correct here.
const
auto
id
=
layer
.
layerID
()
-
4
;
// NOT FOR MERGE
// fixme
DetectorSegment
seg
(
0
,
layer
.
globalZ
(),
layer
.
dxdy
(),
layer
.
dzdy
(),
0.
,
0.
);
const
auto
xmax
=
0.5
f
*
layer
.
sizeX
();
...
...
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