CMS 3D CMS Logo

HcalSimHitsClient.h
Go to the documentation of this file.
1 #ifndef ValidationHcalSimHitsClient_H
2 #define ValidationHcalSimHitsClient_H
3 
4 // -*- C++ -*-
5 //
6 //
7 /*
8  Description: This is a SImHit CLient code
9 */
10 
11 //
12 // Originally create by: Bhawna Gomber
13 //
14 //
15 
27 #include <memory>
28 #include <unistd.h>
29 
30 #include <fstream>
31 #include <iostream>
32 #include <vector>
33 
35 private:
36  int SimHitsEndjob(const std::vector<MonitorElement *> &hcalMEs);
37  std::vector<std::string> getHistogramTypes();
38 
40  const bool verbose_;
42  static const int nTime = 4;
43  static const int nType1 = 4;
46 
47 public:
48  explicit HcalSimHitsClient(const edm::ParameterSet &);
49  ~HcalSimHitsClient() override = default;
50 
51  void beginRun(edm::Run const &run, edm::EventSetup const &c) override;
53  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
54 };
55 
56 #endif
void beginRun(edm::Run const &run, edm::EventSetup const &c) override
int SimHitsEndjob(const std::vector< MonitorElement *> &hcalMEs)
static const int nType1
const edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
~HcalSimHitsClient() override=default
std::vector< std::string > getHistogramTypes()
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
const HcalDDDRecConstants * hcons
const std::string dirName_
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
static const int nTime
HcalSimHitsClient(const edm::ParameterSet &)
Definition: Run.h:45