26 conf.getParameter<
std::
vector<double> >(
"EBGrid"),
27 conf.getParameter<
std::
vector<double> >(
"EBWeights"),
28 conf.getParameter<
std::
vector<double> >(
"EEGrid"),
29 conf.getParameter<
std::
vector<double> >(
"EEWeights"),
30 conf.getParameter<
std::
vector<double> >(
"HBGrid"),
31 conf.getParameter<
std::
vector<double> >(
"HBWeights"),
32 conf.getParameter<
std::
vector<double> >(
"HESGrid"),
33 conf.getParameter<
std::
vector<double> >(
"HESWeights"),
34 conf.getParameter<
std::
vector<double> >(
"HEDGrid"),
35 conf.getParameter<
std::
vector<double> >(
"HEDWeights"),
36 conf.getParameter<
std::
vector<double> >(
"HOGrid"),
37 conf.getParameter<
std::
vector<double> >(
"HOWeights"),
38 conf.getParameter<
std::
vector<double> >(
"HF1Grid"),
39 conf.getParameter<
std::
vector<double> >(
"HF1Weights"),
40 conf.getParameter<
std::
vector<double> >(
"HF2Grid"),
41 conf.getParameter<
std::
vector<double> >(
"HF2Weights"),
42 conf.getParameter<double>(
"EBWeight"),
43 conf.getParameter<double>(
"EEWeight"),
44 conf.getParameter<double>(
"HBWeight"),
45 conf.getParameter<double>(
"HESWeight"),
46 conf.getParameter<double>(
"HEDWeight"),
47 conf.getParameter<double>(
"HOWeight"),
48 conf.getParameter<double>(
"HF1Weight"),
49 conf.getParameter<double>(
"HF2Weight"),
53 conf.getParameter<
bool>(
"UseHO"),
55 conf.getParameter<
int>(
"MomConstrMethod"),
56 conf.getParameter<double>(
"MomHBDepth"),
57 conf.getParameter<double>(
"MomHEDepth"),
58 conf.getParameter<double>(
"MomEBDepth"),
59 conf.getParameter<double>(
"MomEEDepth"),
60 conf.getParameter<
int>(
"HcalPhase")),
61 allowMissingInputs_(
false) {
63 tok_geom_ = esConsumes<CaloGeometry, CaloGeometryRecord>();
64 tok_topo_ = esConsumes<HcalTopology, HcalRecNumberingRecord>();
65 tok_cttopo_ = esConsumes<CaloTowerTopology, HcalRecNumberingRecord>();
66 tok_ctmap_ = esConsumes<CaloTowerConstituentsMap, CaloGeometryRecord>();
80 produces<CaloTowerCollection>();
118 auto prod = std::make_unique<CaloTowerCollection>();
130 desc.add<
double>(
"EBWeight", 1.0);
131 desc.add<
double>(
"HBEScale", 50.0);
132 desc.add<
double>(
"HEDWeight", 1.0);
133 desc.add<
double>(
"EEWeight", 1.0);
134 desc.add<
double>(
"HF1Weight", 1.0);
135 desc.add<
double>(
"HOWeight", 1.0);
136 desc.add<
double>(
"HESWeight", 1.0);
137 desc.add<
double>(
"HF2Weight", 1.0);
138 desc.add<
double>(
"HESEScale", 50.0);
139 desc.add<
double>(
"HEDEScale", 50.0);
140 desc.add<
double>(
"EBEScale", 50.0);
141 desc.add<
double>(
"HBWeight", 1.0);
142 desc.add<
double>(
"EEEScale", 50.0);
143 desc.add<
double>(
"MomHBDepth", 0.2);
144 desc.add<
double>(
"MomHEDepth", 0.4);
145 desc.add<
double>(
"MomEBDepth", 0.3);
146 desc.add<
double>(
"MomEEDepth", 0.0);
147 desc.add<std::vector<double> >(
"HBGrid", {0.0, 2.0, 4.0, 5.0, 9.0, 20.0, 30.0, 50.0, 100.0, 1000.0});
148 desc.add<std::vector<double> >(
"EEWeights", {0.51, 1.39, 1.71, 2.37, 2.32, 2.2, 2.1, 1.98, 1.8});
149 desc.add<std::vector<double> >(
"HF2Weights", {1.0, 1.0, 1.0, 1.0, 1.0});
150 desc.add<std::vector<double> >(
"HOWeights", {1.0, 1.0, 1.0, 1.0, 1.0});
151 desc.add<std::vector<double> >(
"EEGrid", {2.0, 4.0, 5.0, 9.0, 20.0, 30.0, 50.0, 100.0, 300.0});
152 desc.add<std::vector<double> >(
"HBWeights", {2.0, 1.86, 1.69, 1.55, 1.37, 1.19, 1.13, 1.11, 1.09, 1.0});
153 desc.add<std::vector<double> >(
"HF2Grid", {-1.0, 1.0, 10.0, 100.0, 1000.0});
154 desc.add<std::vector<double> >(
"HEDWeights", {1.7, 1.57, 1.54, 1.49, 1.41, 1.26, 1.19, 1.15, 1.12, 1.0});
155 desc.add<std::vector<double> >(
"HF1Grid", {-1.0, 1.0, 10.0, 100.0, 1000.0});
156 desc.add<std::vector<double> >(
"EBWeights", {0.86, 1.47, 1.66, 2.01, 1.98, 1.86, 1.83, 1.74, 1.65});
157 desc.add<std::vector<double> >(
"HF1Weights", {1.0, 1.0, 1.0, 1.0, 1.0});
158 desc.add<std::vector<double> >(
"HESGrid", {0.0, 2.0, 4.0, 5.0, 9.0, 20.0, 30.0, 50.0, 100.0, 1000.0});
159 desc.add<std::vector<double> >(
"HESWeights", {1.7, 1.57, 1.54, 1.49, 1.41, 1.26, 1.19, 1.15, 1.12, 1.0});
160 desc.add<std::vector<double> >(
"HEDGrid", {0.0, 2.0, 4.0, 5.0, 9.0, 20.0, 30.0, 50.0, 100.0, 1000.0});
161 desc.add<std::vector<double> >(
"HOGrid", {-1.0, 1.0, 10.0, 100.0, 1000.0});
162 desc.add<std::vector<double> >(
"EBGrid", {2.0, 4.0, 5.0, 9.0, 20.0, 30.0, 50.0, 100.0, 300.0});
164 desc.add<
int>(
"MomConstrMethod", 1);
165 desc.add<
int>(
"HcalPhase", 0);