Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
v38r0 (2143aa4c)
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
g
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
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
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
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-2019 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
#ifndef HANDLEWRITE_ALG_H
12
#define HANDLEWRITE_ALG_H
13
14
#include "
GaudiKernel/Algorithm.h
"
15
16
#include "
GaudiKernel/DataObjectHandle.h
"
17
18
// Event Model related classes
19
#include "
GaudiExamples/Counter.h
"
20
#include "
GaudiExamples/Event.h
"
21
#include "
GaudiExamples/MyTrack.h
"
22
23
using namespace
Gaudi::Examples
;
24
25
//------------------------------------------------------------------------------
26
27
class
WriteHandleAlg
:
public
Algorithm
{
28
public
:
29
WriteHandleAlg
(
const
std::string
&
n
,
ISvcLocator
*
l
) :
Algorithm
(
n
,
l
) {}
30
31
bool
isClonable
()
const override
{
return
true
; }
32
34
StatusCode
execute
()
override
;
35
36
private
:
37
Gaudi::Property<bool>
m_useHandle{
this
,
"UseHandle"
,
true
,
"Specify the usage of the handle to write"
};
38
39
DataObjectWriteHandle<Collision>
m_output_handle{
this
,
"Output"
,
"/Event/MyCollision"
};
40
};
41
42
#endif
DataObjectWriteHandle< Collision >
std::string
STL class.
ISvcLocator
Definition:
ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
WriteHandleAlg::isClonable
bool isClonable() const override
Definition:
WriteHandleAlg.h:31
Gaudi::Examples
Definition:
EvtColAlg.cpp:40
StatusCode
Definition:
StatusCode.h:65
GaudiPython.Pythonizations.execute
execute
Definition:
Pythonizations.py:578
MyTrack.h
GaudiPluginService.cpluginsvc.n
n
Definition:
cpluginsvc.py:234
WriteHandleAlg::WriteHandleAlg
WriteHandleAlg(const std::string &n, ISvcLocator *l)
Definition:
WriteHandleAlg.h:29
Event.h
gaudirun.l
dictionary l
Definition:
gaudirun.py:580
Counter.h
DataObjectHandle.h
Gaudi::Property< bool >
GaudiExamples
src
IO
WriteHandleAlg.h
Generated on Thu Jan 25 2024 17:52:20 for The Gaudi Framework by
1.8.18