Skip to content

Commit

Permalink
Set flagBits for all channels
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard authored Jun 10, 2020
1 parent 9da15f2 commit dacaf2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RecoLocalCalo/EcalRecAlgos/src/EcalRecHitBuilderKernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ namespace ecal {
else
chi2[ch] = chi2_in[inputCh];

// default value for the "extra flags"
// default values for the flags
flagBits[ch] = 0;
extra[ch] = 0;

static const int chStatusMask = 0x1f;
Expand Down Expand Up @@ -349,14 +350,13 @@ namespace ecal {
flagbit_counter += 1;
}

flagBits[ch] = temporary_flagBits;

if ((flagmask & temporary_flagBits) && killDeadChannels) {
// skip this channel
continue;
}

//
flagBits[ch] = temporary_flagBits;

//
// multiply the adc counts with factors to get GeV
//
Expand Down

0 comments on commit dacaf2e

Please sign in to comment.