Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
EIC
benchmarks
reconstruction_benchmarks
Commits
cc28b603
Commit
cc28b603
authored
3 years ago
by
Robinpreet Dhillon
Browse files
Options
Downloads
Patches
Plain Diff
added shaper function
parent
74ecae32
No related branches found
No related tags found
1 merge request
!245
Draft: Added shaper function
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/imaging_shower_ML/options/imaging_ml_data.py
+7
-3
7 additions, 3 deletions
benchmarks/imaging_shower_ML/options/imaging_ml_data.py
with
7 additions
and
3 deletions
benchmarks/imaging_shower_ML/options/imaging_ml_data.py
+
7
−
3
View file @
cc28b603
...
...
@@ -12,7 +12,7 @@ from Configurables import Jug__Reco__CalorimeterHitsMerger as CalHitsMerger
from
Configurables
import
Jug__Reco__ImagingPixelMerger
as
MLDataMerger
from
Configurables
import
Jug__Reco__ImagingPixelDataSorter
as
MLDataSorter
from
Configurables
import
Jug__Reco__ImagingPixelDataCombiner
as
MLDataCombiner
from
Configurables
import
Jug__Reco__ImagingPixelDataShaper
as
MLDataShaper
# input arguments through environment variables
kwargs
=
dict
()
...
...
@@ -123,7 +123,11 @@ becal_combiner = MLDataCombiner('becal_combiner',
layerIncrement
=
100
,
rule
=
kwargs
[
'
combine
'
])
# shape layers
becal_shaper
=
MLDataShaper
(
'
becal_combiner
'
,
inputHits
=
becal_combiner
.
outputHits
)
podout
.
outputCommands
=
[
# 'keep *',
...
...
@@ -138,7 +142,7 @@ ApplicationMgr(
TopAlg
=
[
podin
,
becal_img_digi
,
becal_img_reco
,
becal_img_merger
,
becal_img_sorter
,
becal_scfi_digi
,
becal_scfi_reco
,
becal_scfi_merger
,
becal_scfi_sorter
,
becal_combiner
,
becal_combiner
,
becal_shaper
,
podout
],
EvtSel
=
'
NONE
'
,
EvtMax
=
kwargs
[
'
nev
'
],
...
...
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