Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
daq_device_filenumbers.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file daq_device_filenumbers.h
1
#ifndef __DAQ_DEVICE_FILENUMBERS__
2
#define __DAQ_DEVICE_FILENUMBERS__
3
4
5
#include <
daq_device.h
>
6
#include <stdio.h>
7
#include <string>
8
9
class
daq_device_filenumbers
:
public
daq_device
{
10
11
12
public
:
13
14
daq_device_filenumbers
(
const
int
eventtype,
15
const
int
subeventid
,
const
char
* fn,
16
const
int
delete_flag = 0,
17
const
int
maxlength = 256);
18
19
20
~daq_device_filenumbers
();
21
22
23
void
identify
(std::ostream&
os
= std::cout)
const
;
24
25
int
max_length
(
const
int
etype)
const
;
26
27
// functions to do the work
28
29
int
put_data
(
const
int
etype,
int
* adr,
const
int
length
);
30
31
32
private
:
33
subevtdata_ptr
sevt
;
34
unsigned
int
number_of_words
;
35
int
m_eventType
;
36
int
m_subeventid
;
37
std::string
filename
;
38
int
_maxlength
;
39
int
_delete_flag
;
40
};
41
42
43
#endif
rcdaq
blob
master
daq_device_filenumbers.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:47
using
1.8.2 with
sPHENIX GitHub integration