Skip to content

Commit

Permalink
PrimaryVertexMonitor updates: add profile plots for dxy and dz errors…
Browse files Browse the repository at this point in the history
… vs track phi and eta
  • Loading branch information
mmusich committed Aug 6, 2023
1 parent a474322 commit 85d3013
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions DQMOffline/RecoB/plugins/PrimaryVertexMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,17 +226,17 @@ void PrimaryVertexMonitor::IPMonitoring::bookIPMonitor(DQMStore::IBooker& iBooke
double EtaMin = config.getParameter<double>("EtaMin");
double EtaMax = config.getParameter<double>("EtaMax");

IP_ = iBooker.book1D(fmt::format("d{}", varname_),
IP_ = iBooker.book1D(fmt::format("d{}_pt{}", varname_, pTcut_),
fmt::format("PV tracks (p_{{T}} > {} GeV) d_{{{}}} (#mum)", pTcut_, varname_),
VarBin,
VarMin,
VarMax);

IPErr_ = iBooker.book1D(fmt::format("d{}Err", varname_),
IPErr_ = iBooker.book1D(fmt::format("d{}Err_pt{}", varname_, pTcut_),
fmt::format("PV tracks (p_{{T}} > {} GeV) d_{{{}}} error (#mum)", pTcut_, varname_),
100,
0.,
2000.);
(varname_.find("xy") != std::string::npos) ? 2000. : 10000.);

IPVsPhi_ = iBooker.bookProfile(fmt::format("d{}VsPhi_pt{}", varname_, pTcut_),
fmt::format("PV tracks (p_{{T}} > {}) d_{{{}}} VS track #phi", pTcut_, varname_),
Expand Down Expand Up @@ -270,7 +270,7 @@ void PrimaryVertexMonitor::IPMonitoring::bookIPMonitor(DQMStore::IBooker& iBooke
PhiMax,
VarBin,
0.,
100.,
(varname_.find("xy") != std::string::npos) ? 100. : 200.,
"");
IPErrVsPhi_->setAxisTitle("PV track (p_{T} > 1 GeV) #phi", 1);
IPErrVsPhi_->setAxisTitle(fmt::format("PV tracks (p_{{T}} > {} GeV) d_{{{}}} error (#mum)", pTcut_, varname_), 2);
Expand All @@ -283,7 +283,7 @@ void PrimaryVertexMonitor::IPMonitoring::bookIPMonitor(DQMStore::IBooker& iBooke
EtaMax,
VarBin,
0.,
100.,
(varname_.find("xy") != std::string::npos) ? 100. : 200.,
"");
IPErrVsEta_->setAxisTitle("PV track (p_{T} > 1 GeV) #eta", 1);
IPErrVsEta_->setAxisTitle(fmt::format("PV tracks (p_{{T}} > {} GeV) d_{{{}}} error (#mum)", pTcut_, varname_), 2);
Expand Down Expand Up @@ -316,7 +316,7 @@ void PrimaryVertexMonitor::IPMonitoring::bookIPMonitor(DQMStore::IBooker& iBooke
PhiMax,
VarBin,
0.,
100.,
(varname_.find("xy") != std::string::npos) ? 100. : 200.,
"");
IPErrVsEtaVsPhi_->setAxisTitle("PV track (p_{T} > 1 GeV) #eta", 1);
IPErrVsEtaVsPhi_->setAxisTitle("PV track (p_{T} > 1 GeV) #phi", 2);
Expand Down

0 comments on commit 85d3013

Please sign in to comment.