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/DQMStore.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/DQMEDAnalyzer.h
"
32
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
33
34
class
CaloTowersClient
:
public
DQMEDHarvester
{
35
private
:
36
std::string
outputFile_
;
37
38
edm::ParameterSet
conf_
;
39
40
bool
verbose_
;
41
bool
debug_
;
42
43
std::string
dirName_
;
44
std::string
dirNameJet_
;
45
std::string
dirNameMET_
;
46
47
public
:
48
explicit
CaloTowersClient
(
const
edm::ParameterSet
&);
49
~CaloTowersClient
()
override
;
50
51
void
beginJob
(
void
)
override
;
52
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
53
54
int
CaloTowersEndjob
(
const
std::vector<MonitorElement *> &hcalMEs);
55
};
56
57
#endif
MessageLogger.h
CaloTowersClient::outputFile_
std::string outputFile_
Definition:
CaloTowersClient.h:36
dqm::dqmstoreimpl::DQMStore::IGetter
Definition:
DQMStore.h:240
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloTowersClient::debug_
bool debug_
Definition:
CaloTowersClient.h:41
Event.h
EventSetup.h
CaloTowersClient
Definition:
CaloTowersClient.h:34
DQMEDHarvester.h
CaloTowersClient::beginJob
void beginJob(void) override
Definition:
CaloTowersClient.cc:21
CaloTowersClient::dirNameMET_
std::string dirNameMET_
Definition:
CaloTowersClient.h:45
ParameterSet.h
CaloTowersClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
CaloTowersClient.cc:23
CaloTowersClient::dirNameJet_
std::string dirNameJet_
Definition:
CaloTowersClient.h:44
dqm::dqmstoreimpl::DQMStore::IBooker
Definition:
DQMStore.h:106
DQMEDAnalyzer.h
DQMStore.h
CaloTowersClient::CaloTowersEndjob
int CaloTowersEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
CaloTowersClient.cc:57
Service.h
LorentzVector.h
EDAnalyzer.h
CaloTowersClient::conf_
edm::ParameterSet conf_
Definition:
CaloTowersClient.h:38
CaloTowersClient::dirName_
std::string dirName_
Definition:
CaloTowersClient.h:43
CaloTowersClient::verbose_
bool verbose_
Definition:
CaloTowersClient.h:40
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:36
Handle.h
Generated for CMSSW Reference Manual by
1.8.11