Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/framework/fun4allraw/Fun4AllEventOutStream.h>
Public Member Functions | |
virtual | ~Fun4AllEventOutStream () |
virtual int | StreamStatus () |
virtual int | WriteEvent (Event *evt) |
virtual int | WriteEventOut (Event *) |
virtual int | CloseOutStream () |
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. | |
Protected Member Functions | |
Fun4AllEventOutStream (const std::string &name="OUTSTREAM") | |
int | resize_evtbuf (const unsigned int newsize) |
Fun4AllEventOutputManager * | MyManager () |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
Private Attributes | |
PHDWORD * | evtbuf = nullptr |
Fun4AllEventOutputManager * | m_MyManager = nullptr |
unsigned int | evtbuf_size = 0 |
int | add_or_remove = 0 |
Packet ** | plist = nullptr |
int | max_npackets = 1000 |
int | npackets = 0 |
int | default_addall = 0 |
std::map< int, boost::numeric::interval< int > > | addpktrange |
std::map< int, boost::numeric::interval< int > > | droppktrange |
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 } |
Definition at line 25 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 25 of file Fun4AllEventOutStream.h
|
virtual |
Definition at line 25 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 25 of file Fun4AllEventOutStream.cc
|
protected |
Definition at line 20 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 20 of file Fun4AllEventOutStream.cc
int Fun4AllEventOutStream::AddPacket | ( | const int | ipkt | ) |
Definition at line 147 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 147 of file Fun4AllEventOutStream.cc
References AddPacketRange().
Referenced by Fun4AllEventOutputManager::AddPacket().
int Fun4AllEventOutStream::AddPacketRange | ( | const int | minpacket, |
const int | maxpacket | ||
) |
Definition at line 159 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 159 of file Fun4AllEventOutStream.cc
References add_or_remove, addpktrange, Acts::UnitConstants::e, in, and PHWHERE.
Referenced by AddPacket(), and Fun4AllEventOutputManager::AddPacketRange().
|
inlinevirtual |
Reimplemented in Fun4AllFileOutStream.
Definition at line 32 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 32 of file Fun4AllEventOutStream.h
int Fun4AllEventOutStream::DropPacket | ( | const int | ipkt | ) |
Definition at line 153 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 153 of file Fun4AllEventOutStream.cc
References DropPacketRange().
Referenced by Fun4AllEventOutputManager::DropPacket().
int Fun4AllEventOutStream::DropPacketRange | ( | const int | minpacket, |
const int | maxpacket | ||
) |
Definition at line 190 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 190 of file Fun4AllEventOutStream.cc
References add_or_remove, default_addall, droppktrange, Acts::UnitConstants::e, in, and PHWHERE.
Referenced by DropPacket(), and Fun4AllEventOutputManager::DropPacketRange().
|
inlineprotected |
Definition at line 43 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 43 of file Fun4AllEventOutStream.h
References m_MyManager.
Referenced by Fun4AllRolloverFileOutStream::open_new_file(), and Fun4AllRolloverFileOutStream::WriteEventOut().
|
protected |
Definition at line 32 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 32 of file Fun4AllEventOutStream.cc
References evtbuf, evtbuf_size, and i.
Referenced by WriteEvent().
|
inline |
Definition at line 38 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 38 of file Fun4AllEventOutStream.h
References m_MyManager.
Referenced by Fun4AllEventOutputManager::Fun4AllEventOutputManager().
|
inlinevirtual |
Definition at line 29 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 29 of file Fun4AllEventOutStream.h
|
virtual |
Definition at line 44 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 44 of file Fun4AllEventOutStream.cc
References add_or_remove, addpktrange, default_addall, droppktrange, evtbuf, evtbuf_size, Event::getEvtSequence(), Event::getEvtType(), Packet::getIdentifier(), Packet::getLength(), Event::getPacketList(), Event::getRunNumber(), i, in, index, max_npackets, npackets, packetid, plist, resize_evtbuf(), size, Fun4AllBase::Verbosity(), and WriteEventOut().
Referenced by Fun4AllEventOutputManager::Write().
|
inlinevirtual |
Reimplemented in Fun4AllRolloverFileOutStream, and Fun4AllFileOutStream.
Definition at line 31 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 31 of file Fun4AllEventOutStream.h
Referenced by WriteEvent().
|
private |
Definition at line 51 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 51 of file Fun4AllEventOutStream.h
Referenced by AddPacketRange(), DropPacketRange(), and WriteEvent().
|
private |
Definition at line 56 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 56 of file Fun4AllEventOutStream.h
Referenced by AddPacketRange(), and WriteEvent().
|
private |
Definition at line 55 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 55 of file Fun4AllEventOutStream.h
Referenced by DropPacketRange(), and WriteEvent().
|
private |
Definition at line 57 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 57 of file Fun4AllEventOutStream.h
Referenced by DropPacketRange(), and WriteEvent().
|
private |
Definition at line 46 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 46 of file Fun4AllEventOutStream.h
Referenced by resize_evtbuf(), WriteEvent(), and ~Fun4AllEventOutStream().
|
private |
Definition at line 48 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 48 of file Fun4AllEventOutStream.h
Referenced by resize_evtbuf(), and WriteEvent().
|
private |
Definition at line 47 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 47 of file Fun4AllEventOutStream.h
Referenced by MyManager(), and SetManager().
|
private |
Definition at line 53 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 53 of file Fun4AllEventOutStream.h
Referenced by WriteEvent().
|
private |
Definition at line 54 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 54 of file Fun4AllEventOutStream.h
Referenced by WriteEvent().
|
private |
Definition at line 52 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 52 of file Fun4AllEventOutStream.h
Referenced by WriteEvent(), and ~Fun4AllEventOutStream().