![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/framework/fun4allraw/Fun4AllFileOutStream.h>
Inheritance diagram for Fun4AllFileOutStream:
Collaboration diagram for Fun4AllFileOutStream:Public Member Functions | |
| Fun4AllFileOutStream (const std::string &frule="OUTDATA-%010d-%04d.PRDFF", const std::string &name="FILEOUTSTREAM") | |
| virtual | ~Fun4AllFileOutStream () |
| int | WriteEventOut (Event *evt) override |
| int | CloseOutStream () override |
| void | identify (std::ostream &os=std::cout) const |
| oBuffer * | GetoBuffer () |
| void | SetoBuffer (oBuffer *bf) |
| uint64_t | MaxSize () const |
| void | DeleteoBuffer () |
| std::string | FileRule () const |
| int | iSeq () const |
| void | iSeq (const int i) |
| uint64_t | BytesWritten () const |
| void | BytesWritten (const uint64_t i) |
| int | OutFileDescriptor () const |
| void | OutFileDescriptor (const int i) |
| PHDWORD * | xb () |
| void | SetNEvents (unsigned int i) |
| unsigned int | GetNEvents () const |
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. | |
Static Public Attributes | |
| static const unsigned int | LENGTH = (4 * 1024 * 1024) |
Private Attributes | |
| std::string | m_FileRule |
| oBuffer * | m_ob {nullptr} |
| int | m_iSeq {0} |
| PHDWORD | m_xb [LENGTH] {} |
| int | m_OutFileDesc {-1} |
| unsigned int | m_nEvents {0} |
| uint64_t | m_BytesWritten {0} |
| uint64_t | m_MaxSize {100000000000LL} |
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 = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from Fun4AllEventOutStream | |
| Fun4AllEventOutStream (const std::string &name="OUTSTREAM") | |
| int | resize_evtbuf (const unsigned int newsize) |
| Fun4AllEventOutputManager * | MyManager () |
Definition at line 16 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 16 of file Fun4AllFileOutStream.h
| Fun4AllFileOutStream::Fun4AllFileOutStream | ( | const std::string & | frule = "OUTDATA-%010d-%04d.PRDFF", |
| const std::string & | name = "FILEOUTSTREAM" |
||
| ) |
Definition at line 19 of file Fun4AllFileOutStream.cc.
View newest version in sPHENIX GitHub at line 19 of file Fun4AllFileOutStream.cc
References m_xb.
|
virtual |
Definition at line 26 of file Fun4AllFileOutStream.cc.
View newest version in sPHENIX GitHub at line 26 of file Fun4AllFileOutStream.cc
References m_ob, and m_OutFileDesc.
|
inline |
Definition at line 32 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 32 of file Fun4AllFileOutStream.h
References m_BytesWritten.
Referenced by Fun4AllRolloverFileOutStream::open_new_file(), and Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 33 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 33 of file Fun4AllFileOutStream.h
References i, and m_BytesWritten.
|
overridevirtual |
Reimplemented from Fun4AllEventOutStream.
Definition at line 87 of file Fun4AllFileOutStream.cc.
View newest version in sPHENIX GitHub at line 87 of file Fun4AllFileOutStream.cc
References DeleteoBuffer().
Here is the call graph for this function:| void Fun4AllFileOutStream::DeleteoBuffer | ( | ) |
Definition at line 99 of file Fun4AllFileOutStream.cc.
View newest version in sPHENIX GitHub at line 99 of file Fun4AllFileOutStream.cc
References m_ob.
Referenced by CloseOutStream(), Fun4AllRolloverFileOutStream::open_new_file(), and WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 29 of file Fun4AllFileOutStream.h
References m_FileRule.
Referenced by Fun4AllRolloverFileOutStream::identify(), and Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 38 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 38 of file Fun4AllFileOutStream.h
References m_nEvents.
Referenced by Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 25 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 25 of file Fun4AllFileOutStream.h
References m_ob.
Referenced by Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:| void Fun4AllFileOutStream::identify | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 93 of file Fun4AllFileOutStream.cc.
View newest version in sPHENIX GitHub at line 93 of file Fun4AllFileOutStream.cc
References m_OutFileDesc.
|
inline |
Definition at line 30 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 30 of file Fun4AllFileOutStream.h
References m_iSeq.
Referenced by Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 31 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 31 of file Fun4AllFileOutStream.h
|
inline |
Definition at line 27 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 27 of file Fun4AllFileOutStream.h
References m_MaxSize.
Referenced by Fun4AllRolloverFileOutStream::Fun4AllRolloverFileOutStream().
Here is the caller graph for this function:
|
inline |
Definition at line 34 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 34 of file Fun4AllFileOutStream.h
References m_OutFileDesc.
Referenced by Fun4AllRolloverFileOutStream::open_new_file(), and Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 35 of file Fun4AllFileOutStream.h
References i, and m_OutFileDesc.
|
inline |
Definition at line 37 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 37 of file Fun4AllFileOutStream.h
Referenced by Fun4AllRolloverFileOutStream::open_new_file(), and Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
inline |
Definition at line 26 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 26 of file Fun4AllFileOutStream.h
References m_ob.
Referenced by Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Fun4AllEventOutStream.
Reimplemented in Fun4AllRolloverFileOutStream.
Definition at line 36 of file Fun4AllFileOutStream.cc.
View newest version in sPHENIX GitHub at line 36 of file Fun4AllFileOutStream.cc
References oBuffer::addEvent(), DeleteoBuffer(), oBuffer::getBytesWritten(), Event::getEvtSequence(), Event::getRunNumber(), Fun4AllServer::instance(), LENGTH, m_BytesWritten, m_FileRule, m_iSeq, m_MaxSize, m_ob, m_OutFileDesc, m_xb, Fun4AllBase::Name(), Acts::open, PHWHERE, Fun4AllServer::SegmentNumber(), and utils::status.
Here is the call graph for this function:
|
inline |
Definition at line 36 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 36 of file Fun4AllFileOutStream.h
References m_xb.
Referenced by __example_3.f__(), profile(), pyhisspa(), pyptis(), pyreco(), pysspa(), pytbhb(), and Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
static |
Definition at line 19 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 19 of file Fun4AllFileOutStream.h
Referenced by WriteEventOut(), and Fun4AllRolloverFileOutStream::WriteEventOut().
|
private |
Definition at line 47 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 47 of file Fun4AllFileOutStream.h
Referenced by BytesWritten(), and WriteEventOut().
|
private |
Definition at line 41 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 41 of file Fun4AllFileOutStream.h
Referenced by FileRule(), and WriteEventOut().
|
private |
Definition at line 43 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 43 of file Fun4AllFileOutStream.h
Referenced by iSeq(), and WriteEventOut().
|
private |
Definition at line 48 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 48 of file Fun4AllFileOutStream.h
Referenced by MaxSize(), and WriteEventOut().
|
private |
Definition at line 46 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 46 of file Fun4AllFileOutStream.h
Referenced by GetNEvents(), and SetNEvents().
|
private |
Definition at line 42 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 42 of file Fun4AllFileOutStream.h
Referenced by DeleteoBuffer(), GetoBuffer(), SetoBuffer(), WriteEventOut(), and ~Fun4AllFileOutStream().
|
private |
Definition at line 45 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 45 of file Fun4AllFileOutStream.h
Referenced by identify(), OutFileDescriptor(), WriteEventOut(), and ~Fun4AllFileOutStream().
Definition at line 44 of file Fun4AllFileOutStream.h.
View newest version in sPHENIX GitHub at line 44 of file Fun4AllFileOutStream.h
Referenced by Fun4AllFileOutStream(), WriteEventOut(), and xb().