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 
16 #include <memory>
17 #include <unistd.h>
30 
41 
42 
43 #include <iostream>
44 #include <fstream>
45 #include <vector>
46 
47 class MonitorElement;
48 
50 
51  private:
54 
55  bool verbose_;
56  bool debug_;
57 
61 
64 
65  int nChannels_[5]; // 0:any, 1:HB, 2:HE, 3:HO, 4: HF
66 
67  public:
68  explicit HcalRecHitsDQMClient(const edm::ParameterSet& );
69  ~HcalRecHitsDQMClient() override;
70 
71  void beginJob(void) override;
72  void beginRun(edm::Run const&, edm::EventSetup const&) override;
73  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
74 
75  int HcalRecHitsEndjob(const std::vector<MonitorElement*> &hcalMEs);
76 
77  float phifactor(int ieta);
78 
79 };
80 
81 #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:43