CMS 3D CMS Logo

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 
27 #include <memory>
28 #include <unistd.h>
29 
40 
41 #include <fstream>
42 #include <iostream>
43 #include <vector>
44 
45 class MonitorElement;
46 
48 private:
51 
52  bool verbose_;
53  bool debug_;
54 
58 
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_
const HcalDDDRecConstants * hcons
void beginJob(void) override
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