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
PhysicsAnalysis
D3PDTools
EventLoopTest
Root
UnitTestAlg7.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
//
7
// includes
8
//
9
10
#include <
EventLoopTest/UnitTestAlg7.h
>
11
12
#include <TH1.h>
13
14
//
15
// method implementations
16
//
17
18
namespace
EL
19
{
20
UnitTestAlg7 ::
21
UnitTestAlg7
(
const
std::string&
name
,
22
ISvcLocator* pSvcLocator)
23
:
AnaAlgorithm
(
name
, pSvcLocator)
24
{
25
}
26
27
28
29
::StatusCode
UnitTestAlg7 ::
30
initialize
()
31
{
32
ANA_CHECK
(
book
(
TH1F
(
"dummy_hist"
,
"dummy_hist"
, 50, 0, 50)));
33
return ::StatusCode::SUCCESS;
34
}
35
36
37
38
::StatusCode
UnitTestAlg7 ::
39
execute
()
40
{
41
return ::StatusCode::SUCCESS;
42
}
43
44
45
46
::StatusCode
UnitTestAlg7 ::
47
finalize
()
48
{
49
return ::StatusCode::SUCCESS;
50
}
51
}
UnitTestAlg7.h
AthHistogramming::book
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
Definition:
AthHistogramming.h:303
EL::UnitTestAlg7::initialize
virtual ::StatusCode initialize() override
Definition:
UnitTestAlg7.cxx:30
EL::UnitTestAlg7::execute
virtual ::StatusCode execute() override
Definition:
UnitTestAlg7.cxx:39
EL::UnitTestAlg7::UnitTestAlg7
UnitTestAlg7(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
UnitTestAlg7.cxx:21
ANA_CHECK
#define ANA_CHECK(EXP)
check whether the given expression was successful
Definition:
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:324
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition:
AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition:
AlgorithmWorkerData.h:24
EL::UnitTestAlg7::finalize
virtual ::StatusCode finalize() override
Definition:
UnitTestAlg7.cxx:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition:
TrigEgammaMonitorHelper.py:24
Generated on Sat May 10 2025 21:21:55 for ATLAS Offline Software by
1.8.18