Go to the source code of this file.
◆ bits24()
void bits24 |
( |
unsigned int |
n | ) |
|
Definition at line 38 of file driftCircle.h.
39 for (
unsigned int k=0;
k<32;
k++) {
41 unsigned int i =
n & 0x80000000
u;
42 bool b = (
i==0x80000000
u);
43 if (((
k-5)%9)) std::cout <<
b;
47 std::cout << std::endl;
◆ bits27()
void bits27 |
( |
unsigned int |
n | ) |
|
Definition at line 24 of file driftCircle.h.
25 for (
unsigned int k=0;
k<32;
k++) {
27 unsigned int i =
n & 0x80000000
u;
28 bool b = (
i==0x80000000
u);
29 if (!((
k-5)%9)) std::cout <<
" ";
31 if (!((
k-5)%9)) std::cout <<
" ";
35 std::cout << std::endl;
◆ bits32()
void bits32 |
( |
unsigned int |
n | ) |
|
Definition at line 14 of file driftCircle.h.
15 for (
unsigned int k=0;
k<32;
k++) {
16 unsigned int i =
n & 0x80000000
u;
17 bool b = (
i==0x80000000
u);
21 std::cout << std::endl;
◆ bitTimeOverThreshold()
int bitTimeOverThreshold |
( |
unsigned int |
m_word | ) |
|
◆ driftTimeBin()
int driftTimeBin |
( |
unsigned int |
m_word | ) |
|
Definition at line 50 of file driftCircle.h.
51 unsigned mask = 0x02000000;
55 {
if ( (m_word &
mask) && SawZero)
break;
56 else if ( !(m_word &
mask) ) SawZero =
true;
58 if(
i==7 ||
i==15)
mask>>=1;
◆ firstBinHigh()
bool firstBinHigh |
( |
unsigned int |
m_word | ) |
|
◆ highLevel()
bool highLevel |
( |
unsigned int |
m_word | ) |
|
Definition at line 88 of file driftCircle.h.
89 return (m_word & 0x04020100);
◆ highLevel1()
bool highLevel1 |
( |
unsigned int |
m_word | ) |
|
Definition at line 92 of file driftCircle.h.
93 return (m_word & 0x04000000);
◆ highLevel2()
bool highLevel2 |
( |
unsigned int |
m_word | ) |
|
Definition at line 96 of file driftCircle.h.
97 return (m_word & 0x00020000);
◆ highLevel3()
bool highLevel3 |
( |
unsigned int |
m_word | ) |
|
◆ lastBinHigh()
bool lastBinHigh |
( |
unsigned int |
m_word | ) |
|
◆ lowLevelMiddle()
bool lowLevelMiddle |
( |
unsigned int |
m_word | ) |
|
Definition at line 84 of file driftCircle.h.
85 return (m_word & 0x0001FE00);
◆ nLTbits()
int nLTbits |
( |
unsigned int |
m_word | ) |
|
◆ print_mword_properties()
void print_mword_properties |
( |
unsigned int |
mword | ) |
|
Definition at line 139 of file driftCircle.h.
144 std::cout <<
"AJB " <<
LE <<
" " << TE <<
" " << ToT <<
" " << nLT << std::endl;
◆ rawDriftTime()
double rawDriftTime |
( |
unsigned int |
m_word | ) |
|
◆ timeOverThreshold()
double timeOverThreshold |
( |
unsigned int |
m_word | ) |
|
Definition at line 116 of file driftCircle.h.
120 if ( (24 ==
LE) || (24 == TE) || (0 == TE) || (23 ==
LE) )
return 0.0;
◆ trailingEdge()
int trailingEdge |
( |
unsigned int |
m_word | ) |
|
Definition at line 64 of file driftCircle.h.
65 unsigned mask = 0x00000001;
68 for (
i = 0;
i < 24; ++
i)
70 if ( (m_word &
mask) && SawZero )
72 else if ( !(m_word &
mask) )
75 if (
i == 7 ||
i == 15)