Skip to content

Commit

Permalink
bug fix in TOF noise rate
Browse files Browse the repository at this point in the history
  • Loading branch information
noferini committed Oct 14, 2023
1 parent 965983c commit 649a3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/TOF/src/TaskRaw.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void RawDataDecoder::estimateNoise(std::shared_ptr<TH1F> hIndexEOIsNoise)
const int crate_ = i % 2400;
const int slot = crate_ / 240;
const double time_window = mTDCWidth * (mTimeMax - mTimeMin);
const double time = mCounterTRM[crate][slot - 3].HowMany(0) * time_window;
const double time = mCounterTRM[crate][slot].HowMany(0) * time_window;

// start measure time from 1 micro second
if (time < 1.e-6) {
Expand Down

0 comments on commit 649a3d3

Please sign in to comment.