Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace 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
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
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
Classes
Class List
Class Index
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
z
Enumerations
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
Enumerator
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PhysicsAnalysis
D3PDTools
RootCoreUtils
Root
CheckRootVersion.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
//
9
// includes
10
//
11
12
#include <
RootCoreUtils/CheckRootVersion.h
>
13
14
#include <cstdlib>
15
#include <iostream>
16
#include <atomic>
17
#include <TROOT.h>
18
#include <
RootCoreUtils/Assert.h
>
19
20
//
21
// method implementations
22
//
23
24
namespace
RCU
25
{
26
namespace
27
{
28
std::atomic<bool> checked =
false
;
29
}
30
31
void
check_root_version
()
32
{
33
if
(checked)
34
return
;
35
if
(gROOT->GetVersionCode() != Int_t(ROOT_VERSION_CODE))
36
{
37
std::cout
38
<<
"root version used is not compatible with the one used for\n"
39
<<
"compilation. please load either the correct root version, or\n"
40
<<
"recompile with the new version\n\n"
41
<<
"alternatively deactivate this check using:\n"
42
<<
"#include <RootCoreUtils/CheckRootVersion.hh>\n"
43
<<
" RCU::disable_root_version_check()\n"
44
<<
std::flush
;
45
std::abort ();
46
}
47
checked =
true
;
48
}
49
50
51
52
void
disable_root_version_check
()
53
{
54
checked =
true
;
55
}
56
}
FullCPAlgorithmsTest_eljob.flush
flush
Definition:
FullCPAlgorithmsTest_eljob.py:194
CheckRootVersion.h
RCU
This module defines a variety of assert style macros.
Definition:
Assert.cxx:26
Assert.h
RCU::check_root_version
void check_root_version()
effects: check whether we are using a consistent root version guarantee: strong failures: version mis...
Definition:
CheckRootVersion.cxx:31
RCU::disable_root_version_check
void disable_root_version_check()
effects: disable the root version check guarantee: no-fail
Definition:
CheckRootVersion.cxx:52
Generated on Sat Apr 12 2025 21:08:30 for ATLAS Offline Software by
1.8.18