Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cms_tk_ph2
Ph2_ACF
Commits
a27a5a37
Commit
a27a5a37
authored
Sep 13, 2021
by
Sarah Seif El Nasr
Browse files
DEBUG - tryinng to fix page..
parent
361c4507
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/RegisterTester.cc
View file @
a27a5a37
...
...
@@ -89,6 +89,7 @@ void RegisterTester::RegisterTest()
}
// board loop to save record of registers
// so here .. I need to send a hard reset to the ROCs
LOG
(
INFO
)
<<
BOLDMAGENTA
<<
"Sending hard reste to ROCs..."
<<
RESET
;
for
(
auto
cBoard
:
*
fDetectorContainer
)
{
auto
cWithLpGBT
=
fReadoutChipInterface
->
lpGBTCheck
(
cBoard
);
...
...
@@ -117,6 +118,7 @@ void RegisterTester::RegisterTest()
}
// board loop to send hard reset
// reset page map
LOG
(
INFO
)
<<
BOLDMAGENTA
<<
"Resetting page map ..."
<<
RESET
;
for
(
auto
cBoard
:
*
fDetectorContainer
)
{
for
(
auto
cOpticalGroup
:
*
cBoard
)
...
...
@@ -133,6 +135,7 @@ void RegisterTester::RegisterTest()
}
// container to store default register values after a hard reset
LOG
(
INFO
)
<<
BOLDMAGENTA
<<
"Reading back default register values after a hard reset ..."
<<
RESET
;
DetectorDataContainer
cDefRegListContainer
;
ContainerFactory
::
copyAndInitChip
<
Registers
>
(
*
fDetectorContainer
,
cDefRegListContainer
);
for
(
auto
cBoard
:
*
fDetectorContainer
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment