Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
Project Juggler
Commits
719ae83e
Commit
719ae83e
authored
Sep 22, 2020
by
Jihee Kim
Browse files
Modified python code for crystal digitization
parent
211aad01
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
719ae83e
...
...
@@ -36,3 +36,6 @@ __pycache__/
*.py[cod]
*$py.class
.ipynb_checkpoints
# ROOT file
*.root
JugDigi/tests/options/example_crystalendcapsdigi.py
View file @
719ae83e
...
...
@@ -4,21 +4,21 @@ from GaudiKernel.DataObjectHandleBase import DataObjectHandleBase
from
Configurables
import
ApplicationMgr
,
EICDataSvc
,
PodioOutput
,
GeoSvc
geo_service
=
GeoSvc
(
"GeoSvc"
)
podioevent
=
EICDataSvc
(
"EventDataSvc"
,
inputs
=
[
"output_emcal_electrons.root"
],
OutputLevel
=
DEBUG
)
podioevent
=
EICDataSvc
(
"EventDataSvc"
,
inputs
=
[
"output_emcal_electrons
_npsim
.root"
],
OutputLevel
=
DEBUG
)
from
Configurables
import
PodioInput
from
Configurables
import
Jug__Digi__CrystalEndcapsDigi
as
CrystalEndcapsDigi
podioinput
=
PodioInput
(
"PodioReader"
,
collections
=
[
"
MCP
articles"
,
"EcalHits"
],
OutputLevel
=
DEBUG
)
podioinput
=
PodioInput
(
"PodioReader"
,
collections
=
[
"
mcp
articles"
,
"EcalHits"
],
OutputLevel
=
DEBUG
)
emcaldigi
=
CrystalEndcapsDigi
(
inputHitCollection
=
"EcalHits"
,
outputHitCollection
=
"RawDigiEcalHits"
)
out
=
PodioOutput
(
"out"
,
filename
=
"digi_emcal_electrons.root"
)
out
=
PodioOutput
(
"out"
,
filename
=
"digi_emcal_electrons
_npsim
.root"
)
out
.
outputCommands
=
[
"keep *"
]
ApplicationMgr
(
TopAlg
=
[
podioinput
,
emcaldigi
,
out
],
EvtSel
=
'NONE'
,
EvtMax
=
5
,
EvtMax
=
100
,
ExtSvc
=
[
podioevent
],
OutputLevel
=
DEBUG
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment