We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f05ba6 commit 25a75e6Copy full SHA for 25a75e6
DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/NoiseMap.h
@@ -204,7 +204,7 @@ class NoiseMap
204
205
NoiseMap merge(NoiseMap* prev){
206
int incre=0;
207
- for (size_t i = 0; i < 920; ++i) { //920 is the total number of chips in MFT
+ for (size_t i = 0; i < (int)mNoisyPixels.size(); ++i) { //920 is the total number of chips in MFT
208
for (const auto& prev_np : prev->mNoisyPixels[i]) { //only enters this for loop if the "i" chip exists.
209
bool existsInCurrentMap = false;
210
for (const auto& current_np : mNoisyPixels[i]) {
0 commit comments