Project
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
a
b
c
f
g
m
o
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
b
c
d
k
m
n
s
v
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
SyncPatternMonitor.cxx
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
14
15
#include "
TPCReconstruction/SyncPatternMonitor.h
"
16
#include <iostream>
17
18
using namespace
o2::tpc
;
19
constexpr
std::array<short, 32> SyncPatternMonitor::SYNC_PATTERN;
20
21
SyncPatternMonitor::SyncPatternMonitor
()
22
:
SyncPatternMonitor
(-1, -1)
23
{
24
}
21
SyncPatternMonitor::SyncPatternMonitor
() {
…
}
25
26
SyncPatternMonitor::SyncPatternMonitor
(
int
sampa,
int
lowHigh)
27
: mPatternFound(false), mPosition(SYNC_START), mHwWithPattern(-1), mSampa(sampa), mLowHigh(lowHigh), mCheckedWords(0)
28
{
29
}
26
SyncPatternMonitor::SyncPatternMonitor
(
int
sampa,
int
lowHigh) {
…
}
30
31
SyncPatternMonitor::SyncPatternMonitor
(
const
SyncPatternMonitor
&
other
) =
default
;
32
33
void
SyncPatternMonitor::reset
()
34
{
35
mPatternFound =
false
;
36
mPosition = SYNC_START;
37
mHwWithPattern = -1;
38
mCheckedWords = 0;
39
LOG
(
debug
) <<
"Sync pattern monitoring for SAMPA "
<< mSampa <<
" ("
<< ((mLowHigh == 0) ?
"low"
:
"high"
) <<
" bits) "
40
<<
"was resetted"
;
41
}
33
void
SyncPatternMonitor::reset
() {
…
}
SyncPatternMonitor.h
Class to monitor the data stream and detect synchronization patterns.
debug
std::ostringstream debug
Definition
VariantJSONHelpers.h:307
o2::tpc::SyncPatternMonitor
Class to monitor the data stream and detect synchronization patterns.
Definition
SyncPatternMonitor.h:32
o2::tpc::SyncPatternMonitor::SyncPatternMonitor
SyncPatternMonitor()
Default Constructor.
Definition
SyncPatternMonitor.cxx:21
o2::tpc::SyncPatternMonitor::reset
void reset()
Reset function to clear history.
Definition
SyncPatternMonitor.cxx:33
o2::tpc
Global TPC definitions and constants.
Definition
SimTraits.h:167
other
VectorOfTObjectPtrs other
Definition
test_Algorithm.cxx:501
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
Detectors
TPC
reconstruction
src
SyncPatternMonitor.cxx
Generated on Mon Apr 7 2025 07:06:08 for Project by
1.9.8