Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Aug 16, 2024
1 parent 9b3af5c commit c0f4bb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/minos/mclient/evbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ Bool_t ReadFrame(void* fr, int fr_sz) {
p++;
si = 0;

cout << " + Card: " << cardNumber << " Chip: " << chipNumber << " Channel: " << daqChannel << endl;
// sgnl.Initialize();
// sgnl.SetSignalID(daqChannel);

Expand Down Expand Up @@ -484,6 +485,8 @@ Bool_t ReadFrame(void* fr, int fr_sz) {

tmp = (((unsigned int) n1) << 16) | ((unsigned int) n0);

auto time = 0 + (2147483648 * r2 + 32768 * r1 + r0) * 2e-8;
cout << " - Time: " << time << endl;
// Some times the end of the frame contains the header of the next event.
// Then, in the attempt to read the header of next event, we must avoid
// that it overwrites the already assigned id. In that case (id != 0), we
Expand Down

0 comments on commit c0f4bb0

Please sign in to comment.