Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Allen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
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
Allen
Commits
f744e798
Commit
f744e798
authored
3 years ago
by
Roel Aaij
Committed by
Dorothea Vom Bruch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix average sizes now that VP and VPRetina are seen as the same
parent
9c1f03ef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!814
Use proper bank size instead of offsets throughout and propagate bank types
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/include/BankTypes.h
+2
-2
2 additions, 2 deletions
main/include/BankTypes.h
with
2 additions
and
2 deletions
main/include/BankTypes.h
+
2
−
2
View file @
f744e798
...
...
@@ -20,7 +20,7 @@ enum class BankTypes { VP, UT, FT, MUON, ODIN, MCTracks, MCVertices, Rich1, Rich
// Average size of all raw banks of a given type per
// subdetector, in kB, measured in simulated minbias events.
// FIXME: make this configurable
const
std
::
unordered_map
<
BankTypes
,
float
>
BankSizes
=
{{
BankTypes
::
VP
,
2
0.
f
},
const
std
::
unordered_map
<
BankTypes
,
float
>
BankSizes
=
{{
BankTypes
::
VP
,
4
0.
f
},
{
BankTypes
::
UT
,
12.
f
},
{
BankTypes
::
FT
,
15.
f
},
{
BankTypes
::
MUON
,
4.
f
},
...
...
@@ -34,7 +34,7 @@ const std::unordered_map<BankTypes, float> BankSizes = {{BankTypes::VP, 20.f},
// Average measured event size, measured
// FIXME: make this configurable
constexpr
float
average_event_size
=
65
.
f
;
constexpr
float
average_event_size
=
150
.
f
;
// Safety margin
// FIXME: make this configurable
constexpr
float
bank_size_fudge_factor
=
1.5
f
;
...
...
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