@@ -411,14 +411,12 @@ void Digitizer::storeBC(BCCache& bc,
411411 std::vector<int > chChain (params.mMCPs , 0 );
412412 std::vector<bool > chValid (params.mMCPs , false );
413413
414- static const std::array<std::array<int , 3 >, 4 > localNeighbours = {{
415- {{1 , 2 , 3 }},
416- {{0 , 3 , 2 }},
417- {{0 , 3 , 1 }},
418- {{1 , 2 , 0 }}
419- }};
420-
421- // std::set<int> disabledChannels = {40, 41, 42, 43, 88, 89, 90, 91, 56, 57, 58, 59, 60, 61, 62, 63, 72, 73, 74, 75, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 164, 165, 166, 167, 184, 185, 186, 187, 160, 161, 162, 163, 188, 189, 190, 191, 156, 157, 158, 159, 192, 193, 194, 195, 152, 153, 154, 155, 196, 197, 198, 199, 148, 149, 150, 151, 144, 145, 146, 147, 204, 205, 206, 207, 200, 201, 202, 203}; // przykładowe kanały
414+ static const std::array<std::array<int , 3 >, 4 > localNeighbours = {{{{1 , 2 , 3 }},
415+ {{0 , 3 , 2 }},
416+ {{0 , 3 , 1 }},
417+ {{1 , 2 , 0 }}}};
418+
419+ // std::set<int> disabledChannels = {40, 41, 42, 43, 88, 89, 90, 91, 56, 57, 58, 59, 60, 61, 62, 63, 72, 73, 74, 75, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 164, 165, 166, 167, 184, 185, 186, 187, 160, 161, 162, 163, 188, 189, 190, 191, 156, 157, 158, 159, 192, 193, 194, 195, 152, 153, 154, 155, 196, 197, 198, 199, 148, 149, 150, 151, 144, 145, 146, 147, 204, 205, 206, 207, 200, 201, 202, 203}; // przykładowe kanały
422420 for (Int_t ipmt = 0 ; ipmt < params.mMCPs ; ++ipmt) {
423421 auto channel_begin = channel_end;
424422 channel_end = std::find_if (channel_begin, particles.end (),
@@ -451,9 +449,9 @@ void Digitizer::storeBC(BCCache& bc,
451449 if (amp > 4095 .f ) {
452450 amp = 4095 .f ;
453451 }
454- // if (!disabledChannels.count(ipmt)) {
455- // continue;
456- // }
452+ // if (!disabledChannels.count(ipmt)) {
453+ // continue;
454+ // }
457455
458456 LOG (debug) << mEventID << " bc " << firstBCinDeque.bc << " orbit " << firstBCinDeque.orbit
459457 << " , ipmt " << ipmt << " , smeared_time " << smeared_time
@@ -506,7 +504,6 @@ void Digitizer::storeBC(BCCache& bc,
506504 chTime[diag] = chTime[src];
507505 chChain[diag] = chChain[src];
508506 }
509-
510507 }
511508 }
512509
@@ -522,8 +519,8 @@ void Digitizer::storeBC(BCCache& bc,
522519 const bool hasPrimarySignal = (baseAmp[ipmt] > 0 .f );
523520 const bool isCrossTalkOnly = (!hasPrimarySignal && amp > 0 .f );
524521
525- if (isCrossTalkOnly && amp < params.mAmpThresholdForCrossTalkDigit ) {
526- continue ;
522+ if (isCrossTalkOnly && amp < params.mAmpThresholdForCrossTalkDigit ) {
523+ continue ;
527524 }
528525
529526 const int smeared_time = chTime[ipmt];
0 commit comments