Skip to content

Commit

Permalink
TrackingMonitor: fix x-axis label in plots vs online luminosity
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed May 31, 2023
1 parent 2fcc6f8 commit a16430c
Showing 1 changed file with 8 additions and 8 deletions.
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

0 comments on commit a16430c

Please sign in to comment.