Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions Modules/TOF/src/TaskRaw.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ void RawDataDecoder::estimateNoise(std::shared_ptr<TH1F> hIndexEOIsNoise)
// Fill noise map
mHistoNoiseMap->SetBinContent(icrate + 1, istrip * 4 + (3 - iFea) + 1, indexcounterFea);
} // end loop over Feas
} // end loop over strips
} // end loop over sectors
} // end loop over strips
} // end loop over sectors
}

// Implement the Task
Expand Down Expand Up @@ -581,6 +581,15 @@ void TaskRaw::reset()
{
// clean all the monitor objects here

for (unsigned int crate = 0; crate < RawDataDecoder::ncrates; crate++) {
mDecoderRaw.mCounterRDH[crate].Reset();
mDecoderRaw.mCounterDRM[crate].Reset();
mDecoderRaw.mCounterLTM[crate].Reset();
for (unsigned int j = 0; j < RawDataDecoder::ntrms; j++) {
mDecoderRaw.mCounterTRM[crate][j].Reset();
}
}

ILOG(Debug, Devel) << "Resetting the histograms" << ENDM;
mHistoRDH->Reset();
mHistoDRM->Reset();
Expand Down
Loading