Main Page
Namespaces
Classes
Package Documentation
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/Framework/interface/EDAnalyzer.h
>
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
DQMServices/Core/interface/MonitorElement.h
"
21
#include "
DataFormats/Common/interface/Handle.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
25
#include "
FWCore/ServiceRegistry/interface/Service.h
"
26
#include "
DataFormats/Math/interface/LorentzVector.h
"
27
28
#include <iostream>
29
#include <fstream>
30
#include <vector>
31
#include "
DQMServices/Core/interface/MonitorElement.h
"
32
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
33
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
34
35
class
MonitorElement
;
36
37
class
CaloTowersClient
:
public
DQMEDHarvester
{
38
39
private
:
40
std::string
outputFile_
;
41
42
edm::ParameterSet
conf_
;
43
44
bool
verbose_
;
45
bool
debug_
;
46
47
std::string
dirName_
;
48
std::string
dirNameJet_
;
49
std::string
dirNameMET_
;
50
51
public
:
52
explicit
CaloTowersClient
(
const
edm::ParameterSet
& );
53
~CaloTowersClient
()
override
;
54
55
void
beginJob
(
void
)
override
;
56
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
57
58
int
CaloTowersEndjob
(
const
std::vector<MonitorElement*> &hcalMEs);
59
60
};
61
62
#endif
MessageLogger.h
CaloTowersClient::outputFile_
std::string outputFile_
Definition:
CaloTowersClient.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloTowersClient::debug_
bool debug_
Definition:
CaloTowersClient.h:45
Event.h
EventSetup.h
CaloTowersClient
Definition:
CaloTowersClient.h:37
DQMEDHarvester.h
CaloTowersClient::beginJob
void beginJob(void) override
Definition:
CaloTowersClient.cc:27
CaloTowersClient::dirNameMET_
std::string dirNameMET_
Definition:
CaloTowersClient.h:49
ParameterSet.h
DQMStore::IGetter
Definition:
DQMStore.h:186
CaloTowersClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
CaloTowersClient.cc:34
CaloTowersClient::dirNameJet_
std::string dirNameJet_
Definition:
CaloTowersClient.h:48
DQMEDAnalyzer.h
CaloTowersClient::CaloTowersEndjob
int CaloTowersEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
CaloTowersClient.cc:69
Service.h
LorentzVector.h
EDAnalyzer.h
CaloTowersClient::conf_
edm::ParameterSet conf_
Definition:
CaloTowersClient.h:42
MonitorElement
Definition:
MonitorElement.h:37
CaloTowersClient::dirName_
std::string dirName_
Definition:
CaloTowersClient.h:47
CaloTowersClient::verbose_
bool verbose_
Definition:
CaloTowersClient.h:44
MonitorElement.h
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
CaloTowersClient::CaloTowersClient
CaloTowersClient(const edm::ParameterSet &)
Definition:
CaloTowersClient.cc:11
CaloTowersClient::~CaloTowersClient
~CaloTowersClient() override
Definition:
CaloTowersClient.cc:22
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:88
Handle.h
Generated for CMSSW Reference Manual by
1.8.11