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
}
// namespace
34
35
const
std::array<std::string, EGEnergySysIndex::kNrSysErrs>
EGEnergySysIndex::names_
= makeEGEnergySysNames();
EGEnergySysIndex::kSmearPhiUp
Definition:
EGEnergySysIndex.h:24
EGEnergySysIndex::kEcalTrkPreCorr
Definition:
EGEnergySysIndex.h:37
EGEnergySysIndex::kScaleGainDown
Definition:
EGEnergySysIndex.h:21
EGEnergySysIndex::kSmearUp
Definition:
EGEnergySysIndex.h:28
EGEnergySysIndex::kEcalPostCorr
Definition:
EGEnergySysIndex.h:35
EGEnergySysIndex::kScaleSystUp
Definition:
EGEnergySysIndex.h:18
EGEnergySysIndex::kEcalErrPreCorr
Definition:
EGEnergySysIndex.h:34
EGEnergySysIndex::kScaleDown
Definition:
EGEnergySysIndex.h:27
EGEnergySysIndex::kEcalTrkErrPostCorr
Definition:
EGEnergySysIndex.h:40
EGEnergySysIndex::kScaleValue
Definition:
EGEnergySysIndex.h:30
EGEnergySysIndex::kEcalTrkErrPreCorr
Definition:
EGEnergySysIndex.h:38
EGEnergySysIndex::kScaleUp
Definition:
EGEnergySysIndex.h:26
EGEnergySysIndex::kScaleStatUp
Definition:
EGEnergySysIndex.h:16
EGEnergySysIndex::kScaleSystDown
Definition:
EGEnergySysIndex.h:19
EGEnergySysIndex::kSmearNrSigma
Definition:
EGEnergySysIndex.h:32
names
const std::string names[nVars_]
Definition:
PhotonIDValueMapProducer.cc:124
EGEnergySysIndex::kEcalTrkPostCorr
Definition:
EGEnergySysIndex.h:39
EGEnergySysIndex::names_
static const std::array< std::string, kNrSysErrs > names_
Definition:
EGEnergySysIndex.h:47
EGEnergySysIndex::kSmearRhoUp
Definition:
EGEnergySysIndex.h:22
EGEnergySysIndex.h
EGEnergySysIndex::kScaleStatDown
Definition:
EGEnergySysIndex.h:17
EGEnergySysIndex::kSmearPhiDown
Definition:
EGEnergySysIndex.h:25
EGEnergySysIndex::kEcalErrPostCorr
Definition:
EGEnergySysIndex.h:36
EGEnergySysIndex::kEcalPreCorr
Definition:
EGEnergySysIndex.h:33
EGEnergySysIndex::kScaleGainUp
Definition:
EGEnergySysIndex.h:20
EGEnergySysIndex::kSmearRhoDown
Definition:
EGEnergySysIndex.h:23
EGEnergySysIndex::kSmearDown
Definition:
EGEnergySysIndex.h:29
EGEnergySysIndex::kSmearValue
Definition:
EGEnergySysIndex.h:31
Generated for CMSSW Reference Manual by
1.8.14