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
Merge requests
!930
L1: Updates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
L1: Updates
s.zharko/cbmroot:L1Algo-dev11
into
master
Overview
0
Commits
2
Pipelines
2
Changes
10
Merged
Sergei Zharko
requested to merge
s.zharko/cbmroot:L1Algo-dev11
into
master
2 years ago
Overview
0
Commits
2
Pipelines
2
Changes
10
Expand
Counting of stations inside the field was reimplemented (now using L1Station::fieldStatus flag);
IO for tracking input data (L1InputData objects) was implemented
0
0
Merge request reports
Compare
master
version 1
dc3ae197
2 years ago
master (base)
and
latest version
latest version
44db5a9d
2 commits,
2 years ago
version 1
dc3ae197
2 commits,
2 years ago
10 files
+
224
−
49
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
reco/L1/L1Algo/L1Algo.cxx
+
10
−
9
Options
@@ -136,21 +136,22 @@ void L1Algo::ReceiveParameters(L1Parameters&& parameters)
{
fParameters
=
std
::
move
(
parameters
);
//int NMvdStations = static_cast<int>(geo[ind++]); // TODO: get rid of NMbdStations (S. Zh.)
int
nStationsSts
=
fParameters
.
GetNstationsActive
(
static_cast
<
L1DetectorID
>
(
1
));
fNstationsBeforePipe
=
fParameters
.
GetNstationsActive
(
static_cast
<
L1DetectorID
>
(
0
));
//int NStsStations = static_cast<int>(geo[ind++]); // TODO: get rid of NStsStations (S. Zh.)
fNfieldStations
=
nStationsSts
+
fNstationsBeforePipe
;
// TODO: Provide special getter for it (S.Zharko, 12.05.2022)
if
(
fTrackingMode
==
kMcbm
)
{
fNfieldStations
=
-
1
;
}
LOG
(
info
)
<<
fParameters
.
ToString
(
3
);
// FIXME: SZh 24.08.2022
// This approach is suitable only for a case, when all the stations inside a magnetic field come right before
// all the stations outside of the field!
fNfieldStations
=
std
::
lower_bound
(
fParameters
.
GetStations
().
cbegin
(),
fParameters
.
GetStations
().
cbegin
()
+
fParameters
.
GetNstationsActive
(),
0
,
// we are looking for the first zero element
[](
const
L1Station
&
s
,
int
edge
)
{
return
bool
(
s
.
fieldStatus
)
>
edge
;
})
-
fParameters
.
GetStations
().
cbegin
();
fTrackingLevel
=
fParameters
.
GetTrackingLevel
();
fGhostSuppression
=
fParameters
.
GetGhostSuppression
();
fMomentumCutOff
=
fParameters
.
GetMomentumCutOff
();
LOG
(
info
)
<<
fParameters
.
ToString
(
3
);
}
/// TODO: Move to L1Hit
Loading