Class Reference for E1039 Core & Analysis Software
Fun4AllRolloverFileOutStream.h
Go to the documentation of this file.
1
#ifndef __FUN4ALLROLLOVERFILEOUTSTREAM_H__
2
#define __FUN4ALLROLLOVERFILEOUTSTREAM_H__
3
4
#include <
Fun4AllFileOutStream.h
>
5
6
class
Fun4AllRolloverFileOutStream
:
public
Fun4AllFileOutStream
7
{
8
public
:
9
Fun4AllRolloverFileOutStream
(
const
std::string &frule =
"OUTDATA-%010d-%04d.PRDFF"
,
10
const
unsigned
int
sizeInMB =0,
11
const
int
offset =0,
12
const
int
increment=1,
13
const
std::string &name =
"Fun4AllRolloverFileOutStream"
);
14
virtual
~Fun4AllRolloverFileOutStream
() {}
15
int
WriteEventOut
(
Event
*evt);
16
void
identify
(std::ostream &os = std::cout)
const
;
17
18
protected
:
19
unsigned
long
long
max_file_size
;
20
int
current_sequence
;
21
int
i_offset
;
22
int
i_increment
;
23
24
25
};
26
27
#endif
/* __FUN4ALLFILEOUTSTREAM_H__ */
Fun4AllFileOutStream.h
Event
Definition:
Event.h:13
Fun4AllFileOutStream
Definition:
Fun4AllFileOutStream.h:17
Fun4AllRolloverFileOutStream
Definition:
Fun4AllRolloverFileOutStream.h:7
Fun4AllRolloverFileOutStream::~Fun4AllRolloverFileOutStream
virtual ~Fun4AllRolloverFileOutStream()
Definition:
Fun4AllRolloverFileOutStream.h:14
Fun4AllRolloverFileOutStream::i_offset
int i_offset
Definition:
Fun4AllRolloverFileOutStream.h:21
Fun4AllRolloverFileOutStream::WriteEventOut
int WriteEventOut(Event *evt)
Definition:
Fun4AllRolloverFileOutStream.cc:45
Fun4AllRolloverFileOutStream::max_file_size
unsigned long long max_file_size
Definition:
Fun4AllRolloverFileOutStream.h:19
Fun4AllRolloverFileOutStream::current_sequence
int current_sequence
Definition:
Fun4AllRolloverFileOutStream.h:20
Fun4AllRolloverFileOutStream::Fun4AllRolloverFileOutStream
Fun4AllRolloverFileOutStream(const std::string &frule="OUTDATA-%010d-%04d.PRDFF", const unsigned int sizeInMB=0, const int offset=0, const int increment=1, const std::string &name="Fun4AllRolloverFileOutStream")
Definition:
Fun4AllRolloverFileOutStream.cc:17
Fun4AllRolloverFileOutStream::i_increment
int i_increment
Definition:
Fun4AllRolloverFileOutStream.h:22
Fun4AllRolloverFileOutStream::identify
void identify(std::ostream &os=std::cout) const
Definition:
Fun4AllRolloverFileOutStream.cc:102
e1039-core
framework
fun4all
Fun4AllRolloverFileOutStream.h
Built by
Haiwang Yu
. updated:
Thu Jan 30 2025 10:15:15
using
1.9.1 with
SeaQuest GitHub integration