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
Merge requests
!12
RICH benchmarks
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
RICH benchmarks
cpeng/reconstruction_benchmarks:rich_reco
into
master
Overview
2
Commits
1
Pipelines
0
Changes
5
Merged
Chao Peng
requested to merge
cpeng/reconstruction_benchmarks:rich_reco
into
master
4 years ago
Overview
2
Commits
1
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Compare
master
version 3
7a1c1fa4
4 years ago
version 2
4a86e827
4 years ago
version 1
6168de81
4 years ago
master (base)
and
latest version
latest version
7622c507
1 commit,
4 years ago
version 3
7a1c1fa4
3 commits,
4 years ago
version 2
4a86e827
2 commits,
4 years ago
version 1
6168de81
1 commit,
4 years ago
5 files
+
248
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
rich/options/rich_reco.py
0 → 100644
+
33
−
0
Options
from
Gaudi.Configuration
import
*
from
GaudiKernel
import
SystemOfUnits
as
units
from
GaudiKernel.DataObjectHandleBase
import
DataObjectHandleBase
from
Configurables
import
ApplicationMgr
,
EICDataSvc
,
PodioOutput
,
GeoSvc
geo_service
=
GeoSvc
(
"
GeoSvc
"
,
detectors
=
[
"
topside.xml
"
])
podioevent
=
EICDataSvc
(
"
EventDataSvc
"
,
inputs
=
[
"
rich_test.root
"
],
OutputLevel
=
DEBUG
)
from
Configurables
import
PodioInput
from
Configurables
import
Jug__Digi__PhotoMultiplierDigi
as
PhotoMultiplierDigi
from
Configurables
import
Jug__Reco__PhotoMultiplierReco
as
PhotoMultiplierReco
from
Configurables
import
Jug__Reco__PhotoRingClusters
as
PhotoRingClusters
qe_data
=
[(
1.0
,
0.25
),
(
7.5
,
0.25
),]
podioinput
=
PodioInput
(
"
PodioReader
"
,
collections
=
[
"
mcparticles
"
,
"
ForwardRICHHits
"
],
OutputLevel
=
DEBUG
)
pmtdigi
=
PhotoMultiplierDigi
(
inputHitCollection
=
"
ForwardRICHHits
"
,
outputHitCollection
=
"
DigiForwardRICHHits
"
,
quantumEfficiency
=
[(
a
*
units
.
eV
,
b
)
for
a
,
b
in
qe_data
])
pmtreco
=
PhotoMultiplierReco
(
inputHitCollection
=
"
DigiForwardRICHHits
"
,
outputHitCollection
=
"
RecoForwardRICHHits
"
)
richcluster
=
PhotoRingClusters
(
inputHitCollection
=
"
RecoForwardRICHHits
"
,
inputTrackCollection
=
"
mcparticles
"
,
outputClusterCollection
=
"
RICHClusters
"
)
out
=
PodioOutput
(
"
out
"
,
filename
=
"
rich_test_reco.root
"
)
out
.
outputCommands
=
[
"
keep *
"
]
ApplicationMgr
(
TopAlg
=
[
podioinput
,
pmtdigi
,
pmtreco
,
richcluster
,
out
],
EvtSel
=
'
NONE
'
,
EvtMax
=
100000
,
ExtSvc
=
[
podioevent
],
OutputLevel
=
DEBUG
)
Loading