Skip to content
Snippets Groups Projects
Commit 19ec9630 authored by Norbert Herrmann's avatar Norbert Herrmann Committed by Florian Uhlig
Browse files

mapping additions for cosmic stand

parent fec91b38
No related branches found
No related tags found
1 merge request!138Final merge
......@@ -29,8 +29,9 @@
#include <stdint.h>
#include <vector>
/*
static Int_t NMappingWarnings=100;
/*
static uint32_t pat_mess[8]={8*0};
std::vector< std::vector <uint32_t> > Pat_Request;
std::vector<Bool_t> bGdpbOK;
......@@ -386,6 +387,7 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
case 1:
iRpcMap = iRpc[4];
iSideMap = iSide[4];
iStrMap = 31-iStrMap;
break;
case 4:
iRpcMap = iRpc[1];
......@@ -447,6 +449,7 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
case 1: iRpcMap = 1; break;
}
if (iFeet > 2) iModuleIdMap = 1;
else iModuleIdMap = 0;
} break;
}
if (iSideMap > -1)
......@@ -1156,7 +1159,7 @@ void CbmMcbm2018UnpackerAlgoTof::ProcessHit(const gdpbv100::FullMessage& mess) {
<< ", FiS " << uFeeNrInSys
<< ", GBTx " << uGbtxNrInSys;
*/
/*
if( 0 == uChanUId ) {
if( 0 < NMappingWarnings-- )
LOG(warning) << "Unused data item at " << uRemappedChannelNrInSys
......@@ -1169,7 +1172,7 @@ void CbmMcbm2018UnpackerAlgoTof::ProcessHit(const gdpbv100::FullMessage& mess) {
;
return; // Hit not mapped to digi
}
*/
/// Apply offset to T0 only to TOF digis
if (0x90 != fuCurrentMsSysId) dHitTime -= fdTimeOffsetNs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment