Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.1.X] TrackingMonitor: fix x-axis label in plots vs online luminosity #41817

Merged
merged 1 commit into from
May 31, 2023
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
16 changes: 8 additions & 8 deletions DQM/TrackingMonitor/src/TrackingMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -524,55 +524,55 @@ void TrackingMonitor::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&

histname = "NumberEventsVsLUMI";
NumberEventsOfVsLUMI = ibooker.book1D(histname, histname, LUMIBin, LUMIMin, LUMIMax);
NumberEventsOfVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberEventsOfVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberEventsOfVsLUMI->setAxisTitle("Number of events", 2);

histname = "NumberOfTracksVsLUMI";
NumberOfTracksVsLUMI = ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, TKNoMin, TKNoMax * 3, "");
NumberOfTracksVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberOfTracksVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberOfTracksVsLUMI->setAxisTitle("Mean number of vertices", 2);

if (doFractionPlot_) {
histname = "GoodTracksFractionVsLUMI";
GoodTracksFractionVsLUMI = ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, 0., 1.1, "");
GoodTracksFractionVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
GoodTracksFractionVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
GoodTracksFractionVsLUMI->setAxisTitle("Mean number of vertices", 2);
}

histname = "NumberOfRecHitsPerTrackVsLUMI";
NumberOfRecHitsPerTrackVsLUMI =
ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, RecHitMin, RecHitMax * 5, "");
NumberOfRecHitsPerTrackVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberOfRecHitsPerTrackVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberOfRecHitsPerTrackVsLUMI->setAxisTitle("Mean number of vertices", 2);

double PVMin = conf->getParameter<double>("PVMin");
double PVMax = conf->getParameter<double>("PVMax");

histname = "NumberOfGoodPVtxVsLUMI";
NumberOfGoodPVtxVsLUMI = ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, PVMin, 3. * PVMax, "");
NumberOfGoodPVtxVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberOfGoodPVtxVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberOfGoodPVtxVsLUMI->setAxisTitle("Mean number of vertices", 2);

histname = "NumberOfGoodPVtxWO0VsLUMI";
NumberOfGoodPVtxWO0VsLUMI =
ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, PVMin, 3. * PVMax, "");
NumberOfGoodPVtxWO0VsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberOfGoodPVtxWO0VsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberOfGoodPVtxWO0VsLUMI->setAxisTitle("Mean number of vertices", 2);

double NClusPxMin = conf->getParameter<double>("NClusPxMin");
double NClusPxMax = conf->getParameter<double>("NClusPxMax");
histname = "NumberOfPixelClustersVsGoodPVtx";
NumberOfPixelClustersVsLUMI =
ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, NClusPxMin, 3. * NClusPxMax, "");
NumberOfPixelClustersVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberOfPixelClustersVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberOfPixelClustersVsLUMI->setAxisTitle("Mean number of pixel clusters", 2);

double NClusStrMin = conf->getParameter<double>("NClusStrMin");
double NClusStrMax = conf->getParameter<double>("NClusStrMax");
histname = "NumberOfStripClustersVsLUMI";
NumberOfStripClustersVsLUMI =
ibooker.bookProfile(histname, histname, LUMIBin, LUMIMin, LUMIMax, NClusStrMin, 3. * NClusStrMax, "");
NumberOfStripClustersVsLUMI->setAxisTitle("online lumi [10e30 Hz cm^{-2}]", 1);
NumberOfStripClustersVsLUMI->setAxisTitle("online lumi [1e30 Hz cm^{-2}]", 1);
NumberOfStripClustersVsLUMI->setAxisTitle("Mean number of strip clusters", 2);
}

Expand Down