CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GEMEffByGEMCSCSegmentClient.cc
Go to the documentation of this file.
2 
4  : kFolder_(parameter_set.getUntrackedParameter<std::string>("folder")),
5  kLogCategory_(parameter_set.getUntrackedParameter<std::string>("logCategory")) {
6  eff_calculator_ = std::make_unique<GEMDQMEfficiencyCalculator>();
7 }
8 
11  desc.addUntracked<std::string>("folder", "GEM/Efficiency/GEMCSCSegment");
12  desc.addUntracked<std::string>("logCategory", "GEMEffByGEMCSCSegmentClient");
13  descriptions.addWithDefaultLabel(desc);
14 }
15 
17  DQMStore::IGetter& getter,
18  edm::LuminosityBlock const&,
19  edm::EventSetup const&) {
20  eff_calculator_->drawEfficiency(booker, getter, kFolder_ + "/Efficiency");
21  eff_calculator_->drawEfficiency(booker, getter, kFolder_ + "/Misc");
22 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
GEMEffByGEMCSCSegmentClient(const edm::ParameterSet &)
std::unique_ptr< GEMDQMEfficiencyCalculator > eff_calculator_