DQM
SiStripCommissioningAnalysis
src
CommissioningAlgorithm.cc
Go to the documentation of this file.
1
#include "
DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h
"
2
#include "
CondFormats/SiStripObjects/interface/CommissioningAnalysis.h
"
3
#include "
DataFormats/SiStripCommon/interface/SiStripHistoTitle.h
"
4
#include "
DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h
"
5
#include "
DataFormats/SiStripCommon/interface/SiStripConstants.h
"
6
#include "TProfile.h"
7
#include <iomanip>
8
9
// ----------------------------------------------------------------------------
10
//
11
CommissioningAlgorithm::CommissioningAlgorithm
(
CommissioningAnalysis
*
const
anal
) : anal_(
anal
) { ; }
12
13
// ----------------------------------------------------------------------------
14
//
15
CommissioningAlgorithm::CommissioningAlgorithm
() : anal_(nullptr) { ; }
16
17
// ----------------------------------------------------------------------------
18
//
19
void
CommissioningAlgorithm::analysis
(
const
std::vector<TH1*>&
histos
) {
20
if
(
anal_
) {
21
anal
()->
reset
();
22
}
23
extract
(
histos
);
24
analyse
();
25
}
26
27
// ----------------------------------------------------------------------------
28
//
29
uint32_t
CommissioningAlgorithm::extractFedKey
(
const
TH1*
const
his) {
30
SiStripHistoTitle
title
(his->GetName());
31
return
title
.keyValue();
32
}
runGCPTkAlMap.title
string title
Definition:
runGCPTkAlMap.py:94
CommissioningAlgorithm::extractFedKey
uint32_t extractFedKey(const TH1 *const)
Definition:
CommissioningAlgorithm.cc:29
CommissioningAnalysis.h
CommissioningAlgorithm::anal_
CommissioningAnalysis * anal_
Definition:
CommissioningAlgorithm.h:45
CommissioningAlgorithm::anal
CommissioningAnalysis *const anal() const
Definition:
CommissioningAlgorithm.h:50
SiStripConstants.h
CommissioningAlgorithm::CommissioningAlgorithm
CommissioningAlgorithm()
Definition:
CommissioningAlgorithm.cc:15
CommissioningAlgorithm::extract
virtual void extract(const std::vector< TH1 * > &)=0
combine.histos
histos
Definition:
combine.py:4
CommissioningAnalysis
Abstract base for derived classes that provide analysis of commissioning histograms.
Definition:
CommissioningAnalysis.h:18
CommissioningAlgorithm::analysis
void analysis(const std::vector< TH1 * > &)
Definition:
CommissioningAlgorithm.cc:19
SiStripEnumsAndStrings.h
SiStripHistoTitle.h
SiStripHistoTitle
Utility class that holds histogram title.
Definition:
SiStripHistoTitle.h:20
conversion_template_cfg.anal
anal
Definition:
conversion_template_cfg.py:16
CommissioningAnalysis::reset
virtual void reset()=0
CommissioningAlgorithm::analyse
virtual void analyse()=0
CommissioningAlgorithm.h
Generated for CMSSW Reference Manual by
1.8.16