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
w
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
ForwardDetectors
ALFA
ALFA_Digitization
src
ALFA_DigiAlg.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ALFA_Digitization/ALFA_DigiAlg.h
"
6
#include "
PileUpTools/IPileUpTool.h
"
7
8
ALFA_DigiAlg::ALFA_DigiAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator):
9
AthAlgorithm
(
name
, pSvcLocator),
10
m_digiTool(
"ALFA_PileUpTool"
, this )
11
{
12
declareProperty
(
"DigitizationTool"
,
m_digiTool
,
"AthAlgTool which performs ALFA digitization"
);
13
}
14
15
StatusCode
ALFA_DigiAlg::initialize
()
16
{
17
// intitialize store gate active store
18
if
(
m_digiTool
.retrieve().isFailure()) {
19
ATH_MSG_FATAL
(
"Could not retrieve ALFA_PileUpTool!"
);
20
return
StatusCode::FAILURE;
21
}
22
ATH_MSG_DEBUG
(
"Retrieved ALFA_PileUpTool."
);
23
return
StatusCode::SUCCESS;
24
}
25
26
StatusCode
ALFA_DigiAlg::execute
()
27
{
28
ATH_MSG_DEBUG
(
"ALFA_DigiAlg::execute"
);
29
30
return
m_digiTool
->processAllSubEvents(Gaudi::Hive::currentContext());
31
}
32
33
StatusCode
ALFA_DigiAlg::finalize
()
34
{
35
return
StatusCode::SUCCESS;
36
}
ALFA_DigiAlg.h
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition:
AthMsgStreamMacros.h:34
ALFA_DigiAlg::m_digiTool
ToolHandle< IPileUpTool > m_digiTool
Definition:
ALFA_DigiAlg.h:26
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition:
AthCommonDataStore.h:145
ALFA_DigiAlg::ALFA_DigiAlg
ALFA_DigiAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
ALFA_DigiAlg.cxx:8
ALFA_DigiAlg::finalize
StatusCode finalize()
Definition:
ALFA_DigiAlg.cxx:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm
Definition:
AthAlgorithm.h:47
ALFA_DigiAlg::initialize
StatusCode initialize()
Definition:
ALFA_DigiAlg.cxx:15
ALFA_DigiAlg::execute
StatusCode execute()
Definition:
ALFA_DigiAlg.cxx:26
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
Generated on Tue May 13 2025 21:06:00 for ATLAS Offline Software by
1.8.18