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
d30722a8
Commit
d30722a8
authored
1 year ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
RichSIMDPhotonPredictedPixelSignal: Use cached SIMD pixel region info
parent
ea1ffa16
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!3788
Draft: Update SciFi cluster monitoring
,
!3753
RICH Add detector regions to pixel objects
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rich/RichFutureRecPhotonAlgorithms/src/RichSIMDPhotonPredictedPixelSignal.cpp
+2
-12
2 additions, 12 deletions
...otonAlgorithms/src/RichSIMDPhotonPredictedPixelSignal.cpp
with
2 additions
and
12 deletions
Rich/RichFutureRecPhotonAlgorithms/src/RichSIMDPhotonPredictedPixelSignal.cpp
+
2
−
12
View file @
d30722a8
...
...
@@ -143,9 +143,6 @@ namespace Rich::Future::Rec {
/// cached min exp(arg) factor
alignas
(
LHCb
::
SIMD
::
VectorAlignment
)
RadiatorArray
<
SIMDFP
>
m_minExpArgF
=
{{}};
/// SIMD time windows
alignas
(
LHCb
::
SIMD
::
VectorAlignment
)
DetectorArray
<
SIMDFP
>
m_timeWindowSIMD
=
{{}};
private
:
/// The minimum expected track Cherenkov angle to be considered 'Above Threshold'
Gaudi
::
Property
<
RadiatorArray
<
float
>>
m_minExpCKT
{
...
...
@@ -169,10 +166,6 @@ namespace Rich::Future::Rec {
/// Enable 4D time window
Gaudi
::
Property
<
DetectorArray
<
bool
>>
m_enable4D
{
this
,
"Enable4D"
,
{
false
,
false
},
"Enable 4D reconstruction"
};
/// time window size for each RICH
Gaudi
::
Property
<
DetectorArray
<
float
>>
m_timeWindow
{
this
,
"TimeWindow"
,
{
1.0
*
Gaudi
::
Units
::
ns
,
1.0
*
Gaudi
::
Units
::
ns
},
"Time window to apply in each RICH"
};
};
}
// namespace Rich::Future::Rec
...
...
@@ -208,10 +201,7 @@ StatusCode SIMDPhotonPredictedPixelSignal::initialize() {
// loop over RICHes
for
(
const
auto
rich
:
activeDetectors
()
)
{
m_timeWindowSIMD
[
rich
]
=
SIMDFP
(
m_timeWindow
[
rich
]
);
if
(
m_enable4D
[
rich
]
)
{
info
()
<<
"4D signals enabled for "
<<
rich
<<
" | Window = "
<<
(
2.0
*
m_timeWindow
[
rich
]
)
<<
" ns"
<<
endmsg
;
}
if
(
m_enable4D
[
rich
]
)
{
info
()
<<
"4D signals enabled for "
<<
rich
<<
endmsg
;
}
}
// loop over radiators
...
...
@@ -312,7 +302,7 @@ OutData SIMDPhotonPredictedPixelSignal::operator()( const SIMDPixelSummaries&
// Get time prediction for this mass hypo
const
auto
timePred
=
SIMDFP
(
segment
.
timeToRadEntry
(
id
)
)
+
phot
.
radTransitTime
();
// Apply time window to mask
mask
&=
(
abs
(
pix
.
hit
Time
(
)
-
timePred
)
<
m_timeWindowSIMD
[
det
]
);
mask
&=
pix
.
isIn
Time
(
timePred
);
}
// If any are OK continue
...
...
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