ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4AllRolloverFileOutStream Class Reference

#include <coresoftware/blob/master/offline/framework/fun4allraw/Fun4AllRolloverFileOutStream.h>

+ Inheritance diagram for Fun4AllRolloverFileOutStream:
+ Collaboration diagram for Fun4AllRolloverFileOutStream:

Public Member Functions

 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")
 
virtual ~Fun4AllRolloverFileOutStream ()
 
int WriteEventOut (Event *evt)
 
void identify (std::ostream &os=std::cout) const
 
- Public Member Functions inherited from Fun4AllFileOutStream
 Fun4AllFileOutStream (const std::string &frule="OUTDATA-%010d-%04d.PRDFF", const std::string &name="FILEOUTSTREAM")
 
virtual ~Fun4AllFileOutStream ()
 
int CloseOutStream ()
 
void identify (std::ostream &os=std::cout) const
 
oBufferGetoBuffer ()
 
void SetoBuffer (oBuffer *bf)
 
unsigned long long MaxSize () const
 
void DeleteoBuffer ()
 
std::string FileRule () const
 
int iSeq () const
 
void iSeq (const int i)
 
unsigned long long BytesWritten () const
 
void BytesWritten (const unsigned long long i)
 
int OutFileDescriptor () const
 
void OutFileDescriptor (const int i)
 
PHDWORDxb ()
 
- Public Member Functions inherited from Fun4AllEventOutStream
virtual ~Fun4AllEventOutStream ()
 
virtual int StreamStatus ()
 
virtual int WriteEvent (Event *evt)
 
int AddPacket (const int ipkt)
 
int DropPacket (const int ipkt)
 
int AddPacketRange (const int minpacket, const int maxpacket)
 
int DropPacketRange (const int minpacket, const int maxpacket)
 
void SetManager (Fun4AllEventOutputManager *myman)
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module.
 
virtual void Name (const std::string &name)
 Sets the name of this module.
 
virtual void Print (const std::string &what="ALL") const
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 

Private Attributes

unsigned long long m_MaxFileFize
 
int m_CurrentSequence
 
int m_Offset
 
int m_Increment
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10
}
 
- Static Public Attributes inherited from Fun4AllFileOutStream
static const unsigned int LENGTH = (4 * 1024 * 1024)
 
- Protected Member Functions inherited from Fun4AllEventOutStream
 Fun4AllEventOutStream (const std::string &name="OUTSTREAM")
 
int resize_evtbuf (const unsigned int newsize)
 
Fun4AllEventOutputManagerMyManager ()
 

Detailed Description

Definition at line 13 of file Fun4AllRolloverFileOutStream.h.

View newest version in sPHENIX GitHub at line 13 of file Fun4AllRolloverFileOutStream.h

Constructor & Destructor Documentation

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 at line 20 of file Fun4AllRolloverFileOutStream.cc.

View newest version in sPHENIX GitHub at line 20 of file Fun4AllRolloverFileOutStream.cc

References m_CurrentSequence, m_Increment, m_MaxFileFize, m_Offset, Fun4AllFileOutStream::MaxSize(), and offset.

+ Here is the call graph for this function:

virtual Fun4AllRolloverFileOutStream::~Fun4AllRolloverFileOutStream ( )
inlinevirtual

Definition at line 21 of file Fun4AllRolloverFileOutStream.h.

View newest version in sPHENIX GitHub at line 21 of file Fun4AllRolloverFileOutStream.h

Member Function Documentation

void Fun4AllRolloverFileOutStream::identify ( std::ostream &  os = std::cout) const

Definition at line 101 of file Fun4AllRolloverFileOutStream.cc.

View newest version in sPHENIX GitHub at line 101 of file Fun4AllRolloverFileOutStream.cc

References Fun4AllFileOutStream::FileRule(), and m_CurrentSequence.

+ Here is the call graph for this function:

Member Data Documentation

int Fun4AllRolloverFileOutStream::m_CurrentSequence
private

Definition at line 27 of file Fun4AllRolloverFileOutStream.h.

View newest version in sPHENIX GitHub at line 27 of file Fun4AllRolloverFileOutStream.h

Referenced by Fun4AllRolloverFileOutStream(), identify(), and WriteEventOut().

int Fun4AllRolloverFileOutStream::m_Increment
private

Definition at line 29 of file Fun4AllRolloverFileOutStream.h.

View newest version in sPHENIX GitHub at line 29 of file Fun4AllRolloverFileOutStream.h

Referenced by Fun4AllRolloverFileOutStream(), and WriteEventOut().

unsigned long long Fun4AllRolloverFileOutStream::m_MaxFileFize
private

Definition at line 26 of file Fun4AllRolloverFileOutStream.h.

View newest version in sPHENIX GitHub at line 26 of file Fun4AllRolloverFileOutStream.h

Referenced by Fun4AllRolloverFileOutStream(), and WriteEventOut().

int Fun4AllRolloverFileOutStream::m_Offset
private

Definition at line 28 of file Fun4AllRolloverFileOutStream.h.

View newest version in sPHENIX GitHub at line 28 of file Fun4AllRolloverFileOutStream.h

Referenced by Fun4AllRolloverFileOutStream().


The documentation for this class was generated from the following files: