Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Scott Snyder
athena
Commits
c81125d7
Commit
c81125d7
authored
4 years ago
by
Walter Lampl
Browse files
Options
Downloads
Patches
Plain Diff
TPyStore.py __cppname__ -> __cpp_name__
parent
26e6821c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Control/xAODRootAccess/python/TPyStore.py
+6
-6
6 additions, 6 deletions
Control/xAODRootAccess/python/TPyStore.py
with
6 additions
and
6 deletions
Control/xAODRootAccess/python/TPyStore.py
+
6
−
6
View file @
c81125d7
...
...
@@ -40,8 +40,8 @@ class TPyStore( ROOT.xAOD.TPyStore ):
def
contains
(
self
,
key
,
type
):
# Determine the class name:
clname
=
type
.
__name__
if
hasattr
(
type
,
"
__cppname__
"
):
clname
=
type
.
__cppname__
if
hasattr
(
type
,
"
__
_
cpp
_
name__
"
):
clname
=
type
.
__
_
cpp
_
name__
pass
# Call the parent class's function:
return
super
(
TPyStore
,
self
).
contains
(
key
,
clname
)
...
...
@@ -63,8 +63,8 @@ class TPyStore( ROOT.xAOD.TPyStore ):
def
isConst
(
self
,
key
,
type
):
# Determine the class name:
clname
=
type
.
__name__
if
hasattr
(
type
,
"
__cppname__
"
):
clname
=
type
.
__cppname__
if
hasattr
(
type
,
"
__
_
cpp
_
name__
"
):
clname
=
type
.
__
_
cpp
_
name__
pass
# Call the parent class's function:
return
super
(
TPyStore
,
self
).
isConst
(
key
,
clname
)
...
...
@@ -87,8 +87,8 @@ class TPyStore( ROOT.xAOD.TPyStore ):
def
record
(
self
,
obj
,
key
):
# Determine the class name:
clname
=
obj
.
__class__
.
__name__
if
hasattr
(
obj
.
__class__
,
"
__cppname__
"
):
clname
=
obj
.
__class__
.
__cppname__
if
hasattr
(
obj
.
__class__
,
"
__
_
cpp
_
name__
"
):
clname
=
obj
.
__class__
.
__
_
cpp
_
name__
pass
# Call the parent class's function:
return
super
(
TPyStore
,
self
).
record
(
obj
,
key
,
clname
)
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