64 produces<CaloTowerCollection>();
96 for (reco::PFCandidateCollection::const_iterator ci = inputsHandle->begin(); ci != inputsHandle->end(); ++ci) {
102 double eta = particle.
eta();
118 else if (fabs(
eta) < 3.)
148 auto prod = std::make_unique<CaloTowerCollection>();
150 for (std::map<DetId, double>::const_iterator iter =
towers_.begin(); iter !=
towers_.end(); ++iter) {
153 double et = iter->second;
166 prod->push_back(newTower);
192 const double etatow[42] = {0.000, 0.087, 0.174, 0.261, 0.348, 0.435, 0.522, 0.609, 0.696, 0.783, 0.870,
193 0.957, 1.044, 1.131, 1.218, 1.305, 1.392, 1.479, 1.566, 1.653, 1.740, 1.830,
194 1.930, 2.043, 2.172, 2.322, 2.500, 2.650, 2.853, 3.000, 3.139, 3.314, 3.489,
195 3.664, 3.839, 4.013, 4.191, 4.363, 4.538, 4.716, 4.889, 5.191};
243 for (
int i = 1;
i < 30;
i++) {
249 for (
int i = 30;
i < 42;
i++) {
262 for (std::vector<DetId>::const_iterator did = alldid.begin(); did != alldid.end(); did++) {
265 if (hid.
depth() == 1) {
269 if (fabs(
pos.eta()) > 3.)
292 double eta =
in.eta();
293 double phi =
in.phi();
303 for (std::vector<DetId>::const_iterator did = alldid.begin(); did != alldid.end(); did++) {
309 if (hid.
depth() != 1)
314 double hcalEta =
pos.eta();
315 double hcalPhi =
pos.phi();
324 double towersize = 0.087;
355 returnId =
DetId(*did);
378 for (std::vector<DetId>::const_iterator did = alldid.begin(); did != alldid.end(); did++) {
384 if (hid.
depth() != 1)
389 double hcalEta =
pos.eta();
390 double hcalPhi =
pos.phi();
399 double towersize = 0.087;
430 returnId =
DetId(*did);
453 double x = fabs(
eta);
460 for (iter = 0; iter <
size; iter++) {
461 if (curr >=
size || curr < 1)
462 std::cout <<
" ParticleTowerProducer::eta2ieta - wrong current index = " << curr <<
" !!!" << std::endl;
472 if (prevdir * actudir < 0) {
476 curr += actudir *
step;
504 else if (
phi > 2. *
PI)