Class to monitor the data stream and detect synchronization patterns.
More...
#include <SyncPatternMonitor.h>
Class to monitor the data stream and detect synchronization patterns.
Definition at line 31 of file SyncPatternMonitor.h.
◆ SyncPatternMonitor() [1/3]
SyncPatternMonitor::SyncPatternMonitor |
( |
| ) |
|
◆ SyncPatternMonitor() [2/3]
SyncPatternMonitor::SyncPatternMonitor |
( |
int |
sampa, |
|
|
int |
lowHigh |
|
) |
| |
◆ SyncPatternMonitor() [3/3]
◆ ~SyncPatternMonitor()
o2::tpc::SyncPatternMonitor::~SyncPatternMonitor |
( |
| ) |
|
|
default |
◆ addSequence()
Adds a sequence of 4 new half-words and looks for sync pattern
- Parameters
-
hw0 | 1st (timewise) half word |
hw1 | 2nd (timewise) half word |
hw2 | 3th (timewise) half word |
hw3 | 4th (timewise) half word |
- Returns
- Position of first part of the synchronization pattern, -1 if no pattern was found
Definition at line 94 of file SyncPatternMonitor.h.
◆ getPatternA()
short o2::tpc::SyncPatternMonitor::getPatternA |
( |
| ) |
const |
|
inline |
◆ getPatternB()
short o2::tpc::SyncPatternMonitor::getPatternB |
( |
| ) |
const |
|
inline |
◆ getPosition()
short o2::tpc::SyncPatternMonitor::getPosition |
( |
| ) |
|
|
inline |
Get position
- Returns
- Position of first part of the synchronization pattern, -1 if no patter was found
Definition at line 59 of file SyncPatternMonitor.h.
◆ getSyncStart()
short o2::tpc::SyncPatternMonitor::getSyncStart |
( |
| ) |
const |
|
inline |
◆ reset()
void SyncPatternMonitor::reset |
( |
| ) |
|
The documentation for this class was generated from the following files: