Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-26 22:39:23

0001 #include "DQM/GEM/plugins/GEMEffByGEMCSCSegmentClient.h"
0002 
0003 GEMEffByGEMCSCSegmentClient::GEMEffByGEMCSCSegmentClient(const edm::ParameterSet& ps)
0004     : GEMDQMEfficiencyClientBase(ps), kFolder_(ps.getUntrackedParameter<std::string>("folder")) {}
0005 
0006 void GEMEffByGEMCSCSegmentClient::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
0007   edm::ParameterSetDescription desc;
0008 
0009   // GEMDQMEfficiencyClientBase
0010   desc.addUntracked<double>("confidenceLevel", 0.683);  // 1-sigma
0011   desc.addUntracked<std::string>("logCategory", "GEMEffByGEMCSCSegmentClient");
0012 
0013   // GEMEffByGEMCSCSegmentClient
0014   desc.addUntracked<std::string>("folder", "GEM/Efficiency/GEMCSCSegment");
0015   descriptions.addWithDefaultLabel(desc);
0016 }
0017 
0018 void GEMEffByGEMCSCSegmentClient::dqmEndLuminosityBlock(DQMStore::IBooker& booker,
0019                                                         DQMStore::IGetter& getter,
0020                                                         edm::LuminosityBlock const&,
0021                                                         edm::EventSetup const&) {
0022   bookEfficiencyAuto(booker, getter, kFolder_);
0023 }