ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Fun4AllRolloverFileOutStream.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllRolloverFileOutStream.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALLRAW_FUN4ALLROLLOVERFILEOUTSTREAM_H
4
#define FUN4ALLRAW_FUN4ALLROLLOVERFILEOUTSTREAM_H
5
6
#include "
Fun4AllFileOutStream.h
"
7
8
#include <iostream>
// for cout, ostream
9
#include <string>
// for string
10
11
class
Event
;
12
13
class
Fun4AllRolloverFileOutStream
:
public
Fun4AllFileOutStream
14
{
15
public
:
16
Fun4AllRolloverFileOutStream
(
const
std::string &frule =
"OUTDATA-%010d-%04d.PRDFF"
,
17
const
unsigned
int
sizeInMB = 0,
18
const
int
offset
= 0,
19
const
int
increment = 1,
20
const
std::string &
name
=
"Fun4AllRolloverFileOutStream"
);
21
virtual
~Fun4AllRolloverFileOutStream
() {}
22
int
WriteEventOut
(
Event
*evt);
23
void
identify
(std::ostream &os = std::cout)
const
;
24
25
private
:
26
unsigned
long
long
m_MaxFileFize
;
27
int
m_CurrentSequence
;
28
int
m_Offset
;
29
int
m_Increment
;
30
};
31
32
#endif
/* __FUN4ALLFILEOUTSTREAM_H__ */
coresoftware
blob
master
offline
framework
fun4allraw
Fun4AllRolloverFileOutStream.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:33
using
1.8.2 with
ECCE GitHub integration