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 
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");
15  int WriteEventOut(Event *evt);
16  void identify(std::ostream &os = std::cout) const;
17 
18  protected:
19  unsigned long long max_file_size;
21  int i_offset;
23 
24 
25 };
26 
27 #endif /* __FUN4ALLFILEOUTSTREAM_H__ */
Definition: Event.h:13
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")
void identify(std::ostream &os=std::cout) const