48 produces<edm::ValueMap<float>>(
"dist");
49 produces<edm::ValueMap<float>>(
"dcot");
50 produces<edm::ValueMap<float>>(
"convradius");
51 produces<edm::ValueMap<float>>(
"passConvRej");
68 float evt_bField = 3.8;
72 std::vector<float> values2;
73 std::vector<float> values3;
74 std::vector<float> values4;
79 double convradius = 0.0;
80 double passConvRej = 0.0;
86 for (probe = probes->begin(); probe != endprobes; ++probe) {
88 if (fabs(eleIt->et() - probe->et()) < 0.05 && fabs(eleIt->eta() - probe->eta()) < 0.01 &&
89 fabs(eleIt->phi() - probe->phi()) < 0.01) {
95 if (fabs(dist) > 0.02 && fabs(dcot) > 0.02)
101 values2.push_back(dcot);
102 values3.push_back(convradius);
103 values4.push_back(passConvRej);
107 auto valMap = std::make_unique<ValueMap<float>>();
114 auto valMap2 = std::make_unique<ValueMap<float>>();
116 filler2.insert(probes, values2.begin(), values2.end());
121 auto valMap3 = std::make_unique<ValueMap<float>>();
123 filler3.insert(probes, values3.begin(), values3.end());
128 auto valMap4 = std::make_unique<ValueMap<float>>();
130 filler4.insert(probes, values4.begin(), values4.end());