Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaTools
src
EGEnergySysIndex.cc
Go to the documentation of this file.
1
#include "
RecoEgamma/EgammaTools/interface/EGEnergySysIndex.h
"
2
3
namespace
{
4
std::array<std::string,EGEnergySysIndex::kNrSysErrs> makeEGEnergySysNames(){
5
std::array<std::string,EGEnergySysIndex::kNrSysErrs>
names
;
6
names[
EGEnergySysIndex::kScaleUp
] =
"energyScaleUp"
;
7
names[
EGEnergySysIndex::kScaleDown
] =
"energyScaleDown"
;
8
names[
EGEnergySysIndex::kScaleStatUp
] =
"energyScaleStatUp"
;
9
names[
EGEnergySysIndex::kScaleStatDown
] =
"energyScaleStatDown"
;
10
names[
EGEnergySysIndex::kScaleSystUp
] =
"energyScaleSystUp"
;
11
names[
EGEnergySysIndex::kScaleSystDown
] =
"energyScaleSystDown"
;
12
names[
EGEnergySysIndex::kScaleGainUp
] =
"energyScaleGainUp"
;
13
names[
EGEnergySysIndex::kScaleGainDown
] =
"energyScaleGainDown"
;
14
names[
EGEnergySysIndex::kSmearUp
] =
"energySigmaUp"
;
15
names[
EGEnergySysIndex::kSmearDown
] =
"energySigmaDown"
;
16
names[
EGEnergySysIndex::kSmearRhoUp
] =
"energySigmaRhoUp"
;
17
names[
EGEnergySysIndex::kSmearRhoDown
] =
"energySigmaRhoDown"
;
18
names[
EGEnergySysIndex::kSmearPhiUp
] =
"energySigmaPhiUp"
;
19
names[
EGEnergySysIndex::kSmearPhiDown
] =
"energySigmaPhiDown"
;
20
names[
EGEnergySysIndex::kScaleValue
] =
"energyScaleValue"
;
21
names[
EGEnergySysIndex::kSmearValue
] =
"energySigmaValue"
;
22
names[
EGEnergySysIndex::kSmearNrSigma
] =
"energySmearNrSigma"
;
23
names[
EGEnergySysIndex::kEcalPreCorr
] =
"ecalEnergyPreCorr"
;
24
names[
EGEnergySysIndex::kEcalErrPreCorr
] =
"ecalEnergyErrPreCorr"
;
25
names[
EGEnergySysIndex::kEcalPostCorr
] =
"ecalEnergyPostCorr"
;
26
names[
EGEnergySysIndex::kEcalErrPostCorr
] =
"ecalEnergyErrPostCorr"
;
27
names[
EGEnergySysIndex::kEcalTrkPreCorr
] =
"ecalTrkEnergyPreCorr"
;
28
names[
EGEnergySysIndex::kEcalTrkErrPreCorr
] =
"ecalTrkEnergyErrPreCorr"
;
29
names[
EGEnergySysIndex::kEcalTrkPostCorr
] =
"ecalTrkEnergyPostCorr"
;
30
names[
EGEnergySysIndex::kEcalTrkErrPostCorr
] =
"ecalTrkEnergyErrPostCorr"
;
31
return
names
;
32
}
33
}
34
35
36
const
std::array<std::string,EGEnergySysIndex::kNrSysErrs>
37
EGEnergySysIndex::names_
= makeEGEnergySysNames();
38
EGEnergySysIndex::kSmearPhiUp
Definition:
EGEnergySysIndex.h:22
EGEnergySysIndex::kEcalTrkPreCorr
Definition:
EGEnergySysIndex.h:35
EGEnergySysIndex::kScaleGainDown
Definition:
EGEnergySysIndex.h:19
cscdqm::h::names
static const HistoName names[]
Definition:
CSCDQM_HistoDef.h:831
EGEnergySysIndex::kSmearUp
Definition:
EGEnergySysIndex.h:26
EGEnergySysIndex::kEcalPostCorr
Definition:
EGEnergySysIndex.h:33
EGEnergySysIndex::kScaleSystUp
Definition:
EGEnergySysIndex.h:16
EGEnergySysIndex::kEcalErrPreCorr
Definition:
EGEnergySysIndex.h:32
EGEnergySysIndex::kScaleDown
Definition:
EGEnergySysIndex.h:25
EGEnergySysIndex::kEcalTrkErrPostCorr
Definition:
EGEnergySysIndex.h:38
EGEnergySysIndex::kScaleValue
Definition:
EGEnergySysIndex.h:28
EGEnergySysIndex::kEcalTrkErrPreCorr
Definition:
EGEnergySysIndex.h:36
EGEnergySysIndex::kScaleUp
Definition:
EGEnergySysIndex.h:24
EGEnergySysIndex::kScaleStatUp
Definition:
EGEnergySysIndex.h:14
EGEnergySysIndex::kScaleSystDown
Definition:
EGEnergySysIndex.h:17
EGEnergySysIndex::kSmearNrSigma
Definition:
EGEnergySysIndex.h:30
EGEnergySysIndex::kEcalTrkPostCorr
Definition:
EGEnergySysIndex.h:37
EGEnergySysIndex::names_
static const std::array< std::string, kNrSysErrs > names_
Definition:
EGEnergySysIndex.h:45
EGEnergySysIndex::kSmearRhoUp
Definition:
EGEnergySysIndex.h:20
EGEnergySysIndex.h
EGEnergySysIndex::kScaleStatDown
Definition:
EGEnergySysIndex.h:15
EGEnergySysIndex::kSmearPhiDown
Definition:
EGEnergySysIndex.h:23
EGEnergySysIndex::kEcalErrPostCorr
Definition:
EGEnergySysIndex.h:34
EGEnergySysIndex::kEcalPreCorr
Definition:
EGEnergySysIndex.h:31
EGEnergySysIndex::kScaleGainUp
Definition:
EGEnergySysIndex.h:18
EGEnergySysIndex::kSmearRhoDown
Definition:
EGEnergySysIndex.h:21
EGEnergySysIndex::kSmearDown
Definition:
EGEnergySysIndex.h:27
EGEnergySysIndex::kSmearValue
Definition:
EGEnergySysIndex.h:29
Generated for CMSSW Reference Manual by
1.8.11