ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/framework/fun4allraw/Fun4AllRolloverFileOutStream.h>
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 |
oBuffer * | GetoBuffer () |
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) |
PHDWORD * | xb () |
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) |
Fun4AllEventOutputManager * | MyManager () |
Definition at line 13 of file Fun4AllRolloverFileOutStream.h.
View newest version in sPHENIX GitHub at line 13 of file Fun4AllRolloverFileOutStream.h
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.
|
inlinevirtual |
Definition at line 21 of file Fun4AllRolloverFileOutStream.h.
View newest version in sPHENIX GitHub at line 21 of file Fun4AllRolloverFileOutStream.h
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.
Reimplemented from Fun4AllFileOutStream.
Definition at line 48 of file Fun4AllRolloverFileOutStream.cc.
View newest version in sPHENIX GitHub at line 48 of file Fun4AllRolloverFileOutStream.cc
References oBuffer::addEvent(), Fun4AllFileOutStream::BytesWritten(), close(), Fun4AllFileOutStream::DeleteoBuffer(), g4zmq::exit(), Fun4AllFileOutStream::FileRule(), Event::getEvtSequence(), Fun4AllFileOutStream::GetoBuffer(), Event::getRunNumber(), Fun4AllFileOutStream::iSeq(), Fun4AllFileOutStream::LENGTH, m_CurrentSequence, m_Increment, m_MaxFileFize, Fun4AllEventOutStream::MyManager(), Fun4AllBase::Name(), Acts::open, Fun4AllFileOutStream::OutFileDescriptor(), PHWHERE, Fun4AllFileOutStream::SetoBuffer(), Fun4AllEventOutputManager::SetOutfileName(), Fun4AllBase::Verbosity(), and Fun4AllFileOutStream::xb().
|
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().
|
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().
|
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().
|
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().