Skip to content

Commit fa80c1b

Browse files
modify BCSize Axis (#1125)
1 parent 419412c commit fa80c1b

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

Modules/MUON/MID/src/RawQcTask.cxx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void RawQcTask::initialize(o2::framework::InitContext& /*ctx*/)
9797
mBusyRawLocalBoards->GetYaxis()->SetTitle("LocID in Crate");
9898
mBusyRawLocalBoards->SetOption("colz");
9999

100-
mBCSize = new TH1F("BCSize", "Bunch Crossing Size", 2500, 0, 2500);
100+
mBCSize = new TH1F("BCSize", "Bunch Crossing Size", o2::constants::lhc::LHCMaxBunches, 0, o2::constants::lhc::LHCMaxBunches);
101101
mBCSize->GetXaxis()->SetTitle("BC");
102102
mBCSize->GetYaxis()->SetTitle("Entry");
103103

@@ -262,11 +262,6 @@ void RawQcTask::monitorData(o2::framework::ProcessingContext& ctx)
262262
for (auto const& OS : BCOrbitSize) {
263263
nBC++;
264264
auto& OrbitSize = OS.second;
265-
// change binning ::
266-
if (OS.first > mBCSize->GetXaxis()->GetBinCenter(mBCSize->GetXaxis()->GetLast())) {
267-
int Nbins = mBCSize->GetNbinsX();
268-
mBCSize->GetXaxis()->SetLimits(OS.first - (Nbins + 10), (OS.first) + 10);
269-
}
270265
mBCSize->Fill(OS.first, OrbitSize[1]);
271266
}
272267

0 commit comments

Comments
 (0)