The Gaudi Framework
master (f31105fd)
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
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
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
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
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
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
WriteHandleAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/Algorithm.h
>
14
#include <
GaudiKernel/DataObjectHandle.h
>
15
#include <
GaudiTestSuite/Counter.h
>
16
#include <
GaudiTestSuite/Event.h
>
17
#include <
GaudiTestSuite/MyTrack.h
>
18
19
namespace
Gaudi::TestSuite
{
20
class
WriteHandleAlg
:
public
::Algorithm
{
21
public
:
22
WriteHandleAlg
(
const
std::string
&
n
,
ISvcLocator
*
l
) :
Algorithm
(
n
,
l
) {}
23
24
bool
isClonable
()
const override
{
return
true
; }
25
27
StatusCode
execute
()
override
;
28
29
private
:
30
Gaudi::Property<bool>
m_useHandle
{
this
,
"UseHandle"
,
true
,
"Specify the usage of the handle to write"
};
31
32
DataObjectWriteHandle<Collision>
m_output_handle
{
this
,
"Output"
,
"/Event/MyCollision"
};
33
};
34
}
// namespace Gaudi::TestSuite
Gaudi::TestSuite::WriteHandleAlg::m_useHandle
Gaudi::Property< bool > m_useHandle
Definition:
WriteHandleAlg.h:30
Event.h
DataObjectWriteHandle< Collision >
std::string
STL class.
MyTrack.h
Gaudi::TestSuite::WriteHandleAlg::WriteHandleAlg
WriteHandleAlg(const std::string &n, ISvcLocator *l)
Definition:
WriteHandleAlg.h:22
ISvcLocator
Definition:
ISvcLocator.h:46
Algorithm.h
StatusCode
Definition:
StatusCode.h:65
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition:
Algorithm.h:90
Gaudi::TestSuite
Definition:
ConditionAccessorHolder.h:21
cpluginsvc.n
n
Definition:
cpluginsvc.py:234
Gaudi::TestSuite::WriteHandleAlg::isClonable
bool isClonable() const override
Definition:
WriteHandleAlg.h:24
Gaudi::TestSuite::WriteHandleAlg
Definition:
WriteHandleAlg.h:20
gaudirun.l
dictionary l
Definition:
gaudirun.py:583
DataObjectHandle.h
Gaudi::TestSuite::WriteHandleAlg::m_output_handle
DataObjectWriteHandle< Collision > m_output_handle
Definition:
WriteHandleAlg.h:32
Gaudi::Property< bool >
Gaudi::TestSuite::WriteHandleAlg::execute
StatusCode execute() override
the execution of the algorithm
Definition:
WriteHandleAlg.cpp:18
Counter.h
GaudiTestSuite
src
IO
WriteHandleAlg.h
Generated on Mon Apr 7 2025 16:26:26 for The Gaudi Framework by
1.8.18