EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_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 |
Fun4AllEventOutputManager * | m_MyManager |
unsigned int | evtbuf_size |
int | add_or_remove |
Packet ** | plist |
int | max_npackets |
int | npackets |
int | default_addall |
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 = INT_MAX - 10 } |
Definition at line 22 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 22 of file Fun4AllEventOutStream.h
|
virtual |
Definition at line 36 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 36 of file Fun4AllEventOutStream.cc
|
protected |
Definition at line 22 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 22 of file Fun4AllEventOutStream.cc
int Fun4AllEventOutStream::AddPacket | ( | const int | ipkt | ) |
Definition at line 158 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 158 of file Fun4AllEventOutStream.cc
References AddPacketRange().
Referenced by Fun4AllEventOutputManager::AddPacket().
int Fun4AllEventOutStream::AddPacketRange | ( | const int | minpacket, |
const int | maxpacket | ||
) |
Definition at line 170 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 170 of file Fun4AllEventOutStream.cc
References add_or_remove, addpktrange, Acts::UnitConstants::e, exit(), in, and PHWHERE.
Referenced by AddPacket(), and Fun4AllEventOutputManager::AddPacketRange().
|
inlinevirtual |
Reimplemented in Fun4AllFileOutStream.
Definition at line 29 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 29 of file Fun4AllEventOutStream.h
int Fun4AllEventOutStream::DropPacket | ( | const int | ipkt | ) |
Definition at line 164 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 164 of file Fun4AllEventOutStream.cc
References DropPacketRange().
Referenced by Fun4AllEventOutputManager::DropPacket().
int Fun4AllEventOutStream::DropPacketRange | ( | const int | minpacket, |
const int | maxpacket | ||
) |
Definition at line 201 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 201 of file Fun4AllEventOutStream.cc
References add_or_remove, default_addall, droppktrange, Acts::UnitConstants::e, exit(), in, and PHWHERE.
Referenced by DropPacket(), and Fun4AllEventOutputManager::DropPacketRange().
|
inlineprotected |
Definition at line 40 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 40 of file Fun4AllEventOutStream.h
References m_MyManager.
Referenced by Fun4AllRolloverFileOutStream::WriteEventOut().
|
protected |
Definition at line 43 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 43 of file Fun4AllEventOutStream.cc
References evtbuf, and evtbuf_size.
Referenced by WriteEvent().
|
inline |
Definition at line 35 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 35 of file Fun4AllEventOutStream.h
References m_MyManager.
Referenced by Fun4AllEventOutputManager::Fun4AllEventOutputManager().
|
inlinevirtual |
Definition at line 26 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 26 of file Fun4AllEventOutStream.h
|
virtual |
Definition at line 55 of file Fun4AllEventOutStream.cc.
View newest version in sPHENIX GitHub at line 55 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(), in, max_npackets, npackets, plist, resize_evtbuf(), Fun4AllBase::Verbosity(), and WriteEventOut().
Referenced by Fun4AllEventOutputManager::Write().
|
inlinevirtual |
Reimplemented in Fun4AllFileOutStream, and Fun4AllRolloverFileOutStream.
Definition at line 28 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 28 of file Fun4AllEventOutStream.h
Referenced by WriteEvent().
|
private |
Definition at line 48 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 48 of file Fun4AllEventOutStream.h
Referenced by AddPacketRange(), DropPacketRange(), and WriteEvent().
|
private |
Definition at line 53 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 53 of file Fun4AllEventOutStream.h
Referenced by AddPacketRange(), and 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 DropPacketRange(), and 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 DropPacketRange(), and WriteEvent().
|
private |
Definition at line 43 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 43 of file Fun4AllEventOutStream.h
Referenced by resize_evtbuf(), WriteEvent(), and ~Fun4AllEventOutStream().
|
private |
Definition at line 45 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 45 of file Fun4AllEventOutStream.h
Referenced by resize_evtbuf(), and WriteEvent().
|
private |
Definition at line 44 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 44 of file Fun4AllEventOutStream.h
Referenced by MyManager(), and SetManager().
|
private |
Definition at line 50 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 50 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 WriteEvent().
|
private |
Definition at line 49 of file Fun4AllEventOutStream.h.
View newest version in sPHENIX GitHub at line 49 of file Fun4AllEventOutStream.h
Referenced by WriteEvent(), and ~Fun4AllEventOutStream().