Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
EcalEndcapMonitorClient
interface
EEOccupancyClient.h
Go to the documentation of this file.
1
#ifndef EEOccupancyClient_H
2
#define EEOccupancyClient_H
3
4
/*
5
* \file EEOccupancyClient.h
6
*
7
* $Date: 2010/01/25 21:12:25 $
8
* $Revision: 1.22 $
9
* \author G. Della Ricca
10
* \author F. Cossutti
11
*
12
*/
13
14
#include <vector>
15
#include <string>
16
17
#include "TROOT.h"
18
#include "TProfile2D.h"
19
#include "TH1F.h"
20
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
23
#include "
DQM/EcalEndcapMonitorClient/interface/EEClient.h
"
24
25
class
MonitorElement
;
26
class
DQMStore
;
27
#ifdef WITH_ECAL_COND_DB
28
class
EcalCondDBInterface
;
29
class
RunIOV
;
30
class
MonRunIOV
;
31
#endif
32
33
class
EEOccupancyClient
:
public
EEClient
{
34
35
friend
class
EESummaryClient
;
36
37
public
:
38
40
EEOccupancyClient
(
const
edm::ParameterSet
& ps);
41
43
virtual
~EEOccupancyClient
();
44
46
void
analyze
(
void
);
47
49
void
beginJob
(
void
);
50
52
void
endJob
(
void
);
53
55
void
beginRun
(
void
);
56
58
void
endRun
(
void
);
59
61
void
setup
(
void
);
62
64
void
cleanup
(
void
);
65
66
#ifdef WITH_ECAL_COND_DB
67
bool
writeDb(
EcalCondDBInterface
* econn,
RunIOV
* runiov,
MonRunIOV
* moniov,
bool
&
status
);
69
#endif
70
72
inline
int
getEvtPerJob
() {
return
ievt_
; }
73
inline
int
getEvtPerRun
() {
return
jevt_
; }
74
75
private
:
76
77
int
ievt_
;
78
int
jevt_
;
79
80
bool
cloneME_
;
81
82
bool
verbose_
;
83
bool
debug_
;
84
85
std::string
prefixME_
;
86
87
bool
enableCleanup_
;
88
89
std::vector<int>
superModules_
;
90
91
DQMStore
*
dqmStore_
;
92
93
TH2F*
i01_
[18];
94
TProfile2D*
i02_
[18];
95
96
TH2F*
h01_
[2][3];
97
TH1F*
h01ProjEta_
[2][3];
98
TH1F*
h01ProjPhi_
[2][3];
99
100
TH2F*
h02_
[2][2];
101
TH1F*
h02ProjEta_
[2][2];
102
TH1F*
h02ProjPhi_
[2][2];
103
104
};
105
106
#endif
EEOccupancyClient::setup
void setup(void)
Setup.
Definition:
EEOccupancyClient.cc:122
EEOccupancyClient::debug_
bool debug_
Definition:
EEOccupancyClient.h:83
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
EEOccupancyClient::i02_
TProfile2D * i02_[18]
Definition:
EEOccupancyClient.h:94
EEOccupancyClient::~EEOccupancyClient
virtual ~EEOccupancyClient()
Destructor.
Definition:
EEOccupancyClient.cc:81
EEOccupancyClient::getEvtPerRun
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition:
EEOccupancyClient.h:73
EEOccupancyClient::EEOccupancyClient
EEOccupancyClient(const edm::ParameterSet &ps)
Constructor.
Definition:
EEOccupancyClient.cc:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EEOccupancyClient::h02_
TH2F * h02_[2][2]
Definition:
EEOccupancyClient.h:100
EEOccupancyClient::h01_
TH2F * h01_[2][3]
Definition:
EEOccupancyClient.h:96
ParameterSet.h
MonRunIOV
Definition:
MonRunIOV.h:14
EEOccupancyClient::endRun
void endRun(void)
EndRun.
Definition:
EEOccupancyClient.cc:114
EEClient.h
Ecal Barrel Monitor Client mom class.
DQMStore
Definition:
DQMStore.h:67
EEOccupancyClient::enableCleanup_
bool enableCleanup_
Definition:
EEOccupancyClient.h:87
EEClient
Definition:
EEClient.h:22
EEOccupancyClient::h02ProjEta_
TH1F * h02ProjEta_[2][2]
Definition:
EEOccupancyClient.h:101
EEOccupancyClient::endJob
void endJob(void)
EndJob.
Definition:
EEOccupancyClient.cc:106
EEOccupancyClient::verbose_
bool verbose_
Definition:
EEOccupancyClient.h:82
EEOccupancyClient::beginRun
void beginRun(void)
BeginRun.
Definition:
EEOccupancyClient.cc:96
EEOccupancyClient
Definition:
EEOccupancyClient.h:33
EEOccupancyClient::h02ProjPhi_
TH1F * h02ProjPhi_[2][2]
Definition:
EEOccupancyClient.h:102
MonitorElement
Definition:
MonitorElement.h:34
EEOccupancyClient::h01ProjEta_
TH1F * h01ProjEta_[2][3]
Definition:
EEOccupancyClient.h:97
EESummaryClient
Definition:
EESummaryClient.h:31
EEOccupancyClient::cleanup
void cleanup(void)
Cleanup.
Definition:
EEOccupancyClient.cc:128
EEOccupancyClient::getEvtPerJob
int getEvtPerJob()
Get Functions.
Definition:
EEOccupancyClient.h:72
EEOccupancyClient::cloneME_
bool cloneME_
Definition:
EEOccupancyClient.h:80
EEOccupancyClient::superModules_
std::vector< int > superModules_
Definition:
EEOccupancyClient.h:89
EEOccupancyClient::h01ProjPhi_
TH1F * h01ProjPhi_[2][3]
Definition:
EEOccupancyClient.h:98
EEOccupancyClient::i01_
TH2F * i01_[18]
Definition:
EEOccupancyClient.h:93
edm::ParameterSet
Definition:
ParameterSet.h:35
EEOccupancyClient::dqmStore_
DQMStore * dqmStore_
Definition:
EEOccupancyClient.h:91
ntuplemaker.status
tuple status
Definition:
ntuplemaker.py:245
EEOccupancyClient::analyze
void analyze(void)
Analyze.
Definition:
EEOccupancyClient.cc:284
RunIOV
Definition:
RunIOV.h:13
EEOccupancyClient::beginJob
void beginJob(void)
BeginJob.
Definition:
EEOccupancyClient.cc:85
EEOccupancyClient::ievt_
int ievt_
Definition:
EEOccupancyClient.h:77
EEOccupancyClient::prefixME_
std::string prefixME_
Definition:
EEOccupancyClient.h:85
EEOccupancyClient::jevt_
int jevt_
Definition:
EEOccupancyClient.h:78
Generated for CMSSW Reference Manual by
1.8.5