![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <rcdaq/blob/master/daq_device_file.h>
Inheritance diagram for daq_device_file:
Collaboration diagram for daq_device_file:Public Member Functions | |
| daq_device_file (const int eventtype, const int subeventid, const char *fn, const int delete_flag=0, const int maxlength=4 *1024) | |
| ~daq_device_file () | |
| 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 | |
| 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 |
Definition at line 9 of file daq_device_file.h.
View newest version in sPHENIX GitHub at line 9 of file daq_device_file.h
| daq_device_file::daq_device_file | ( | const int | eventtype, |
| const int | subeventid, | ||
| const char * | fn, | ||
| const int | delete_flag = 0, |
||
| const int | maxlength = 4*1024 |
||
| ) |
Definition at line 16 of file daq_device_file.cc.
View newest version in sPHENIX GitHub at line 16 of file daq_device_file.cc
References filename.
| daq_device_file::~daq_device_file | ( | ) |
Definition at line 32 of file daq_device_file.cc.
View newest version in sPHENIX GitHub at line 32 of file daq_device_file.cc
|
virtual |
Implements daq_device.
Definition at line 155 of file daq_device_file.cc.
View newest version in sPHENIX GitHub at line 155 of file daq_device_file.cc
References filename.
|
virtual |
Implements daq_device.
Definition at line 166 of file daq_device_file.cc.
View newest version in sPHENIX GitHub at line 166 of file daq_device_file.cc
References SEVTHEADERLENGTH.
|
virtual |
Implements daq_device.
Definition at line 40 of file daq_device_file.cc.
View newest version in sPHENIX GitHub at line 40 of file daq_device_file.cc
References Acts::PhysicalConstants::c, daq_getEventFormat(), subevt_data::data, packet_data::data, filename, IDCSTR, G4PLUGDOOR::length, Acts::open, ActsExamples::JsonSurfacesReader::read(), subevt_data::reserved, SEVTHEADERLENGTH, utils::status, packet_data::structureinfo, subevt_data::sub_decoding, packet_data::sub_decoding, subevt_data::sub_id, packet_data::sub_id, subevt_data::sub_length, packet_data::sub_length, subevt_data::sub_padding, subevt_data::sub_type, and packet_data::sub_type.
Here is the call graph for this function:
|
private |
Definition at line 37 of file daq_device_file.h.
View newest version in sPHENIX GitHub at line 37 of file daq_device_file.h
|
private |
Definition at line 36 of file daq_device_file.h.
View newest version in sPHENIX GitHub at line 36 of file daq_device_file.h
|
private |
Definition at line 35 of file daq_device_file.h.
View newest version in sPHENIX GitHub at line 35 of file daq_device_file.h
|
private |
Definition at line 33 of file daq_device_file.h.
View newest version in sPHENIX GitHub at line 33 of file daq_device_file.h
|
private |
Definition at line 34 of file daq_device_file.h.
View newest version in sPHENIX GitHub at line 34 of file daq_device_file.h