8 const std::map<int, int>& xtalReg,
11 const std::map<int, int>& IndexReg,
14 :
VFillMap(WindowX, WindowY, xtalReg, minE,
maxE, IndexReg, barrelMap, endcapMap)
24 std::map<int, double>& xtlMap,
26 for (
std::vector<std::pair<DetId, float> >::const_iterator idsIt = v1.begin(); idsIt != v1.end(); ++idsIt) {
31 itrechit = barrelHitsCollection->
find(idsIt->first);
32 dummy = itrechit->energy();
33 dummy *= (*m_barrelMap)[idsIt->first];
34 }
else if (idsIt->first.subdetId() ==
EcalEndcap) {
35 itrechit = endcapHitsCollection->
find(idsIt->first);
36 dummy = itrechit->energy();
37 dummy *= (*m_endcapMap)[idsIt->first];
47 int ID = idsIt->first.rawId();