File indexing completed on 2024-04-06 12:32:31
0001 #ifndef HCALVALIDATION_CALOTOWERS_HCALRECHITSCLIENT
0002 #define HCALVALIDATION_CALOTOWERS_HCALRECHITSCLIENT
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0017 #include "DQMServices/Core/interface/DQMStore.h"
0018 #include "DataFormats/Common/interface/Handle.h"
0019 #include "DataFormats/Math/interface/LorentzVector.h"
0020 #include "FWCore/Framework/interface/Event.h"
0021 #include "FWCore/Framework/interface/EventSetup.h"
0022 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0024 #include "FWCore/ServiceRegistry/interface/Service.h"
0025 #include <memory>
0026 #include <unistd.h>
0027
0028 #include <fstream>
0029 #include <iostream>
0030 #include <vector>
0031
0032 class HcalRecHitsClient : public DQMEDHarvester {
0033 private:
0034 std::string outputFile_;
0035
0036 edm::ParameterSet conf_;
0037
0038 bool verbose_;
0039 bool debug_;
0040
0041 std::string dirName_;
0042 std::string dirNameJet_;
0043 std::string dirNameMET_;
0044
0045 public:
0046 explicit HcalRecHitsClient(const edm::ParameterSet &);
0047 ~HcalRecHitsClient() override;
0048
0049 void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
0050
0051 int HcalRecHitsEndjob(const std::vector<MonitorElement *> &hcalMEs);
0052 };
0053
0054 #endif