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
SequentialOutputStream.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 GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
12
#define GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
13
14
#include <string>
15
// Required for inheritance
16
#include "
OutputStream.h
"
17
24
class
SequentialOutputStream
:
public
OutputStream
{
25
26
protected
:
28
StatusCode
writeObjects
()
override
;
29
30
public
:
31
using
OutputStream::OutputStream;
32
33
StatusCode
execute
()
override
;
34
35
private
:
36
Gaudi::Property<unsigned int>
m_eventsPerFile
{
this
,
"EventsPerFile"
,
std::numeric_limits<unsigned int>::max
() };
37
Gaudi::Property<bool>
m_numericFilename
{
this
,
"NumericFilename"
,
false
};
38
Gaudi::Property<unsigned int>
m_nNumbersAdded
{
this
,
"NumbersAdded"
, 6 };
39
40
// Data members
41
unsigned
int
m_events
= 0;
42
unsigned
int
m_iFile
= 1;
43
44
// Helper Methods
45
void
makeFilename
();
46
};
47
48
#endif // GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
OutputStream
A small to stream Data I/O.
Definition:
OutputStream.h:38
SequentialOutputStream::m_events
unsigned int m_events
Definition:
SequentialOutputStream.h:41
SequentialOutputStream::execute
StatusCode execute() override
Working entry point.
Definition:
SequentialOutputStream.cpp:45
SequentialOutputStream
Definition:
SequentialOutputStream.h:24
SequentialOutputStream::writeObjects
StatusCode writeObjects() override
OutputStream override: Select the different objects and write them to file.
Definition:
SequentialOutputStream.cpp:34
SequentialOutputStream::makeFilename
void makeFilename()
Definition:
SequentialOutputStream.cpp:59
SequentialOutputStream::m_numericFilename
Gaudi::Property< bool > m_numericFilename
Definition:
SequentialOutputStream.h:37
SequentialOutputStream::m_eventsPerFile
Gaudi::Property< unsigned int > m_eventsPerFile
Definition:
SequentialOutputStream.h:36
SequentialOutputStream::m_iFile
unsigned int m_iFile
Definition:
SequentialOutputStream.h:42
StatusCode
Definition:
StatusCode.h:65
SequentialOutputStream::m_nNumbersAdded
Gaudi::Property< unsigned int > m_nNumbersAdded
Definition:
SequentialOutputStream.h:38
OutputStream.h
std::numeric_limits::max
T max(T... args)
Gaudi::Property< unsigned int >
GaudiCommonSvc
src
PersistencySvc
SequentialOutputStream.h
Generated on Mon Apr 7 2025 16:26:20 for The Gaudi Framework by
1.8.18