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

#include <rcdaq/blob/master/daqONCSEvent.h>

+ Inheritance diagram for daqONCSEvent:
+ Collaboration diagram for daqONCSEvent:

Public Member Functions

 daqONCSEvent (int *, const int maxlength, const int irun, const int itype, const int eseq)
 
 ~daqONCSEvent ()
 
int prepare_next ()
 
int prepare_next (const int, const int)
 
int addSubevent (const int etype, daq_device *)
 
- Public Member Functions inherited from daqEvent
virtual ~daqEvent ()
 
virtual void set_event_type (const int)
 

Static Public Member Functions

static int formatHeader (int *where, const int id, const int hf, const int type)
 

Additional Inherited Members

- Protected Attributes inherited from daqEvent
int * event_base
 
int current
 
evtdata_ptr evthdr
 
int max_length
 
int left
 

Detailed Description

Definition at line 7 of file daqONCSEvent.h.

View newest version in sPHENIX GitHub at line 7 of file daqONCSEvent.h

Constructor & Destructor Documentation

daqONCSEvent::daqONCSEvent ( int *  where,
const int  maxlength,
const int  irun,
const int  itype,
const int  eseq 
)

Definition at line 4 of file daqONCSEvent.cc.

View newest version in sPHENIX GitHub at line 4 of file daqONCSEvent.cc

References daqEvent::event_base, evt_data::evt_type, daqEvent::evthdr, G4PLUGDOOR::length, daqEvent::max_length, and prepare_next().

+ Here is the call graph for this function:

daqONCSEvent::~daqONCSEvent ( )
inline

Definition at line 15 of file daqONCSEvent.h.

View newest version in sPHENIX GitHub at line 15 of file daqONCSEvent.h

Member Function Documentation

int daqONCSEvent::addSubevent ( const int  etype,
daq_device dev 
)
virtual

Implements daqEvent.

Definition at line 54 of file daqONCSEvent.cc.

View newest version in sPHENIX GitHub at line 54 of file daqONCSEvent.cc

References daqEvent::current, evt_data::data, evt_data::evt_length, daqEvent::evthdr, daqEvent::left, and daq_device::put_data().

+ Here is the call graph for this function:

int daqONCSEvent::formatHeader ( int *  where,
const int  id,
const int  hf,
const int  type 
)
static
int daqONCSEvent::prepare_next ( )
virtual

Implements daqEvent.

Definition at line 15 of file daqONCSEvent.cc.

View newest version in sPHENIX GitHub at line 15 of file daqONCSEvent.cc

References prepare_next().

Referenced by daqONCSEvent(), and prepare_next().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int daqONCSEvent::prepare_next ( const int  evtseq,
const int  irun 
)
virtual

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