DQMOffline
Hcal
interface
CaloTowersDQMClient.h
Go to the documentation of this file.
1
#ifndef _DQMOFFLINE_HCAL_CALOTOWERSDQMCLIENT_H_
2
#define _DQMOFFLINE_HCAL_CALOTOWERSDQMCLIENT_H_
3
4
// -*- C++ -*-
5
//
6
//
7
/*
8
Description: This is a CaloTowers client meant to plot calotowers quantities
9
*/
10
11
//
12
// Originally create by: Hongxuan Liu
13
// May 2010
14
//
15
16
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
17
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
18
#include "
DQMServices/Core/interface/DQMStore.h
"
19
#include "
DataFormats/Common/interface/Handle.h
"
20
#include "
DataFormats/Math/interface/LorentzVector.h
"
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/ServiceRegistry/interface/Service.h
"
26
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
27
#include <memory>
28
#include <unistd.h>
29
30
#include <fstream>
31
#include <iostream>
32
#include <vector>
33
34
class
CaloTowersDQMClient
:
public
DQMEDHarvester
{
35
private
:
36
std::string
outputFile_
;
37
edm::ParameterSet
conf_
;
38
39
bool
verbose_
;
40
bool
debug_
;
41
42
std::string
dirName_
;
43
std::string
dirNameJet_
;
44
std::string
dirNameMET_
;
45
46
public
:
47
explicit
CaloTowersDQMClient
(
const
edm::ParameterSet
&);
48
~CaloTowersDQMClient
()
override
;
49
50
void
beginJob
(
void
)
override
;
51
void
dqmEndJob
(
DQMStore::IBooker
&,
52
DQMStore::IGetter
&)
override
;
// performed in the endJob
53
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&
c
)
override
;
54
55
int
CaloTowersEndjob
(
const
std::vector<MonitorElement *> &hcalMEs);
56
};
57
58
#endif
DQMEDHarvester.h
Handle.h
MessageLogger.h
CaloTowersDQMClient
Definition:
CaloTowersDQMClient.h:34
CaloTowersDQMClient::dirNameMET_
std::string dirNameMET_
Definition:
CaloTowersDQMClient.h:44
edm::Run
Definition:
Run.h:45
CaloTowersDQMClient::beginJob
void beginJob(void) override
Definition:
CaloTowersDQMClient.cc:20
DQMStore.h
CaloTowersDQMClient::~CaloTowersDQMClient
~CaloTowersDQMClient() override
Definition:
CaloTowersDQMClient.cc:18
EDAnalyzer.h
CaloTowersDQMClient::outputFile_
std::string outputFile_
Definition:
CaloTowersDQMClient.h:36
Service.h
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
LorentzVector.h
CaloTowersDQMClient::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
Definition:
CaloTowersDQMClient.cc:22
CaloTowersDQMClient::CaloTowersEndjob
int CaloTowersEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
CaloTowersDQMClient.cc:26
CaloTowersDQMClient::dirNameJet_
std::string dirNameJet_
Definition:
CaloTowersDQMClient.h:43
CaloTowersDQMClient::dirName_
std::string dirName_
Definition:
CaloTowersDQMClient.h:42
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
CaloTowersDQMClient::verbose_
bool verbose_
Definition:
CaloTowersDQMClient.h:39
CaloTowersDQMClient::debug_
bool debug_
Definition:
CaloTowersDQMClient.h:40
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
dqm::implementation::IGetter
Definition:
DQMStore.h:484
EventSetup.h
CaloTowersDQMClient::CaloTowersDQMClient
CaloTowersDQMClient(const edm::ParameterSet &)
Definition:
CaloTowersDQMClient.cc:11
dqm::implementation::IBooker
Definition:
DQMStore.h:43
CaloTowersDQMClient::conf_
edm::ParameterSet conf_
Definition:
CaloTowersDQMClient.h:37
ParameterSet.h
CaloTowersDQMClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
CaloTowersDQMClient.cc:147
Generated for CMSSW Reference Manual by
1.8.16