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

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

+ Inheritance diagram for daq_device_rtclock:
+ Collaboration diagram for daq_device_rtclock:

Public Member Functions

 daq_device_rtclock (const int eventtype, const int subeventid, const int what=0)
 
 ~daq_device_rtclock ()
 
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)
 
int init ()
 
- Public Member Functions inherited from daq_device
 daq_device ()
 
virtual ~daq_device ()
 
virtual int endrun ()
 
virtual int rearm (const int etype)
 
virtual int subeventid () const
 

Protected Attributes

subevtdata_ptr sevt
 
struct timespec previous_clk
 
- Protected Attributes inherited from daq_device
long m_subeventid
 
long m_eventType
 

Additional Inherited Members

- Static Public Member Functions inherited from daq_device
static int formatPacketHdr (int *adr)
 

Detailed Description

Definition at line 10 of file daq_device_rtclock.h.

View newest version in sPHENIX GitHub at line 10 of file daq_device_rtclock.h

Constructor & Destructor Documentation

daq_device_rtclock::daq_device_rtclock ( const int  eventtype,
const int  subeventid,
const int  what = 0 
)

Definition at line 10 of file daq_device_rtclock.cc.

View newest version in sPHENIX GitHub at line 10 of file daq_device_rtclock.cc

daq_device_rtclock::~daq_device_rtclock ( )

Definition at line 19 of file daq_device_rtclock.cc.

View newest version in sPHENIX GitHub at line 19 of file daq_device_rtclock.cc

Member Function Documentation

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

Implements daq_device.

Definition at line 110 of file daq_device_rtclock.cc.

View newest version in sPHENIX GitHub at line 110 of file daq_device_rtclock.cc

int daq_device_rtclock::init ( void  )
virtual

Reimplemented from daq_device.

Definition at line 123 of file daq_device_rtclock.cc.

View newest version in sPHENIX GitHub at line 123 of file daq_device_rtclock.cc

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

Implements daq_device.

Definition at line 117 of file daq_device_rtclock.cc.

View newest version in sPHENIX GitHub at line 117 of file daq_device_rtclock.cc

References SEVTHEADERLENGTH.

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

Implements daq_device.

Definition at line 27 of file daq_device_rtclock.cc.

View newest version in sPHENIX GitHub at line 27 of file daq_device_rtclock.cc

References daq_getEventFormat(), packet_data::data, i, IDRTCLK, physmon_simulation::s, SEVTHEADERLENGTH, packet_data::sub_decoding, packet_data::sub_id, packet_data::sub_length, and packet_data::sub_type.

+ Here is the call graph for this function:

Member Data Documentation

struct timespec daq_device_rtclock::previous_clk
protected

Definition at line 37 of file daq_device_rtclock.h.

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

subevtdata_ptr daq_device_rtclock::sevt
protected

Definition at line 36 of file daq_device_rtclock.h.

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


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