Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ospEvent Class Reference

#include <online_distribution/blob/master/newbasic/ospEvent.h>

+ Collaboration diagram for ospEvent:

Public Member Functions

 ospEvent (PHDWORD *, const int maxlength, const int irun, const int itype, const int eseq)
 
virtual ~ospEvent ()
 
virtual int prepare_next ()
 
virtual int prepare_next (const int, const int)
 
virtual void set_event_type (const int)
 
virtual int addPacket (const Packet *p)
 
virtual int addUnstructPacketData (PHDWORD *data, const int length, const int id, const int wordsize, const int hitformat)
 

Protected Attributes

PHDWORDevent_base
 
int current
 
int in_frame
 
int max_length
 
int left
 
oncsevtdata_ptr evthdr
 

Detailed Description

Definition at line 12 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 12 of file ospEvent.h

Constructor & Destructor Documentation

ospEvent::ospEvent ( PHDWORD where,
const int  maxlength,
const int  irun,
const int  itype,
const int  eseq 
)

Definition at line 8 of file ospEvent.cc.

View newest version in sPHENIX GitHub at line 8 of file ospEvent.cc

References oncsevt_data::evt_type, evthdr, G4PLUGDOOR::length, max_length, and prepare_next().

+ Here is the call graph for this function:

virtual ospEvent::~ospEvent ( )
inlinevirtual

Definition at line 20 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 20 of file ospEvent.h

Member Function Documentation

int ospEvent::addPacket ( const Packet p)
virtual

Definition at line 62 of file ospEvent.cc.

View newest version in sPHENIX GitHub at line 62 of file ospEvent.cc

References Packet::copyMe(), current, oncsevt_data::data, oncsevt_data::evt_length, evthdr, Packet::getLength(), and left.

Referenced by ospBuffer::addPacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ospEvent::addUnstructPacketData ( PHDWORD data,
const int  length,
const int  id,
const int  wordsize,
const int  hitformat 
)
virtual

Definition at line 85 of file ospEvent.cc.

View newest version in sPHENIX GitHub at line 85 of file ospEvent.cc

References current, subevt_data::data, oncsevt_data::data, oncsevt_data::evt_length, evthdr, train_ambiguity_solver::id, left, G4PLUGDOOR::length, subevt_data::reserved, SEVTHEADERLENGTH, subevt_data::sub_decoding, subevt_data::sub_id, subevt_data::sub_length, and subevt_data::sub_type.

Referenced by ospBuffer::addUnstructPacketData().

+ Here is the caller graph for this function:

int ospEvent::prepare_next ( )
virtual

Definition at line 22 of file ospEvent.cc.

View newest version in sPHENIX GitHub at line 22 of file ospEvent.cc

References current, oncsevt_data::date, oncsevt_data::evt_length, oncsevt_data::evt_sequence, evthdr, EVTHEADERLENGTH, left, max_length, oncsevt_data::time, and Acts::Test::time.

Referenced by ospEvent().

+ Here is the caller graph for this function:

int ospEvent::prepare_next ( const int  evtseq,
const int  irun 
)
virtual
void ospEvent::set_event_type ( const int  etype)
virtual

Definition at line 17 of file ospEvent.cc.

View newest version in sPHENIX GitHub at line 17 of file ospEvent.cc

References oncsevt_data::evt_type, and evthdr.

Member Data Documentation

int ospEvent::current
protected

Definition at line 35 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 35 of file ospEvent.h

Referenced by addPacket(), addUnstructPacketData(), and prepare_next().

PHDWORD* ospEvent::event_base
protected

Definition at line 34 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 34 of file ospEvent.h

oncsevtdata_ptr ospEvent::evthdr
protected

Definition at line 39 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 39 of file ospEvent.h

Referenced by addPacket(), addUnstructPacketData(), ospEvent(), prepare_next(), and set_event_type().

int ospEvent::in_frame
protected

Definition at line 36 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 36 of file ospEvent.h

int ospEvent::left
protected

Definition at line 38 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 38 of file ospEvent.h

Referenced by addPacket(), addUnstructPacketData(), and prepare_next().

int ospEvent::max_length
protected

Definition at line 37 of file ospEvent.h.

View newest version in sPHENIX GitHub at line 37 of file ospEvent.h

Referenced by ospEvent(), and prepare_next().


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