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
939d833c
Commit
939d833c
authored
1 year ago
by
Sergey Gorbunov
Committed by
Sergey Gorbunov
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
match a new mcbm2024 setup with the runId
parent
0ea6a9b6
No related branches found
No related tags found
1 merge request
!1775
match a new mcbm2024 setup with the runId
Pipeline
#29000
passed
1 year ago
Stage: package
Stage: verify
Stage: documentation
Stage: deploy
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/base/utils/CbmMcbmUtils.cxx
+16
-6
16 additions, 6 deletions
core/base/utils/CbmMcbmUtils.cxx
with
16 additions
and
6 deletions
core/base/utils/CbmMcbmUtils.cxx
+
16
−
6
View file @
939d833c
...
...
@@ -4,6 +4,8 @@
#include
"CbmMcbmUtils.h"
#include
"TString.h"
#include
<stdexcept>
namespace
cbm
...
...
@@ -22,6 +24,10 @@ namespace cbm
/// From mCBM redmine wiki page: "run 1575: 1st run with 6 subsystems"
throw
(
std
::
invalid_argument
(
"RunId smaller than the earliest run mapped (1575 in 2021 campaign)"
));
}
else
if
(
1575
<=
ulRunId
&&
ulRunId
<=
1588
)
{
/// 2021 "CRI" runs: 1575 - 1588 = 15/07/2021
/// => Nothing to do, this is the default name
}
/// Setup changed multiple times between the 2022 carbon and uranium runs
else
if
(
2060
<=
ulRunId
&&
ulRunId
<=
2065
)
{
/// Carbon runs: 2060 - 2065 = 10/03/2022
...
...
@@ -47,14 +53,18 @@ namespace cbm
/// High Rate Gold runs with GEMs in Acceptance: 2498 - 2610 = 18/06/2022 - 20/06/2022
sSetupName
=
"mcbm_beam_2022_06_18_gold"
;
}
else
if
(
2724
<=
ulRunId
)
{
else
if
(
2724
<=
ulRunId
&&
ulRunId
<=
2917
)
{
/// 2024/03 Gold runs
sSetupName
=
"mcbm_beam_2024_03_22_gold"
;
}
else
if
(
2918
<=
ulRunId
)
{
/// Dummy needed to run the unpack macro until we have a setup ready
/// FIXME: replace with 2024 setup!!!!!
sSetupName
=
"mcbm_beam_202
2
_0
6_16
_gold"
;
/// FIXME: replace with 2024
nickel
setup!!!!!
sSetupName
=
"mcbm_beam_202
4
_0
3_22
_gold"
;
}
else
if
(
2611
<
ulRunId
)
{
///
Future
runs, exception there to force implementation and support from users side
throw
(
std
::
invalid_argument
(
"RunId
bigger than latest run mapped (2611, mCBM 2022)
! Please complete the map!"
));
else
{
///
Missing
runs, exception there to force implementation and support from users side
throw
(
std
::
invalid_argument
(
Form
(
"RunId
%d is not mapped
! Please complete the map!"
,
ulRunId
)
));
}
return
sSetupName
;
...
...
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