Skip to content

Commit

Permalink
removed amc13 vs amc crc checks for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jshlee committed Jul 20, 2021
1 parent 859656c commit 508f5dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DataFormats/GEMDigi/interface/AMC13Event.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ namespace gem {
uint64_t bxIdT : 12; // bx id
uint64_t lv1IdT : 8; // level 1 id
uint64_t blkN : 8; // block number
uint64_t crc32 : 36; // Overall CRC (first 32 bits)
uint64_t : 4;
uint64_t crc32 : 32; // Overall CRC
};
};
union CDFTrailer {
Expand Down
1 change: 0 additions & 1 deletion DataFormats/GEMDigi/interface/GEMAMCStatus.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class GEMAMCStatus {
error.badBC = (amc13->bunchCrossing() != amc.bunchCrossing());
error.badRunType = amc.runType() != 0x1;
error.badOC = (amc13->orbitNumber() != amc.orbitNumber());
error.badCRC = (amc13->crc() != amc.crc());
error.MMCMlocked = !amc.mmcmLocked();
error.DAQclocklocked = !amc.daqClockLocked();
error.DAQnotReday = !amc.daqReady();
Expand Down
10 changes: 7 additions & 3 deletions EventFilter/GEMRawToDigi/test/gemUnPackerTester.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Era_Run3_cff import Run3
from Configuration.Eras.Era_Phase2C11I13M9_cff import Phase2C11I13M9

process = cms.Process('gemTester')
process = cms.Process('gemTester', Phase2C11I13M9)

process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.StandardSequences.DigiToRaw_cff')
Expand All @@ -13,9 +15,11 @@

from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, '113X_mcRun4_realistic_v4', '')
process.gemPacker.useDBEMap = True
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')

#process.gemPacker.useDBEMap = True
#process.muonGEMDigis.readMultiBX = True

process.muonGEMDigis.readMultiBX = True
process.muonGEMDigis.useDBEMap = process.gemPacker.useDBEMap
process.muonGEMDigis.keepDAQStatus = True

Expand Down

0 comments on commit 508f5dd

Please sign in to comment.