src
Validation
CaloTowers
interface
CaloTowersClient.h
Go to the documentation of this file.
1
#ifndef HCALVALIDATION_CALOTOWERS_CALOTOWERSCLIENT
2
#define HCALVALIDATION_CALOTOWERS_CALOTOWERSCLIENT
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 <memory>
17
#include <unistd.h>
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
DQMServices/Core/interface/DQMStore.h
"
20
#include "
DataFormats/Common/interface/Handle.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/ServiceRegistry/interface/Service.h
"
25
#include "
DataFormats/Math/interface/LorentzVector.h
"
26
27
#include <iostream>
28
#include <fstream>
29
#include <vector>
30
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
31
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
32
33
class
CaloTowersClient
:
public
DQMEDHarvester
{
34
private
:
35
std::string
outputFile_
;
36
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
CaloTowersClient
(
const
edm::ParameterSet
&);
48
~CaloTowersClient
()
override
;
49
50
void
beginJob
(
void
)
override
;
51
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
52
53
int
CaloTowersEndjob
(
const
std::vector<MonitorElement *> &hcalMEs);
54
};
55
56
#endif
CaloTowersClient::outputFile_
std::string outputFile_
Definition:
CaloTowersClient.h:35
MessageLogger.h
CaloTowersClient::debug_
bool debug_
Definition:
CaloTowersClient.h:40
Event.h
EventSetup.h
CaloTowersClient
Definition:
CaloTowersClient.h:33
DQMEDHarvester.h
CaloTowersClient::beginJob
void beginJob(void) override
Definition:
CaloTowersClient.cc:21
dqm::implementation::IGetter
Definition:
DQMStore.h:571
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloTowersClient::dirNameMET_
std::string dirNameMET_
Definition:
CaloTowersClient.h:44
ParameterSet.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
CaloTowersClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
CaloTowersClient.cc:23
CaloTowersClient::dirNameJet_
std::string dirNameJet_
Definition:
CaloTowersClient.h:43
DQMEDAnalyzer.h
DQMStore.h
Service.h
LorentzVector.h
CaloTowersClient::conf_
edm::ParameterSet conf_
Definition:
CaloTowersClient.h:37
CaloTowersClient::dirName_
std::string dirName_
Definition:
CaloTowersClient.h:42
CaloTowersClient::verbose_
bool verbose_
Definition:
CaloTowersClient.h:39
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
CaloTowersClient::CaloTowersClient
CaloTowersClient(const edm::ParameterSet &)
Definition:
CaloTowersClient.cc:11
CaloTowersClient::~CaloTowersClient
~CaloTowersClient() override
Definition:
CaloTowersClient.cc:19
edm::ParameterSet
Definition:
ParameterSet.h:48
CaloTowersClient::CaloTowersEndjob
int CaloTowersEndjob(const std::vector< MonitorElement *> &hcalMEs)
Definition:
CaloTowersClient.cc:57
Handle.h
Generated for CMSSW Reference Manual by
1.8.14