Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~CaloTowersClient
();
54
55
virtual
void
beginJob
(
void
);
56
virtual
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
CaloTowersClient::beginJob
virtual void beginJob(void)
Definition:
CaloTowersClient.cc:27
MessageLogger.h
CaloTowersClient::outputFile_
std::string outputFile_
Definition:
CaloTowersClient.h:40
CaloTowersClient::debug_
bool debug_
Definition:
CaloTowersClient.h:45
Event.h
EventSetup.h
CaloTowersClient
Definition:
CaloTowersClient.h:37
DQMEDHarvester.h
Handle.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CaloTowersClient::dirNameMET_
std::string dirNameMET_
Definition:
CaloTowersClient.h:49
ParameterSet.h
DQMEDHarvester
Definition:
DQMEDHarvester.h:15
DQMStore::IGetter
Definition:
DQMStore.h:190
CaloTowersClient::dqmEndJob
virtual 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
CaloTowersClient::~CaloTowersClient
virtual ~CaloTowersClient()
Definition:
CaloTowersClient.cc:22
MonitorElement.h
CaloTowersClient::CaloTowersClient
CaloTowersClient(const edm::ParameterSet &)
Definition:
CaloTowersClient.cc:11
edm::ParameterSet
Definition:
ParameterSet.h:35
DQMStore::IBooker
Definition:
DQMStore.h:90
Generated for CMSSW Reference Manual by
1.8.5