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
* \author G. Della Ricca
8
* \author F. Cossutti
9
*
10
*/
11
12
#include <vector>
13
#include <string>
14
15
#include "TROOT.h"
16
#include "TProfile2D.h"
17
#include "TH1F.h"
18
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
21
#include "
DQM/EcalEndcapMonitorClient/interface/EEClient.h
"
22
23
class
MonitorElement
;
24
class
DQMStore
;
25
#ifdef WITH_ECAL_COND_DB
26
class
EcalCondDBInterface
;
27
class
RunIOV
;
28
class
MonRunIOV
;
29
#endif
30
31
class
EEOccupancyClient
:
public
EEClient
{
32
33
friend
class
EESummaryClient
;
34
35
public
:
36
38
EEOccupancyClient
(
const
edm::ParameterSet
& ps);
39
41
virtual
~EEOccupancyClient
();
42
44
void
analyze
(
void
);
45
47
void
beginJob
(
void
);
48
50
void
endJob
(
void
);
51
53
void
beginRun
(
void
);
54
56
void
endRun
(
void
);
57
59
void
setup
(
void
);
60
62
void
cleanup
(
void
);
63
64
#ifdef WITH_ECAL_COND_DB
65
bool
writeDb(
EcalCondDBInterface
* econn,
RunIOV
* runiov,
MonRunIOV
* moniov,
bool
&
status
);
67
#endif
68
70
inline
int
getEvtPerJob
() {
return
ievt_
; }
71
inline
int
getEvtPerRun
() {
return
jevt_
; }
72
73
private
:
74
75
int
ievt_
;
76
int
jevt_
;
77
78
bool
cloneME_
;
79
80
bool
verbose_
;
81
bool
debug_
;
82
83
std::string
prefixME_
;
84
85
bool
enableCleanup_
;
86
87
std::vector<int>
superModules_
;
88
89
DQMStore
*
dqmStore_
;
90
91
TH2F*
i01_
[18];
92
TProfile2D*
i02_
[18];
93
94
TH2F*
h01_
[2][3];
95
TH1F*
h01ProjEta_
[2][3];
96
TH1F*
h01ProjPhi_
[2][3];
97
98
TH2F*
h02_
[2][2];
99
TH1F*
h02ProjEta_
[2][2];
100
TH1F*
h02ProjPhi_
[2][2];
101
102
};
103
104
#endif
EEOccupancyClient::setup
void setup(void)
Setup.
Definition:
EEOccupancyClient.cc:120
EEOccupancyClient::debug_
bool debug_
Definition:
EEOccupancyClient.h:81
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
EEOccupancyClient::i02_
TProfile2D * i02_[18]
Definition:
EEOccupancyClient.h:92
EEOccupancyClient::~EEOccupancyClient
virtual ~EEOccupancyClient()
Destructor.
Definition:
EEOccupancyClient.cc:79
EEOccupancyClient::getEvtPerRun
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition:
EEOccupancyClient.h:71
EEOccupancyClient::EEOccupancyClient
EEOccupancyClient(const edm::ParameterSet &ps)
Constructor.
Definition:
EEOccupancyClient.cc:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EEOccupancyClient::h02_
TH2F * h02_[2][2]
Definition:
EEOccupancyClient.h:98
EEOccupancyClient::h01_
TH2F * h01_[2][3]
Definition:
EEOccupancyClient.h:94
ParameterSet.h
MonRunIOV
Definition:
MonRunIOV.h:14
EEOccupancyClient::endRun
void endRun(void)
EndRun.
Definition:
EEOccupancyClient.cc:112
EEClient.h
Ecal Barrel Monitor Client mom class.
DQMStore
Definition:
DQMStore.h:70
EEOccupancyClient::enableCleanup_
bool enableCleanup_
Definition:
EEOccupancyClient.h:85
EEClient
Definition:
EEClient.h:19
EEOccupancyClient::h02ProjEta_
TH1F * h02ProjEta_[2][2]
Definition:
EEOccupancyClient.h:99
EEOccupancyClient::endJob
void endJob(void)
EndJob.
Definition:
EEOccupancyClient.cc:104
EEOccupancyClient::verbose_
bool verbose_
Definition:
EEOccupancyClient.h:80
EEOccupancyClient::beginRun
void beginRun(void)
BeginRun.
Definition:
EEOccupancyClient.cc:94
EEOccupancyClient
Definition:
EEOccupancyClient.h:31
EEOccupancyClient::h02ProjPhi_
TH1F * h02ProjPhi_[2][2]
Definition:
EEOccupancyClient.h:100
MonitorElement
Definition:
MonitorElement.h:34
EEOccupancyClient::h01ProjEta_
TH1F * h01ProjEta_[2][3]
Definition:
EEOccupancyClient.h:95
EESummaryClient
Definition:
EESummaryClient.h:29
EEOccupancyClient::cleanup
void cleanup(void)
Cleanup.
Definition:
EEOccupancyClient.cc:126
EEOccupancyClient::getEvtPerJob
int getEvtPerJob()
Get Functions.
Definition:
EEOccupancyClient.h:70
EEOccupancyClient::cloneME_
bool cloneME_
Definition:
EEOccupancyClient.h:78
EEOccupancyClient::superModules_
std::vector< int > superModules_
Definition:
EEOccupancyClient.h:87
EEOccupancyClient::h01ProjPhi_
TH1F * h01ProjPhi_[2][3]
Definition:
EEOccupancyClient.h:96
EEOccupancyClient::i01_
TH2F * i01_[18]
Definition:
EEOccupancyClient.h:91
edm::ParameterSet
Definition:
ParameterSet.h:35
EEOccupancyClient::dqmStore_
DQMStore * dqmStore_
Definition:
EEOccupancyClient.h:89
ntuplemaker.status
tuple status
Definition:
ntuplemaker.py:245
EEOccupancyClient::analyze
void analyze(void)
Analyze.
Definition:
EEOccupancyClient.cc:282
RunIOV
Definition:
RunIOV.h:13
EEOccupancyClient::beginJob
void beginJob(void)
BeginJob.
Definition:
EEOccupancyClient.cc:83
EEOccupancyClient::ievt_
int ievt_
Definition:
EEOccupancyClient.h:75
EEOccupancyClient::prefixME_
std::string prefixME_
Definition:
EEOccupancyClient.h:83
EEOccupancyClient::jevt_
int jevt_
Definition:
EEOccupancyClient.h:76
Generated for CMSSW Reference Manual by
1.8.5