Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQM
EcalBarrelMonitorClient
interface
EBOccupancyClient.h
Go to the documentation of this file.
1
#ifndef EBOccupancyClient_H
2
#define EBOccupancyClient_H
3
4
/*
5
* \file EBOccupancyClient.h
6
*
7
* $Date: 2010/01/25 21:12:23 $
8
* $Revision: 1.20 $
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/EcalBarrelMonitorClient/interface/EBClient.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
EBOccupancyClient
:
public
EBClient
{
34
35
friend
class
EBSummaryClient
;
36
37
public
:
38
40
EBOccupancyClient
(
const
edm::ParameterSet
& ps);
41
43
virtual
~EBOccupancyClient
();
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_
[36];
94
TProfile2D*
i02_
[36];
95
96
TH2F*
h01_
[3];
97
TH1F*
h01ProjEta_
[3];
98
TH1F*
h01ProjPhi_
[3];
99
100
TH2F*
h02_
[2];
101
TH1F*
h02ProjEta_
[2];
102
TH1F*
h02ProjPhi_
[2];
103
104
};
105
106
#endif
EBOccupancyClient::h01_
TH2F * h01_[3]
Definition:
EBOccupancyClient.h:96
EBOccupancyClient::getEvtPerRun
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition:
EBOccupancyClient.h:73
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
EBOccupancyClient::superModules_
std::vector< int > superModules_
Definition:
EBOccupancyClient.h:89
EBOccupancyClient::~EBOccupancyClient
virtual ~EBOccupancyClient()
Destructor.
Definition:
EBOccupancyClient.cc:75
EBOccupancyClient::EBOccupancyClient
EBOccupancyClient(const edm::ParameterSet &ps)
Constructor.
Definition:
EBOccupancyClient.cc:33
EBOccupancyClient::beginRun
void beginRun(void)
BeginRun.
Definition:
EBOccupancyClient.cc:90
EBOccupancyClient::cleanup
void cleanup(void)
Cleanup.
Definition:
EBOccupancyClient.cc:122
EBOccupancyClient::h01ProjPhi_
TH1F * h01ProjPhi_[3]
Definition:
EBOccupancyClient.h:98
EBOccupancyClient::enableCleanup_
bool enableCleanup_
Definition:
EBOccupancyClient.h:87
EBOccupancyClient::beginJob
void beginJob(void)
BeginJob.
Definition:
EBOccupancyClient.cc:79
ParameterSet.h
MonRunIOV
Definition:
MonRunIOV.h:14
DQMStore
Definition:
DQMStore.h:67
EBOccupancyClient::getEvtPerJob
int getEvtPerJob()
Get Functions.
Definition:
EBOccupancyClient.h:72
EBOccupancyClient::analyze
void analyze(void)
Analyze.
Definition:
EBOccupancyClient.cc:257
EBOccupancyClient::i02_
TProfile2D * i02_[36]
Definition:
EBOccupancyClient.h:94
EBOccupancyClient::cloneME_
bool cloneME_
Definition:
EBOccupancyClient.h:80
EBClient
Definition:
EBClient.h:22
EBOccupancyClient::h02ProjEta_
TH1F * h02ProjEta_[2]
Definition:
EBOccupancyClient.h:101
MonitorElement
Definition:
MonitorElement.h:34
EBOccupancyClient::setup
void setup(void)
Setup.
Definition:
EBOccupancyClient.cc:116
EBOccupancyClient::h02_
TH2F * h02_[2]
Definition:
EBOccupancyClient.h:100
EBSummaryClient
Definition:
EBSummaryClient.h:31
EBOccupancyClient::endRun
void endRun(void)
EndRun.
Definition:
EBOccupancyClient.cc:108
EBOccupancyClient::i01_
TH2F * i01_[36]
Definition:
EBOccupancyClient.h:93
EBOccupancyClient::h01ProjEta_
TH1F * h01ProjEta_[3]
Definition:
EBOccupancyClient.h:97
EBOccupancyClient::ievt_
int ievt_
Definition:
EBOccupancyClient.h:77
EBOccupancyClient::h02ProjPhi_
TH1F * h02ProjPhi_[2]
Definition:
EBOccupancyClient.h:102
EBOccupancyClient::jevt_
int jevt_
Definition:
EBOccupancyClient.h:78
edm::ParameterSet
Definition:
ParameterSet.h:35
EBOccupancyClient::verbose_
bool verbose_
Definition:
EBOccupancyClient.h:82
EBOccupancyClient::prefixME_
std::string prefixME_
Definition:
EBOccupancyClient.h:85
EBOccupancyClient::debug_
bool debug_
Definition:
EBOccupancyClient.h:83
ntuplemaker.status
tuple status
Definition:
ntuplemaker.py:245
EBOccupancyClient::endJob
void endJob(void)
EndJob.
Definition:
EBOccupancyClient.cc:100
RunIOV
Definition:
RunIOV.h:13
EBOccupancyClient
Definition:
EBOccupancyClient.h:33
EBOccupancyClient::dqmStore_
DQMStore * dqmStore_
Definition:
EBOccupancyClient.h:91
EBClient.h
Ecal Barrel Monitor Client mom class.
Generated for CMSSW Reference Manual by
1.8.5