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 
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_
DQMEDHarvester.h
HcalRecHitsDQMClient::~HcalRecHitsDQMClient
~HcalRecHitsDQMClient() override
Definition: HcalRecHitsDQMClient.cc:23
Handle.h
MessageLogger.h
HcalRecHitsDQMClient::dirNameMET_
std::string dirNameMET_
Definition: HcalRecHitsDQMClient.h:56
HcalRecHitsDQMClient::maxDepthHF_
int maxDepthHF_
Definition: HcalRecHitsDQMClient.h:60
HcalRecHitsDQMClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: HcalRecHitsDQMClient.cc:63
edm::Run
Definition: Run.h:45
HcalRecHitsDQMClient
Definition: HcalRecHitsDQMClient.h:46
DQMStore.h
HcalRecNumberingRecord.h
EDAnalyzer.h
ESGetToken.h
HcalRecHitsDQMClient::maxDepthHO_
int maxDepthHO_
Definition: HcalRecHitsDQMClient.h:60
HcalRecHitsDQMClient::hcalDDDRecConstantsToken_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > hcalDDDRecConstantsToken_
Definition: HcalRecHitsDQMClient.h:58
HcalRecHitsDQMClient::beginJob
void beginJob(void) override
Definition: HcalRecHitsDQMClient.cc:25
HcalRecHitsDQMClient::maxDepthHE_
int maxDepthHE_
Definition: HcalRecHitsDQMClient.h:60
Service.h
HcalDigiCollections.h
HcalRecHitsDQMClient::nChannels_
int nChannels_[5]
Definition: HcalRecHitsDQMClient.h:62
HcalRecHitsDQMClient::phifactor
float phifactor(int ieta)
Definition: HcalRecHitsDQMClient.cc:361
HcalRecHitsDQMClient::maxDepthHB_
int maxDepthHB_
Definition: HcalRecHitsDQMClient.h:60
DQMEDAnalyzer.h
CaloGeometryRecord.h
HcalRecHitsDQMClient::outputFile_
std::string outputFile_
Definition: HcalRecHitsDQMClient.h:48
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
CaloSubdetectorGeometry.h
HcalRecHitsDQMClient::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: HcalRecHitsDQMClient.cc:27
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HcalDetId.h
HcalRecHitsDQMClient::verbose_
bool verbose_
Definition: HcalRecHitsDQMClient.h:51
LorentzVector.h
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalRecHitsDQMClient::maxDepthAll_
int maxDepthAll_
Definition: HcalRecHitsDQMClient.h:60
DQMEDHarvester
Definition: DQMEDHarvester.py:1
HcalTopology.h
CaloCellGeometry.h
DetId.h
HcalRecHitsDQMClient::dirNameJet_
std::string dirNameJet_
Definition: HcalRecHitsDQMClient.h:55
dqm::implementation::IGetter
Definition: DQMStore.h:484
CaloGeometry.h
HcalDDDRecConstants.h
HcalRecHitsDQMClient::caloGeometryRunToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryRunToken_
Definition: HcalRecHitsDQMClient.h:59
HcalRecHitsDQMClient::HcalRecHitsDQMClient
HcalRecHitsDQMClient(const edm::ParameterSet &)
Definition: HcalRecHitsDQMClient.cc:13
EventSetup.h
HcalRecHitsDQMClient::debug_
bool debug_
Definition: HcalRecHitsDQMClient.h:52
dqm::implementation::IBooker
Definition: DQMStore.h:43
HcalRecHitsDQMClient::conf_
edm::ParameterSet conf_
Definition: HcalRecHitsDQMClient.h:49
ParameterSet.h
HcalRecHitsDQMClient::dirName_
std::string dirName_
Definition: HcalRecHitsDQMClient.h:54
HcalRecHitsDQMClient::HcalRecHitsEndjob
int HcalRecHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition: HcalRecHitsDQMClient.cc:98