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_deadtime.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file daq_device_deadtime.h
1
#ifndef __DAQ_DEVICE_DEADTIME__
2
#define __DAQ_DEVICE_DEADTIME__
3
4
5
#include <
daq_device.h
>
6
#include <
pulserTriggerHandler.h
>
7
#include <stdio.h>
8
9
10
class
daq_device_deadtime
:
public
daq_device
{
11
12
13
public
:
14
15
daq_device_deadtime
(
const
int
eventtype
16
,
const
int
subeventid
17
,
const
int
n_ticks = 100
18
,
const
int
n_words = 0
19
,
const
int
trigger_enabled=0);
20
21
22
~daq_device_deadtime
();
23
24
25
void
identify
(std::ostream&
os
= std::cout)
const
;
26
27
int
max_length
(
const
int
etype)
const
;
28
29
// functions to do the work
30
31
int
put_data
(
const
int
etype,
int
* adr,
const
int
length
);
32
33
int
init
();
34
35
int
rearm
(
const
int
etype);
36
37
protected
:
38
subevtdata_ptr
sevt
;
39
unsigned
int
number_of_ticks
;
40
unsigned
int
number_of_words
;
41
pulserTriggerHandler
*
th
;
42
43
};
44
45
46
#endif
rcdaq
blob
master
daq_device_deadtime.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:47
using
1.8.2 with
sPHENIX GitHub integration