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

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

+ Inheritance diagram for daq_device_filenumbers:
+ Collaboration diagram for daq_device_filenumbers:

Public Member Functions

 daq_device_filenumbers (const int eventtype, const int subeventid, const char *fn, const int delete_flag=0, const int maxlength=256)
 
 ~daq_device_filenumbers ()
 
void identify (std::ostream &os=std::cout) const
 
int max_length (const int etype) const
 
int put_data (const int etype, int *adr, const int length)
 
- Public Member Functions inherited from daq_device
 daq_device ()
 
virtual ~daq_device ()
 
virtual int init ()
 
virtual int endrun ()
 
virtual int rearm (const int etype)
 
virtual int subeventid () const
 

Private Attributes

subevtdata_ptr sevt
 
unsigned int number_of_words
 
int m_eventType
 
int m_subeventid
 
std::string filename
 
int _maxlength
 
int _delete_flag
 

Additional Inherited Members

- Static Public Member Functions inherited from daq_device
static int formatPacketHdr (int *adr)
 
- Protected Attributes inherited from daq_device
long m_subeventid
 
long m_eventType
 

Detailed Description

Definition at line 9 of file daq_device_filenumbers.h.

View newest version in sPHENIX GitHub at line 9 of file daq_device_filenumbers.h

Constructor & Destructor Documentation

daq_device_filenumbers::daq_device_filenumbers ( const int  eventtype,
const int  subeventid,
const char *  fn,
const int  delete_flag = 0,
const int  maxlength = 256 
)

Definition at line 18 of file daq_device_filenumbers.cc.

View newest version in sPHENIX GitHub at line 18 of file daq_device_filenumbers.cc

References filename.

daq_device_filenumbers::~daq_device_filenumbers ( )

Definition at line 35 of file daq_device_filenumbers.cc.

View newest version in sPHENIX GitHub at line 35 of file daq_device_filenumbers.cc

Member Function Documentation

void daq_device_filenumbers::identify ( std::ostream &  os = std::cout) const
virtual

Implements daq_device.

Definition at line 150 of file daq_device_filenumbers.cc.

View newest version in sPHENIX GitHub at line 150 of file daq_device_filenumbers.cc

References filename.

int daq_device_filenumbers::max_length ( const int  etype) const
virtual

Implements daq_device.

Definition at line 161 of file daq_device_filenumbers.cc.

View newest version in sPHENIX GitHub at line 161 of file daq_device_filenumbers.cc

References SEVTHEADERLENGTH.

int daq_device_filenumbers::put_data ( const int  etype,
int *  adr,
const int  length 
)
virtual

Implements daq_device.

Definition at line 44 of file daq_device_filenumbers.cc.

View newest version in sPHENIX GitHub at line 44 of file daq_device_filenumbers.cc

References daq_getEventFormat(), packet_data::data, filename, go_on, i, ID4EVT, line, SEVTHEADERLENGTH, packet_data::structureinfo, packet_data::sub_decoding, packet_data::sub_id, packet_data::sub_length, packet_data::sub_type, and while().

+ Here is the call graph for this function:

Member Data Documentation

int daq_device_filenumbers::_delete_flag
private

Definition at line 39 of file daq_device_filenumbers.h.

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

int daq_device_filenumbers::_maxlength
private

Definition at line 38 of file daq_device_filenumbers.h.

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

std::string daq_device_filenumbers::filename
private

Definition at line 37 of file daq_device_filenumbers.h.

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

int daq_device_filenumbers::m_eventType
private

Definition at line 35 of file daq_device_filenumbers.h.

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

int daq_device_filenumbers::m_subeventid
private

Definition at line 36 of file daq_device_filenumbers.h.

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

unsigned int daq_device_filenumbers::number_of_words
private

Definition at line 34 of file daq_device_filenumbers.h.

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

subevtdata_ptr daq_device_filenumbers::sevt
private

Definition at line 33 of file daq_device_filenumbers.h.

View newest version in sPHENIX GitHub at line 33 of file daq_device_filenumbers.h


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