Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project Juggler
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
Container registry
Model registry
Operate
Environments
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
Project Juggler
Merge requests
!95
Simple Clustering
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Simple Clustering
embarrel_clustering
into
master
Overview
0
Commits
10
Pipelines
0
Changes
9
Merged
Jihee Kim
requested to merge
embarrel_clustering
into
master
4 years ago
Overview
0
Commits
10
Pipelines
0
Changes
9
Expand
Silicon Tungsten Sampling detector
Added z profile of energy deposit
Edited
4 years ago
by
Jihee Kim
0
0
Merge request reports
Compare
master
version 12
b557bf54
4 years ago
version 11
19f1ecc2
4 years ago
version 10
d62690a4
4 years ago
version 9
216ea0e1
4 years ago
version 8
de60c84c
4 years ago
version 7
dbc85496
4 years ago
version 6
b3c7ea31
4 years ago
version 5
d5a18c94
4 years ago
version 4
faf6f06b
4 years ago
version 3
d311759c
4 years ago
version 2
8d316707
4 years ago
version 1
2a9a32ce
4 years ago
master (base)
and
latest version
latest version
17565054
10 commits,
4 years ago
version 12
b557bf54
9 commits,
4 years ago
version 11
19f1ecc2
8 commits,
4 years ago
version 10
d62690a4
7 commits,
4 years ago
version 9
216ea0e1
6 commits,
4 years ago
version 8
de60c84c
5 commits,
4 years ago
version 7
dbc85496
4 commits,
4 years ago
version 6
b3c7ea31
3 commits,
4 years ago
version 5
d5a18c94
2 commits,
4 years ago
version 4
faf6f06b
2 commits,
4 years ago
version 3
d311759c
1 commit,
4 years ago
version 2
8d316707
1 commit,
4 years ago
version 1
2a9a32ce
1 commit,
4 years ago
9 files
+
418
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
Examples/options/sampling_cluster2n1.py
0 → 100644
+
58
−
0
Options
from
Gaudi.Configuration
import
*
from
GaudiKernel
import
SystemOfUnits
as
units
from
GaudiKernel.DataObjectHandleBase
import
DataObjectHandleBase
from
Configurables
import
ApplicationMgr
,
EICDataSvc
,
PodioOutput
,
GeoSvc
from
Configurables
import
PodioInput
from
Configurables
import
Jug__Digi__EcalTungstenSamplingDigi
as
EcalTungstenSamplingDigi
from
Configurables
import
Jug__Reco__EcalTungstenSamplingReco
as
EcalTungstenSamplingReco
from
Configurables
import
Jug__Reco__SamplingECalHitsMerger
as
SamplingECalHitsMerger
from
Configurables
import
Jug__Reco__CalorimeterIslandCluster
as
IslandCluster
from
Configurables
import
Jug__Reco__ClusterRecoCoG
as
RecoCoG
geo_service
=
GeoSvc
(
"
GeoSvc
"
,
detectors
=
[
"
../topside/test.xml
"
])
podioevent
=
EICDataSvc
(
"
EventDataSvc
"
,
inputs
=
[
"
barrel_electrons.root
"
],
OutputLevel
=
DEBUG
)
podioinput
=
PodioInput
(
"
PodioReader
"
,
collections
=
[
"
mcparticles
"
,
"
EcalBarrelHits
"
],
OutputLevel
=
DEBUG
)
emcaldigi
=
EcalTungstenSamplingDigi
(
"
ecal_digi
"
,
inputHitCollection
=
"
EcalBarrelHits
"
,
outputHitCollection
=
"
DigiEcalBarrelHits
"
,
inputEnergyUnit
=
units
.
GeV
,
inputTimeUnit
=
units
.
ns
,
OutputLevel
=
DEBUG
)
emcalreco
=
EcalTungstenSamplingReco
(
"
ecal_reco
"
,
inputHitCollection
=
"
DigiEcalBarrelHits
"
,
outputHitCollection
=
"
RecoEcalBarrelHits
"
,
OutputLevel
=
DEBUG
)
# readout id definition for barrel ecal
# <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
# xy_merger sum layers/slices, masking (8+3+4, 8+3+4+5+6-1)
xymerger
=
SamplingECalHitsMerger
(
"
ecal_xy_merger
"
,
cellIDMaskRanges
=
[(
15
,
25
)],
inputHitCollection
=
"
RecoEcalBarrelHits
"
,
outputHitCollection
=
"
RecoEcalBarrelHitsXY
"
)
# xy_merger sum modules, masking (8+3+4+5+6, 8+3+4+5+6+32-1)
zmerger
=
SamplingECalHitsMerger
(
"
ecal_z_merger
"
,
cellIDMaskRanges
=
[(
26
,
57
)],
inputHitCollection
=
"
RecoEcalBarrelHits
"
,
outputHitCollection
=
"
RecoEcalBarrelHitsZ
"
)
emcalcluster
=
IslandCluster
(
inputHitCollection
=
"
RecoEcalBarrelHitsXY
"
,
outputClusterCollection
=
"
EcalBarrelClusters
"
,
minClusterCenterEdep
=
5.0
*
units
.
MeV
,
splitCluster
=
False
,
groupRange
=
5.0
)
clusterreco
=
RecoCoG
(
clusterCollection
=
"
EcalBarrelClusters
"
,
logWeightBase
=
6.2
,
OutputLevel
=
DEBUG
)
out
=
PodioOutput
(
"
out
"
,
filename
=
"
barrel_cluster.root
"
)
out
.
outputCommands
=
[
"
keep *
"
]
ApplicationMgr
(
TopAlg
=
[
podioinput
,
emcaldigi
,
emcalreco
,
xymerger
,
zmerger
,
emcalcluster
,
clusterreco
,
out
],
EvtSel
=
'
NONE
'
,
EvtMax
=
1000
,
ExtSvc
=
[
podioevent
],
OutputLevel
=
DEBUG
)
Loading