Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
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
LHCb
Commits
190b9767
Commit
190b9767
authored
1 year ago
by
Andre Gunther
Browse files
Options
Downloads
Plain Diff
Merge branch 'jzhuo_FixAllenUT' into 'master'
Fix Allen UT geometry See merge request
!4395
parents
28cb7b92
965fd45c
No related branches found
No related tags found
1 merge request
!4395
Fix Allen UT geometry
Pipeline
#6949165
passed
1 year ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Det/UTDet/include/UTDet/DeUTDetector.h
+0
-6
0 additions, 6 deletions
Det/UTDet/include/UTDet/DeUTDetector.h
Det/UTDet/src/Lib/DeUTDetector.cpp
+1
-5
1 addition, 5 deletions
Det/UTDet/src/Lib/DeUTDetector.cpp
with
1 addition
and
11 deletions
Det/UTDet/include/UTDet/DeUTDetector.h
+
0
−
6
View file @
190b9767
...
...
@@ -229,11 +229,6 @@ public:
for
(
auto
*
sector
:
m_sectors
)
{
func
(
*
sector
);
}
}
/// apply given callable to all layers
void
applyToAllSectorsAllen
(
const
std
::
function
<
void
(
DeUTSector
const
&
)
>&
func
)
const
{
for
(
auto
*
sector
:
m_sectorsAllen
)
{
func
(
*
sector
);
}
}
/** flat vector of sectors in single full layer
* @return vector of sectors
*/
...
...
@@ -463,7 +458,6 @@ private:
Sides
m_sides
;
Sectors
m_sectors
;
Sectors
m_sectorsAllen
;
std
::
vector
<
const
DeUTLayer
*>
m_layers
;
GaudiUtils
::
VectorMap
<
unsigned
int
,
const
DeUTSector
*>
m_sMap
;
...
...
This diff is collapsed.
Click to expand it.
Det/UTDet/src/Lib/DeUTDetector.cpp
+
1
−
5
View file @
190b9767
...
...
@@ -174,15 +174,11 @@ const DeUTSector* DeUTDetector::findSector( const Gaudi::XYZPoint& aPoint ) cons
void
DeUTDetector
::
flatten
()
{
m_sectors
.
reserve
(
1200
);
m_sectorsAllen
.
reserve
(
1200
);
for
(
auto
ptrs
:
m_sides
)
{
for
(
auto
ptrlayer
:
ptrs
->
layers
()
)
{
m_layers
.
push_back
(
ptrlayer
);
ptrlayer
->
applyToAllSectors
(
[
this
](
DeUTSector
const
&
utSector
)
{
m_sectors
.
push_back
(
&
utSector
);
m_sectorsAllen
.
push_back
(
&
utSector
);
}
);
ptrlayer
->
applyToAllSectors
(
[
this
](
DeUTSector
const
&
utSector
)
{
m_sectors
.
push_back
(
&
utSector
);
}
);
}
}
if
(
m_version
==
GeoVersion
::
v0
)
{
// for old geo, sectors need to be sorted by new ids
...
...
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