Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
version.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
import
os
5
6
version =
''
7
try
:
8
from
ROOT
import
Belle2
9
import
ROOT
10
ROOT.gSystem.Load(
'libframework_io'
)
11
ROOT.gROOT.LoadMacro(
Belle2.FileSystem.findFile
(
"include/framework/io/RootIOUtilities.h"
))
12
version =
Belle2.RootIOUtilities.getCommitID
()
13
except
AttributeError:
14
pass
15
16
release = (os.environ.get(
'BELLE2_RELEASE'
,
'unknown'
))
17
18
if
__name__ ==
"__main__"
:
19
print(
'BASF2, Version: %s (Release: %s)'
% (version, release))
Belle2::RootIOUtilities::getCommitID
std::string getCommitID()
Return git SHA1 hashes taking into account local & central release.
Definition:
RootIOUtilities.cc:200
Belle2::FileSystem::findFile
static std::string findFile(const std::string &path, bool silent=false)
Search for given file or directory in local or central release directory, and return absolute path if...
Definition:
FileSystem.cc:147
framework
scripts
basf2
version.py
Generated on Tue Jan 4 2022 02:57:14 for Belle II Software by
1.8.17