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
pulserTriggerHandler.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pulserTriggerHandler.h
1
#ifndef __PULSERTRIGGERHANDLER_H__
2
#define __PULSERTRIGGERHANDLER_H__
3
4
#include <unistd.h>
5
6
class
pulserTriggerHandler
:
public
TriggerHandler
{
7
8
public
:
9
10
pulserTriggerHandler
(
const
int
evttype = 1)
11
{
12
_evttype
= evttype;
13
_count
= 0;
14
}
15
16
~pulserTriggerHandler
() {};
17
18
// virtual void identify(std::ostream& os = std::cout) const = 0;
19
20
// this is the virtual worker routine
21
int
wait_for_trigger
(
const
int
moreinfo=0)
22
{
23
//std::cout << "trigger " << _count++ << std::endl;
24
return
_evttype
;
25
}
26
protected
:
27
28
int
_count
;
29
int
_evttype
;
30
};
31
32
#endif
rcdaq
blob
master
pulserTriggerHandler.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:48
using
1.8.2 with
sPHENIX GitHub integration