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
8ec0bc6e
Commit
8ec0bc6e
authored
3 years ago
by
Maria Zurek
Browse files
Options
Downloads
Patches
Plain Diff
Change branch name in utils.py
parent
d42fce72
Branches
Branches containing commit
No related tags found
1 merge request
!167
Resolve "Clarify EcalBarrel clusters naming in full simulation outputs"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/imaging_ecal/scripts/utils.py
+3
-3
3 additions, 3 deletions
benchmarks/imaging_ecal/scripts/utils.py
with
3 additions
and
3 deletions
benchmarks/imaging_ecal/scripts/utils.py
+
3
−
3
View file @
8ec0bc6e
...
@@ -110,7 +110,7 @@ def get_all_mcp(path, evnums=None, branch='mcparticles2'):
...
@@ -110,7 +110,7 @@ def get_all_mcp(path, evnums=None, branch='mcparticles2'):
return
pd
.
DataFrame
(
data
=
dbuf
[:
idb
],
columns
=
[
'
event
'
,
'
px
'
,
'
py
'
,
'
pz
'
,
'
pid
'
,
'
status
'
,
'
g4Parent
'
,
'
vex
'
,
'
vey
'
,
'
vez
'
])
return
pd
.
DataFrame
(
data
=
dbuf
[:
idb
],
columns
=
[
'
event
'
,
'
px
'
,
'
py
'
,
'
pz
'
,
'
pid
'
,
'
status
'
,
'
g4Parent
'
,
'
vex
'
,
'
vey
'
,
'
vez
'
])
# read hits data from root file
# read hits data from root file
def
get_hits_data
(
path
,
evnums
=
None
,
branch
=
'
RecoEcalBarrelHits
'
):
def
get_hits_data
(
path
,
evnums
=
None
,
branch
=
'
RecoEcalBarre
Imaging
lHits
'
):
f
=
ROOT
.
TFile
(
path
)
f
=
ROOT
.
TFile
(
path
)
events
=
f
.
events
events
=
f
.
events
if
evnums
is
None
:
if
evnums
is
None
:
...
@@ -136,7 +136,7 @@ def get_hits_data(path, evnums=None, branch='RecoEcalBarrelHits'):
...
@@ -136,7 +136,7 @@ def get_hits_data(path, evnums=None, branch='RecoEcalBarrelHits'):
# read layers data from root file
# read layers data from root file
def
get_layers_data
(
path
,
evnums
=
None
,
branch
=
"
EcalBarrelClustersLayers
"
):
def
get_layers_data
(
path
,
evnums
=
None
,
branch
=
"
EcalBarrel
Imaging
ClustersLayers
"
):
f
=
ROOT
.
TFile
(
path
)
f
=
ROOT
.
TFile
(
path
)
events
=
f
.
events
events
=
f
.
events
if
evnums
is
None
:
if
evnums
is
None
:
...
@@ -163,7 +163,7 @@ def get_layers_data(path, evnums=None, branch="EcalBarrelClustersLayers"):
...
@@ -163,7 +163,7 @@ def get_layers_data(path, evnums=None, branch="EcalBarrelClustersLayers"):
# read clusters data from root file
# read clusters data from root file
def
get_clusters_data
(
path
,
evnums
=
None
,
branch
=
'
EcalBarrelClustersReco
'
):
def
get_clusters_data
(
path
,
evnums
=
None
,
branch
=
'
EcalBarrel
Imaging
ClustersReco
'
):
f
=
ROOT
.
TFile
(
path
)
f
=
ROOT
.
TFile
(
path
)
events
=
f
.
events
events
=
f
.
events
if
evnums
is
None
:
if
evnums
is
None
:
...
...
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