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
LArCalorimeter
LArIdentifier
LArIdentifier
LArOnlID_Exception.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARHARDWAREID_EXCEPTION_H
6
#define LARHARDWAREID_EXCEPTION_H
7
8
#include <string>
9
16
class
LArOnlID_Exception
{
17
public
:
18
22
LArOnlID_Exception
() :
m_message
(
"No error message"
) ,
m_code
( 999 ) { }
23
27
LArOnlID_Exception
(
const
std::string& l_message ,
int
l_code) :
m_message
( l_message ) ,
m_code
( l_code ) { }
28
32
void
message
(
const
std::string& l_message) {
m_message
= l_message ;}
33
37
virtual
std::string
message
()
const
{
return
m_message
;}
38
42
void
code
(
int
l_code) {
m_code
= l_code ;}
43
57
virtual
int
code
()
const
{
return
m_code
;}
58
59
virtual
operator
std::string();
60
64
virtual
~LArOnlID_Exception
() {}
65
66
private
:
67
71
std::string
m_message
;
72
76
int
m_code
;
77
};
78
#endif //LARHARDWAREID_EXCEPTION_H
79
80
LArOnlID_Exception::message
void message(const std::string &l_message)
set error message
Definition:
LArOnlID_Exception.h:32
LArOnlID_Exception::message
virtual std::string message() const
return error message
Definition:
LArOnlID_Exception.h:37
LArOnlID_Exception::m_code
int m_code
error code
Definition:
LArOnlID_Exception.h:76
LArOnlID_Exception::m_message
std::string m_message
error message
Definition:
LArOnlID_Exception.h:71
LArOnlID_Exception::LArOnlID_Exception
LArOnlID_Exception()
default constructor
Definition:
LArOnlID_Exception.h:22
LArOnlID_Exception::code
virtual int code() const
return error code
Definition:
LArOnlID_Exception.h:57
LArOnlID_Exception
Exception class for LAr online Identifiers.
Definition:
LArOnlID_Exception.h:16
LArOnlID_Exception::code
void code(int l_code)
set error code number
Definition:
LArOnlID_Exception.h:42
LArOnlID_Exception::LArOnlID_Exception
LArOnlID_Exception(const std::string &l_message, int l_code)
constructor to be used
Definition:
LArOnlID_Exception.h:27
LArOnlID_Exception::~LArOnlID_Exception
virtual ~LArOnlID_Exception()
destructor
Definition:
LArOnlID_Exception.h:64
Generated on Mon Apr 21 2025 21:14:03 for ATLAS Offline Software by
1.8.18