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
InnerDetector
InDetConditions
SCT_ConditionsAlgorithms
src
SCT_RODVetoTestAlg.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
14
#include "
SCT_RODVetoTestAlg.h
"
15
16
// Athena include
17
#include "
Identifier/IdentifierHash.h
"
18
19
SCT_RODVetoTestAlg::SCT_RODVetoTestAlg
(
const
std::string&
name
,
20
ISvcLocator* pSvcLocator) :
21
AthReentrantAlgorithm
(
name
, pSvcLocator ) {
22
//nop
23
}
24
25
//Initialize
26
StatusCode
27
SCT_RODVetoTestAlg::initialize
() {
28
ATH_MSG_INFO
(
"Calling initialize"
);
29
ATH_CHECK
(
m_pRODVetoTool
.retrieve());
30
return
StatusCode::SUCCESS;
31
}
32
33
//Execute
34
StatusCode
35
SCT_RODVetoTestAlg::execute
(
const
EventContext& ctx)
const
{
36
//This method is only used to test the summary service, and only used within this package,
37
// so the INFO level messages have no impact on performance of these services when used by clients
38
ATH_MSG_INFO
(
"Calling execute"
);
39
for
(
unsigned
int
hash
{0};
hash
<8176;
hash
+=2) {
40
bool
result
{
m_pRODVetoTool
->isGood(
IdentifierHash
{
hash
}, ctx)};
//invented, no idea what this is
41
ATH_MSG_INFO
(
"Call to module in ROD : Module (hash="
<<
hash
<<
") is "
<< (
result
?
"good"
:
"bad"
));
42
}
43
44
return
StatusCode::SUCCESS;
45
}
46
47
48
//Finalize
49
StatusCode
50
SCT_RODVetoTestAlg::finalize
() {
51
ATH_MSG_INFO
(
"Calling finalize"
);
52
return
StatusCode::SUCCESS;
53
}
get_generator_info.result
result
Definition:
get_generator_info.py:21
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
SCT_RODVetoTestAlg.h
Header file for the SCT_RODVetoTestAlg class in package SCT_ConditionsAlgorithms.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:74
SCT_RODVetoTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
SCT_RODVetoTestAlg.cxx:35
SCT_RODVetoTestAlg::finalize
virtual StatusCode finalize() override
Definition:
SCT_RODVetoTestAlg.cxx:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
IdentifierHash.h
SCT_RODVetoTestAlg::SCT_RODVetoTestAlg
SCT_RODVetoTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
SCT_RODVetoTestAlg.cxx:19
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:109
SCT_RODVetoTestAlg::initialize
virtual StatusCode initialize() override
Definition:
SCT_RODVetoTestAlg.cxx:27
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
SCT_RODVetoTestAlg::m_pRODVetoTool
ToolHandle< ISCT_ConditionsTool > m_pRODVetoTool
Definition:
SCT_RODVetoTestAlg.h:42
Generated on Thu Mar 13 2025 21:17:56 for ATLAS Offline Software by
1.8.18