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 <cstdint>
14
15
class
DTLocalTrigger
{
16
public
:
18
explicit
DTLocalTrigger
(
int
eventBx
,
int
bx
,
int
data
);
19
21
DTLocalTrigger
();
22
24
bool
operator==
(
const
DTLocalTrigger
&
trig
)
const
;
25
26
uint16_t
eventBx
()
const
;
27
uint16_t
bx
()
const
;
28
uint16_t
quality
()
const
;
29
uint16_t
trTheta
()
const
;
30
bool
secondTrack
()
const
;
31
bool
trOut
()
const
;
32
34
void
print
()
const
;
35
36
private
:
37
uint16_t
theEventBX
;
38
uint16_t
theBX
;
39
uint16_t
theData
;
40
};
41
42
#include <iostream>
43
inline
std::ostream&
operator<<
(std::ostream&
o
,
const
DTLocalTrigger
&
trig
) {
44
return
o
<<
" BX: "
<<
trig
.bx() <<
" quality: "
<<
trig
.quality();
45
}
46
#endif
DTLocalTrigger::print
void print() const
Print content of trigger.
Definition:
DTLocalTrigger.cc:36
DTLocalTrigger
Definition:
DTLocalTrigger.h:15
DTLocalTrigger::theBX
uint16_t theBX
Definition:
DTLocalTrigger.h:38
DTLocalTrigger::theData
uint16_t theData
Definition:
DTLocalTrigger.h:39
DTLocalTrigger::trTheta
uint16_t trTheta() const
Definition:
DTLocalTrigger.cc:27
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
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:16
DTLocalTrigger::secondTrack
bool secondTrack() const
Definition:
DTLocalTrigger.cc:29
DTLocalTrigger::bx
uint16_t bx() const
Definition:
DTLocalTrigger.cc:24
DTLocalTrigger::DTLocalTrigger
DTLocalTrigger()
Default construction.
Definition:
DTLocalTrigger.cc:13
DTLocalTrigger::theEventBX
uint16_t theEventBX
Definition:
DTLocalTrigger.h:37
ClusterTask_cfi.trig
trig
Definition:
ClusterTask_cfi.py:398
DTLocalTrigger::trOut
bool trOut() const
Definition:
DTLocalTrigger.cc:30
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
DTLocalTrigger::eventBx
uint16_t eventBx() const
Definition:
DTLocalTrigger.cc:50
DTLocalTrigger::quality
uint16_t quality() const
Definition:
DTLocalTrigger.cc:26
operator<<
std::ostream & operator<<(std::ostream &o, const DTLocalTrigger &trig)
Definition:
DTLocalTrigger.h:43
Generated for CMSSW Reference Manual by
1.8.16