CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalRecHitsDQMClient.h
Go to the documentation of this file.
1 #ifndef _DQMOFFLINE_HCAL_HCALRECHITSDQMCLIENT_H_
2 #define _DQMOFFLINE_HCAL_HCALRECHITSDQMCLIENT_H_
3 
4 // -*- C++ -*-
5 //
6 //
7 /*
8  Description: This is a RecHits client meant to plot rechits quantities
9 */
10 
11 //
12 // Originally create by: Hongxuan Liu
13 // May 2010
14 //
15 
28 #include <memory>
29 #include <unistd.h>
30 
41 
42 #include <fstream>
43 #include <iostream>
44 #include <vector>
45 
47 private:
50 
51  bool verbose_;
52  bool debug_;
53 
57 
61 
62  int nChannels_[5]; // 0:any, 1:HB, 2:HE, 3:HO, 4: HF
63 
64 public:
65  explicit HcalRecHitsDQMClient(const edm::ParameterSet &);
66  ~HcalRecHitsDQMClient() override;
67 
68  void beginJob(void) override;
69  void beginRun(edm::Run const &, edm::EventSetup const &) override;
71  DQMStore::IGetter &) override; // performed in the endJob
72 
73  int HcalRecHitsEndjob(const std::vector<MonitorElement *> &hcalMEs);
74 
75  float phifactor(int ieta);
76 };
77 
78 #endif // _DQMOFFLINE_HCAL_HCALRECHITSDQMCLIENT_H_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryRunToken_
void beginJob(void) override
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > hcalDDDRecConstantsToken_
int HcalRecHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
HcalRecHitsDQMClient(const edm::ParameterSet &)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
edm::ParameterSet conf_
Definition: Run.h:45