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
d8c35c16
Commit
d8c35c16
authored
3 years ago
by
miguelignacio
Browse files
Options
Downloads
Patches
Plain Diff
adding XY to hcal_clustering
parent
5debbc2a
No related branches found
Branches containing commit
No related tags found
1 merge request
!102
adding XY to hcal_clustering
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/clustering/options/hcal_clustering.py
+11
-20
11 additions, 20 deletions
benchmarks/clustering/options/hcal_clustering.py
with
11 additions
and
20 deletions
benchmarks/clustering/options/hcal_clustering.py
+
11
−
20
View file @
d8c35c16
...
...
@@ -38,6 +38,7 @@ from Configurables import Jug__Reco__CrystalEndcapsReco as CrystalEndcapsReco
from
Configurables
import
Jug__Reco__EMCalReconstruction
as
EMCalReconstruction
# from Configurables import Jug__Reco__HCalReconstruction as HCalReconstruction
from
Configurables
import
Jug__Reco__EcalTungstenSamplingReco
as
HCalReconstruction
from
Configurables
import
Jug__Reco__CalorimeterHitsMerger
as
CalorimeterHitsMerger
# from Configurables import Jug__Reco__SimpleClustering as SimpleClustering
from
Configurables
import
Jug__Reco__TopologicalCellCluster
as
TopoCluster
...
...
@@ -65,8 +66,8 @@ hcaldigi = HadCalorimeterDigi("hcal_barrel_digi",
outputHitCollection
=
"
RawHcalBarrelHits
"
,
inputEnergyUnit
=
units
.
GeV
,
inputTimeUnit
=
units
.
ns
,
energyResolutions
=
[
0.0
7
,
0.
,
0.
],
dynamicRangeADC
=
2
.
*
units
.
G
eV
,
energyResolutions
=
[
0.0
,
0.
,
0.
],
dynamicRangeADC
=
50
.
*
units
.
M
eV
,
capacityADC
=
32768
,
pedestalMean
=
400
,
pedestalSigma
=
10
,
...
...
@@ -78,7 +79,7 @@ hcaldigi = HadCalorimeterDigi("hcal_barrel_digi",
hcal_reco
=
HCalReconstruction
(
"
hcal_reco
"
,
inputHitCollection
=
"
RawHcalBarrelHits
"
,
outputHitCollection
=
"
RecHcalBarrelHits
"
,
dynamicRangeADC
=
2
.
*
units
.
G
eV
,
dynamicRangeADC
=
50
.
*
units
.
M
eV
,
capacityADC
=
32768
,
pedestalMean
=
400
,
pedestalSigma
=
10
,
...
...
@@ -86,24 +87,13 @@ hcal_reco = HCalReconstruction("hcal_reco",
OutputLevel
=
DEBUG
)
#clusters
#hcal_barrel_cluster = TopoCluster("hcal_barrel_cluster",
# inputHitCollection="RecHcalBarrelHits",
# outputClusterCollection="HcalBarrelClusters",
# adjLayerDiff=2,
# localRanges=[20.*units.mm, 20.*units.mm], # local x, y for hits at the same layer
# adjLayerRanges=[0.02, 0.02], # eta, phi for different layers, the same sector
# adjSectorDist=5.*units.cm, # different sector
# minClusterCenterEdep=10.*units.MeV,
# readoutClass="HcalBarrelHits", # readout class name to get layer/sector id
# layerField="layer",
# sectorField="module",
# OutputLevel=DEBUG
# )
xymerger
=
CalorimeterHitsMerger
(
"
hcal_xy_merger
"
,
fields
=
[
"
layer
"
,
"
slice
"
],
inputHitCollection
=
"
RecHcalBarrelHits
"
,
outputHitCollection
=
"
RecHcalBarrelHitsXY
"
)
hcal_barrel_cluster
=
IslandCluster
(
"
hcal_barrel_cluster
"
,
inputHitCollection
=
"
RecHcalBarrelHits
"
,
inputHitCollection
=
"
RecHcalBarrelHits
XY
"
,
outputClusterCollection
=
"
HcalBarrelClusters
"
,
minClusterCenterEdep
=
30
*
units
.
MeV
,
groupRange
=
2.0
,
...
...
@@ -125,7 +115,8 @@ out.outputCommands = ["keep *"]
ApplicationMgr
(
TopAlg
=
[
podioinput
,
copier
,
calcopier
,
hcaldigi
,
hcal_reco
,
hcal_reco
,
xymerger
,
hcal_barrel_cluster
,
hcal_barrel_clusterreco
,
out
],
...
...
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