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
DQMEDHarvester.h
Handle.h
MessageLogger.h
CaloTowersClient::conf_
edm::ParameterSet conf_
Definition:
CaloTowersClient.h:38
CaloTowersClient::outputFile_
std::string outputFile_
Definition:
CaloTowersClient.h:36
DQMStore.h
EDAnalyzer.h
CaloTowersClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
CaloTowersClient.cc:23
CaloTowersClient::verbose_
bool verbose_
Definition:
CaloTowersClient.h:40
CaloTowersClient
Definition:
CaloTowersClient.h:34
CaloTowersClient::dirNameMET_
std::string dirNameMET_
Definition:
CaloTowersClient.h:45
Service.h
CaloTowersClient::beginJob
void beginJob(void) override
Definition:
CaloTowersClient.cc:21
DQMEDAnalyzer.h
CaloTowersClient::dirName_
std::string dirName_
Definition:
CaloTowersClient.h:43
CaloTowersClient::dirNameJet_
std::string dirNameJet_
Definition:
CaloTowersClient.h:44
CaloTowersClient::CaloTowersEndjob
int CaloTowersEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
CaloTowersClient.cc:57
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
LorentzVector.h
CaloTowersClient::CaloTowersClient
CaloTowersClient(const edm::ParameterSet &)
Definition:
CaloTowersClient.cc:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
dqm::implementation::IGetter
Definition:
DQMStore.h:484
EventSetup.h
CaloTowersClient::~CaloTowersClient
~CaloTowersClient() override
Definition:
CaloTowersClient.cc:19
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
CaloTowersClient::debug_
bool debug_
Definition:
CaloTowersClient.h:41
Generated for CMSSW Reference Manual by
1.8.16