Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Feature/zero suppression wrap #43

Open
wants to merge 23 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update GEMUnpacker.cc
  • Loading branch information
rodwyer100 authored Jul 9, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit af2e09c625ac79f564a9d6991ba2a31c189ea2e7
2 changes: 1 addition & 1 deletion gemtreewriter/src/common/GEMUnpacker.cc
Original file line number Diff line number Diff line change
@@ -111,7 +111,6 @@ class GEMUnpacker
int bitcount=0;
//int vfcount=0;//vfcount+=1;
while((bitcount/64)<m_gebdata- > Vwh()){
VFATdata * m_vfatdata = new VFATdata();
std::fread(&m_word8, sizeof(uint8_t), 1, m_file);
if(m_word8==0b11111111){
while((bitcount/64)<m_gebdata- > Vwh()){
@@ -120,6 +119,7 @@ class GEMUnpacker
break;
}
bitcount+=8;
VFATdata * m_vfatdata = new VFATdata();
if(helper > 8){//PORTION THAT DEALS WITH CALIBRATION MODE
m_vfatdata->rCH((int) m_word8>>7);
m_vfatdata->rEC(0b00000011& m_word8);