DQM
SiStripCommissioningSummary
src
CommissioningSummaryFactory.cc
Go to the documentation of this file.
1
#include "
DQM/SiStripCommissioningSummary/interface/CommissioningSummaryFactory.h
"
2
#include "
CondFormats/SiStripObjects/interface/CommissioningAnalysis.h
"
3
4
// -----------------------------------------------------------------------------
5
//
6
uint32_t
SummaryPlotFactory<CommissioningAnalysis*>::init
(
const
sistrip::Monitorable
&
mon
,
7
const
sistrip::Presentation
& pres,
8
const
sistrip::View
& view,
9
const
std::string
&
level
,
10
const
sistrip::Granularity
& gran,
11
const
std::map<uint32_t, CommissioningAnalysis*>&
data
) {
12
// initialisation
13
SummaryPlotFactoryBase::init
(
mon
, pres, view,
level
, gran);
14
15
// check if generator object exists
16
if
(!
SummaryPlotFactoryBase::generator_
) {
17
return
0;
18
}
19
20
// extract monitorables and populate map
21
std::map<uint32_t, CommissioningAnalysis*>::const_iterator iter =
data
.begin();
22
for
(; iter !=
data
.end(); iter++) {
23
extract
(iter);
24
}
25
26
return
SummaryPlotFactoryBase::generator_
->
nBins
();
27
}
28
29
// -----------------------------------------------------------------------------
30
//
31
void
SummaryPlotFactory<CommissioningAnalysis*>::fill
(TH1& summary_histo) {
32
// fill histogram
33
SummaryPlotFactoryBase::fill
(summary_histo);
34
35
// check if generator object exists
36
if
(!
SummaryPlotFactoryBase::generator_
) {
37
return
;
38
}
39
40
// format histo
41
format
();
42
}
personalPlayback.level
level
Definition:
personalPlayback.py:22
sistrip::Granularity
Granularity
Definition:
ConstantsForGranularity.h:60
CommissioningAnalysis.h
sistrip::View
View
Definition:
ConstantsForView.h:26
SummaryPlotFactoryBase::fill
void fill(TH1 &summary_histo)
Definition:
SummaryPlotFactoryBase.cc:99
SummaryPlotFactory::init
uint32_t init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &, const std::map< uint32_t, T > &data)
Definition:
SummaryPlotFactory.cc:10
SummaryPlotFactory::fill
void fill(TH1 &summary_histo)
Definition:
SummaryPlotFactory.cc:36
sistrip::Monitorable
Monitorable
Definition:
ConstantsForMonitorable.h:200
dqm-mbProfile.format
format
Definition:
dqm-mbProfile.py:16
SummaryPlotFactoryBase::init
void init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
Definition:
SummaryPlotFactoryBase.cc:31
sistrip::Presentation
Presentation
Definition:
ConstantsForPresentation.h:28
LaserDQM_cfi.mon
mon
Definition:
LaserDQM_cfi.py:3
SummaryPlotFactoryBase::generator_
SummaryGenerator * generator_
Definition:
SummaryPlotFactoryBase.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CommissioningSummaryFactory.h
extract
int extract(std::vector< int > *output, const std::string &dati)
Definition:
InvMatrixUtils.cc:251
SummaryGenerator::nBins
uint32_t nBins() const
Definition:
SummaryGenerator.h:134
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
Generated for CMSSW Reference Manual by
1.8.16