Skip to content

Commit

Permalink
Update PPS HPTDC PCL for additional station
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher committed Feb 5, 2023
1 parent 9cb5dd1 commit 5b4e84c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -73,8 +73,7 @@ void PPSTimingCalibrationPCLHarvester::beginRun(const edm::Run& iRun, const edm:
if (!CTPPSDiamondDetId::check(it->first))
continue;
const CTPPSDiamondDetId detid(it->first);
if (detid.station() == 1) // for the time being, only compute for this station (run 2 diamond)
detids_.emplace_back(detid);
detids_.emplace_back(detid);
}
}

Expand Down
Expand Up @@ -79,8 +79,7 @@ void PPSTimingCalibrationPCLWorker::bookHistograms(DQMStore::IBooker& iBooker,
if (!CTPPSDiamondDetId::check(it->first))
continue;
const CTPPSDiamondDetId detid(it->first);
if (detid.station() != 1)
continue;

detid.channelName(ch_name);
iHists.leadingTime[detid.rawId()] = iBooker.book1D("t_" + ch_name, ch_name + ";t (ns);Entries", 1200, -60., 60.);
iHists.toT[detid.rawId()] = iBooker.book1D("tot_" + ch_name, ch_name + ";ToT (ns);Entries", 100, -20., 20.);
Expand Down

0 comments on commit 5b4e84c

Please sign in to comment.