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  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;
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
DQMEDHarvester.h
Handle.h
MessageLogger.h
edm::Run
Definition: Run.h:45
DQMStore.h
HcalRecNumberingRecord.h
HcalSimHitsClient::nType1
static const int nType1
Definition: HcalSimHitsClient.h:43
HcalSimHitsClient::getHistogramTypes
std::vector< std::string > getHistogramTypes()
Definition: HcalSimHitsClient.cc:169
HcalSimHitsClient
Definition: HcalSimHitsClient.h:34
HcalSimHitsClient::dirName_
std::string dirName_
Definition: HcalSimHitsClient.h:39
HcalSimHitsClient::tok_HRNDC_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
Definition: HcalSimHitsClient.h:41
HcalSimHitsClient::maxDepthHO_
int maxDepthHO_
Definition: HcalSimHitsClient.h:45
HcalSimHitsClient::SimHitsEndjob
int SimHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition: HcalSimHitsClient.cc:65
Service.h
HcalSimHitsClient::~HcalSimHitsClient
~HcalSimHitsClient() override
Definition: HcalSimHitsClient.cc:17
HcalSimHitsClient::runClient_
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: HcalSimHitsClient.cc:33
edm::ParameterSet
Definition: ParameterSet.h:47
HcalSimHitsClient::maxDepthHB_
int maxDepthHB_
Definition: HcalSimHitsClient.h:45
Event.h
HcalSimHitsClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: HcalSimHitsClient.cc:31
HcalSimHitsClient::nTime
static const int nTime
Definition: HcalSimHitsClient.h:42
LorentzVector.h
HcalSimHitsClient::maxDepthHE_
int maxDepthHE_
Definition: HcalSimHitsClient.h:45
HcalSimHitsClient::hcons
const HcalDDDRecConstants * hcons
Definition: HcalSimHitsClient.h:44
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDHarvester
Definition: DQMEDHarvester.py:1
writedatasetfile.run
run
Definition: writedatasetfile.py:27
dqm::implementation::IGetter
Definition: DQMStore.h:484
HcalDDDRecConstants.h
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
HcalSimHitsClient::verbose_
bool verbose_
Definition: HcalSimHitsClient.h:40
HcalDDDRecConstants
Definition: HcalDDDRecConstants.h:23
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
HcalSimHitsClient::maxDepthHF_
int maxDepthHF_
Definition: HcalSimHitsClient.h:45
HcalSimHitsClient::HcalSimHitsClient
HcalSimHitsClient(const edm::ParameterSet &)
Definition: HcalSimHitsClient.cc:11
HcalSimHitsClient::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &c) override
Definition: HcalSimHitsClient.cc:19