Skip to content

Commit 9b4d9d6

Browse files
authored
Merge pull request #452 from SBNSoftware/trj_addFEMBAsicChanToMap_Apr4_2024
Compute asicchan from FEMBCh and fill the field in ChanInfo
2 parents b1b597d + 4cec250 commit 9b4d9d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sbndcode/ChannelMaps/TPC/TPCChannelMapService_service.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ SBND::TPCChannelMapService::TPCChannelMapService(fhicl::ParameterSet const& pset
7575
if (planestr == "Y") c.plane = 2;
7676
if (c.plane == 10) c.valid = false;
7777
c.WIBQFSP = atoi(qfspstr.substr(3,1).c_str());
78+
c.asicchan = c.FEMBCh % 16;
7879

7980
fChanInfoFromFEMInfo[c.FEMCrate][c.FEM][c.FEMCh] = c;
8081
fChanInfoFromOfflChan[c.offlchan] = c;

0 commit comments

Comments
 (0)