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 
34 class MonitorElement;
35 
37 private:
38  int SimHitsEndjob(const std::vector<MonitorElement *> &hcalMEs);
39  std::vector<std::string> getHistogramTypes();
40 
42  bool verbose_;
43  static const int nTime = 4;
44  static const int nType1 = 4;
47 
48 public:
49  explicit HcalSimHitsClient(const edm::ParameterSet &);
50  ~HcalSimHitsClient() override;
51 
52  void beginRun(edm::Run const &run, edm::EventSetup const &c) override;
54  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
55 };
56 
57 #endif
void beginRun(edm::Run const &run, edm::EventSetup const &c) override
static const int nType1
int SimHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
~HcalSimHitsClient() override
std::vector< std::string > getHistogramTypes()
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
const HcalDDDRecConstants * hcons
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
static const int nTime
HcalSimHitsClient(const edm::ParameterSet &)
Definition: Run.h:45