Main Page
Namespaces
Classes
Package Documentation
DataFormats
DTDigi
interface
DTLocalTrigger.h
Go to the documentation of this file.
1
#ifndef DTLocalTrigger_DTLocalTrigger_h
2
#define DTLocalTrigger_DTLocalTrigger_h
3
13
#include <boost/cstdint.hpp>
14
15
class
DTLocalTrigger
{
16
17
public
:
18
19
21
explicit
DTLocalTrigger
(
int
eventBx
,
int
bx
,
int
data
);
22
23
25
DTLocalTrigger
();
26
28
bool
operator==
(
const
DTLocalTrigger
& trig)
const
;
29
30
31
uint16_t
eventBx
()
const
;
32
uint16_t
bx
()
const
;
33
uint16_t
quality
()
const
;
34
uint16_t
trTheta
()
const
;
35
bool
secondTrack
()
const
;
36
bool
trOut
()
const
;
37
38
40
void
print
()
const
;
41
42
43
private
:
44
45
uint16_t
theEventBX
;
46
uint16_t
theBX
;
47
uint16_t
theData
;
48
};
49
50
#include<iostream>
51
inline
std::ostream &
operator<<
(std::ostream &
o
,
const
DTLocalTrigger
& trig) {
52
return
o <<
" BX: "
<< trig.
bx
()
53
<<
" quality: "
<< trig.
quality
();
54
}
55
#endif
56
DTLocalTrigger::quality
uint16_t quality() const
Definition:
DTLocalTrigger.cc:40
DTLocalTrigger::theData
uint16_t theData
Definition:
DTLocalTrigger.h:47
DTLocalTrigger::theBX
uint16_t theBX
Definition:
DTLocalTrigger.h:46
DTLocalTrigger::trOut
bool trOut() const
Definition:
DTLocalTrigger.cc:50
DTLocalTrigger::trTheta
uint16_t trTheta() const
Definition:
DTLocalTrigger.cc:43
operator<<
std::ostream & operator<<(std::ostream &o, const DTLocalTrigger &trig)
Definition:
DTLocalTrigger.h:51
DTLocalTrigger::operator==
bool operator==(const DTLocalTrigger &trig) const
triggers are equal if they are in the same chamber and have same BX count (??)
Definition:
DTLocalTrigger.cc:29
DTLocalTrigger::theEventBX
uint16_t theEventBX
Definition:
DTLocalTrigger.h:45
DTLocalTrigger::DTLocalTrigger
DTLocalTrigger()
Default construction.
Definition:
DTLocalTrigger.cc:21
connectstrParser.o
o
Definition:
connectstrParser.py:70
DTLocalTrigger::print
void print() const
Print content of trigger.
Definition:
DTLocalTrigger.cc:59
DTLocalTrigger
Definition:
DTLocalTrigger.h:15
DTLocalTrigger::secondTrack
bool secondTrack() const
Definition:
DTLocalTrigger.cc:47
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
DTLocalTrigger::bx
uint16_t bx() const
Definition:
DTLocalTrigger.cc:38
DTLocalTrigger::eventBx
uint16_t eventBx() const
Definition:
DTLocalTrigger.cc:73
Generated for CMSSW Reference Manual by
1.8.11