Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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::quality
uint16_t quality() const
Definition:
DTLocalTrigger.cc:26
DTLocalTrigger::theData
uint16_t theData
Definition:
DTLocalTrigger.h:39
DTLocalTrigger::theBX
uint16_t theBX
Definition:
DTLocalTrigger.h:38
DTLocalTrigger::trOut
bool trOut() const
Definition:
DTLocalTrigger.cc:30
DTLocalTrigger::trTheta
uint16_t trTheta() const
Definition:
DTLocalTrigger.cc:27
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
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::theEventBX
uint16_t theEventBX
Definition:
DTLocalTrigger.h:37
DTLocalTrigger::DTLocalTrigger
DTLocalTrigger()
Default construction.
Definition:
DTLocalTrigger.cc:13
DTLocalTrigger::print
void print() const
Print content of trigger.
Definition:
DTLocalTrigger.cc:36
DTLocalTrigger
Definition:
DTLocalTrigger.h:15
DTLocalTrigger::secondTrack
bool secondTrack() const
Definition:
DTLocalTrigger.cc:29
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
class-composition.o
tuple o
Definition:
class-composition.py:65
DTLocalTrigger::bx
uint16_t bx() const
Definition:
DTLocalTrigger.cc:24
DTLocalTrigger::eventBx
uint16_t eventBx() const
Definition:
DTLocalTrigger.cc:50
Generated for CMSSW Reference Manual by
1.8.5