Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
topside
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
EIC
detectors
topside
Merge requests
!2
WIP: Crystal Calorimeter Simulation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
WIP: Crystal Calorimeter Simulation
jihee.kim/topside:master
into
master
Overview
0
Commits
2
Pipelines
0
Changes
4
Closed
Jihee Kim
requested to merge
jihee.kim/topside:master
into
master
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
4
Expand
Added two variables: tracker_region_zmax and tracker_region_rmax into topside_defs.xml. ddsim/npsim is registering a plugin which needs those variables defined.
Added bash script to run simulation.
Added python script
0
0
Merge request reports
Compare
master
version 1
ddf3c071
4 years ago
master (base)
and
latest version
latest version
d6c19cd0
2 commits,
4 years ago
version 1
ddf3c071
1 commit,
4 years ago
4 files
+
44
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
options/example_crystal.py
0 → 100644
+
34
−
0
Options
from
Gaudi.Configuration
import
*
from
GaudiKernel.DataObjectHandleBase
import
DataObjectHandleBase
from
Configurables
import
ApplicationMgr
,
EICDataSvc
,
PodioOutput
,
GeoSvc
from
GaudiKernel
import
SystemOfUnits
as
units
geo_service
=
GeoSvc
(
"
GeoSvc
"
,
detectors
=
[
"
topside.xml
"
])
podioevent
=
EICDataSvc
(
"
EventDataSvc
"
,
inputs
=
[
"
sim_input.root
"
],
OutputLevel
=
DEBUG
)
from
Configurables
import
PodioInput
from
Configurables
import
Jug__Digi__CrystalEndcapsDigi
as
CrystalEndcapsDigi
from
Configurables
import
Jug__Reco__CrystalEndcapsReco
as
CrystalEndcapsReco
from
Configurables
import
Jug__Reco__CalorimeterIslandCluster
as
IslandCluster
from
Configurables
import
Jug__Reco__ClusterRecoCoG
as
RecoCoG
podioinput
=
PodioInput
(
"
PodioReader
"
,
collections
=
[
"
mcparticles
"
,
"
CrystalEcalHits
"
],
OutputLevel
=
DEBUG
)
emcaldigi
=
CrystalEndcapsDigi
(
inputHitCollection
=
"
CrystalEcalHits
"
,
outputHitCollection
=
"
RawDigiEcalHits
"
)
emcalreco
=
CrystalEndcapsReco
(
inputHitCollection
=
"
RawDigiEcalHits
"
,
outputHitCollection
=
"
RecoEcalHits
"
,
minModuleEdep
=
1.0
*
units
.
MeV
)
emcalcluster
=
IslandCluster
(
inputHitCollection
=
"
RecoEcalHits
"
,
outputClusterCollection
=
"
EcalClusters
"
,
minClusterCenterEdep
=
30
*
units
.
MeV
,
groupRange
=
2.0
)
clusterreco
=
RecoCoG
(
clusterCollection
=
"
EcalClusters
"
,
logWeightBase
=
4.2
,
moduleDimZName
=
"
CrystalBox_z_length
"
)
out
=
PodioOutput
(
"
out
"
,
filename
=
"
rec_output.root
"
)
out
.
outputCommands
=
[
"
keep EcalClusters
"
]
ApplicationMgr
(
TopAlg
=
[
podioinput
,
emcaldigi
,
emcalreco
,
emcalcluster
,
clusterreco
,
out
],
EvtSel
=
'
NONE
'
,
EvtMax
=
10000
,
ExtSvc
=
[
podioevent
],
OutputLevel
=
ERROR
)
Loading