Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:31

0001 #include "FWCore/Framework/interface/MakerMacros.h"
0002 #include "Validation/HcalRecHits/interface/HcalRecHitsClient.h"
0003 
0004 #include "FWCore/Framework/interface/Event.h"
0005 #include "FWCore/Framework/interface/Run.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "FWCore/ServiceRegistry/interface/Service.h"
0008 
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010 
0011 HcalRecHitsClient::HcalRecHitsClient(const edm::ParameterSet &iConfig) : conf_(iConfig) {
0012   outputFile_ = iConfig.getUntrackedParameter<std::string>("outputFile", "myfile.root");
0013 
0014   debug_ = false;
0015   verbose_ = false;
0016 
0017   dirName_ = iConfig.getParameter<std::string>("DQMDirName");
0018 }
0019 
0020 HcalRecHitsClient::~HcalRecHitsClient() {}
0021 
0022 void HcalRecHitsClient::dqmEndJob(DQMStore::IBooker &ib, DQMStore::IGetter &ig) { ig.setCurrentFolder(dirName_); }
0023 
0024 // called after entering the HcalRecHitsV/HcalRecHitTask directory
0025 // hcalMEs are within that directory
0026 int HcalRecHitsClient::HcalRecHitsEndjob(const std::vector<MonitorElement *> &hcalMEs) {
0027   return 1;  // Removed all actions
0028 }
0029 
0030 DEFINE_FWK_MODULE(HcalRecHitsClient);