Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GANILAnalysis
MFMlib
Commits
70a363ae
Commit
70a363ae
authored
Jul 02, 2021
by
LEGEARD Luc
☢
Browse files
end--no-edit
parent
0968563a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
sources/MFMScalerDataFrame.cc
sources/MFMScalerDataFrame.cc
+7
-2
No files found.
sources/MFMScalerDataFrame.cc
View file @
70a363ae
...
...
@@ -259,10 +259,9 @@ void MFMScalerDataFrame::FillScalerWithIn2p3Buffer(char* ptcharbuf,uint64_t time
nbitem
=
buf
->
les_donnees
.
cas
.
scale
.
Nb_channel
;
EventCounter
=
buf
->
les_donnees
.
Count
;
uint16_t
fReserve
[
3
];
SetAttributs
();
int
oldframesize
=
GetFrameSize
();
int
framesize
=
nbitem
*
sizeof
(
MFM_ScalerData_Item
)
+
SCALER_DATA_HEADERSIZE
;
if
(
oldframesize
!=
framesize
){
//TODO reagencement de la frame si oldframesize != framesize
...
...
@@ -287,6 +286,12 @@ void MFMScalerDataFrame::FillScalerWithIn2p3Buffer(char* ptcharbuf,uint64_t time
}
SetEventNumber
(
EventCounter
);
SetTimeStamp
(
timestamp
);
SetAttributs
();
if
(
GetFrameSize
()
<
20
){
cout
<<
" ERROR ---------------frame small ------------------------"
<<
endl
;
HeaderDisplay
();
DumpRaw
(
64
,
0
);
}
}
...
...
Write
Preview
Markdown
is supported
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