Skip to content

Commit

Permalink
remove useless DMQToken produce and consumes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Aug 26, 2022
1 parent 6d0a48b commit a5bab3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions DQMOffline/Alignment/src/DiMuonMassBiasClient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ DiMuonMassBiasClient::DiMuonMassBiasClient(edm::ParameterSet const& iConfig)
{
edm::LogInfo("DiMuonMassBiasClient") << "DiMuonMassBiasClient::Constructing DiMuonMassBiasClient ";

consumes<DQMToken, edm::InRun>(edm::InputTag("DiMuonMassBiasMonitor", "DQMGenerationDiMuonMassBiasMonitorRun"));
consumes<DQMToken, edm::InLumi>(edm::InputTag("DiMuonMassBiasMonitor", "DQMGenerationDiMuonMassBiasMonitorLumi"));

// fill the parameters for the fit
edm::ParameterSet fit_par = iConfig.getParameter<edm::ParameterSet>("fit_par");
diMuonMassBias::fillArrayF(meanConfig_, fit_par, "mean_par");
Expand Down
5 changes: 1 addition & 4 deletions DQMOffline/Alignment/src/DiMuonMassBiasMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ DiMuonMassBiasMonitor::DiMuonMassBiasMonitor(const edm::ParameterSet& iConfig)
MEFolderName_(iConfig.getParameter<std::string>("FolderName")),
decayMotherName_(iConfig.getParameter<std::string>("decayMotherName")),
distanceScaleFactor_(iConfig.getParameter<double>("distanceScaleFactor")),
DiMuMassConfiguration_(iConfig.getParameter<edm::ParameterSet>("DiMuMassConfig")) {
produces<DQMToken, edm::Transition::EndRun>("DQMGenerationDiMuonMassBiasMonitorRun");
produces<DQMToken, edm::Transition::EndLuminosityBlock>("DQMGenerationDiMuonMassBiasMonitorLumi");
}
DiMuMassConfiguration_(iConfig.getParameter<edm::ParameterSet>("DiMuMassConfig")) {}

void DiMuonMassBiasMonitor::bookHistograms(DQMStore::IBooker& iBooker, edm::Run const&, edm::EventSetup const&) {
iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonMassBiasMonitor/MassBias");
Expand Down

0 comments on commit a5bab3b

Please sign in to comment.