DQM
EcalMonitorClient
interface
MLClient.h
Go to the documentation of this file.
1
#ifndef MLClient_H
2
#define MLClient_H
3
4
#include "
DQWorkerClient.h
"
5
#include <vector>
6
#include <valarray>
7
#include <deque>
8
9
namespace
ecaldqm
{
10
11
class
MLClient
:
public
DQWorkerClient
{
12
public
:
13
MLClient
();
14
~MLClient
()
override
{}
15
16
void
producePlots
(
ProcessType
)
override
;
17
18
private
:
19
void
setParams
(
edm::ParameterSet
const
&)
override
;
20
21
//Each Ecal Barrel occupancy map is plotted at the tower level
22
//34 towers in the eta and 72 towers in the phi directions
23
static
const
int
nEtaTowers
= 34;
24
static
const
int
nPhiTowers
= 72;
25
//After padding with two rows above and below to prevent the edge effect, 36 towers in eta direction
26
static
const
int
nEtaTowersPad
= 36;
27
float
MLThreshold_
;
28
float
PUcorr_slope_
;
29
float
PUcorr_intercept_
;
30
size_t
nLS
= 3;
//No.of lumisections to add the occupancy over
31
size_t
nLSloss
= 6;
//No.of lumisections to multiply the loss over
32
33
std::deque<int>
NEventQ
;
//To keep the no.of events in each occupancy plot
34
std::deque<std::valarray<float>>
ebOccMap1dQ
;
//To keep the input occupancy plots to be summed
35
std::vector<double>
avgOcc_
;
//To keep the average occupancy to do response correction
36
std::deque<std::valarray<std::valarray<float>>>
lossMap2dQ
;
//To keep the ML losses to be multiplied
37
};
38
39
}
// namespace ecaldqm
40
41
#endif
ecaldqm::MLClient::MLClient
MLClient()
Definition:
MLClient.cc:18
ecaldqm::MLClient::MLThreshold_
float MLThreshold_
Definition:
MLClient.h:27
ecaldqm::MLClient::nLSloss
size_t nLSloss
Definition:
MLClient.h:31
ecaldqm
Definition:
DQWorker.h:37
ecaldqm::MLClient::producePlots
void producePlots(ProcessType) override
Definition:
MLClient.cc:35
ecaldqm::MLClient::PUcorr_intercept_
float PUcorr_intercept_
Definition:
MLClient.h:29
ecaldqm::MLClient::nLS
size_t nLS
Definition:
MLClient.h:30
ecaldqm::MLClient::nPhiTowers
static const int nPhiTowers
Definition:
MLClient.h:24
ecaldqm::MLClient::ebOccMap1dQ
std::deque< std::valarray< float > > ebOccMap1dQ
Definition:
MLClient.h:34
ecaldqm::MLClient::setParams
void setParams(edm::ParameterSet const &) override
Definition:
MLClient.cc:20
ecaldqm::DQWorkerClient::ProcessType
ProcessType
Definition:
DQWorkerClient.h:19
ecaldqm::MLClient::lossMap2dQ
std::deque< std::valarray< std::valarray< float > > > lossMap2dQ
Definition:
MLClient.h:36
ecaldqm::MLClient::avgOcc_
std::vector< double > avgOcc_
Definition:
MLClient.h:35
edm::ParameterSet
Definition:
ParameterSet.h:47
DQWorkerClient.h
ecaldqm::MLClient::nEtaTowers
static const int nEtaTowers
Definition:
MLClient.h:23
ecaldqm::DQWorkerClient
Definition:
DQWorkerClient.h:17
ecaldqm::MLClient::nEtaTowersPad
static const int nEtaTowersPad
Definition:
MLClient.h:26
ecaldqm::MLClient::NEventQ
std::deque< int > NEventQ
Definition:
MLClient.h:33
ecaldqm::MLClient
Definition:
MLClient.h:11
ecaldqm::MLClient::~MLClient
~MLClient() override
Definition:
MLClient.h:14
ecaldqm::MLClient::PUcorr_slope_
float PUcorr_slope_
Definition:
MLClient.h:28
Generated for CMSSW Reference Manual by
1.8.16