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();
double m_maxEnergyPerCrystal
constexpr bool isNotFinite(T x)
constexpr uint32_t rawId() const
get the raw id
std::vector< EcalRecHit >::const_iterator const_iterator
ClusterFillMap(int, int, const std::map< int, int > &, double, double, const std::map< int, int > &, EcalIntercalibConstantMap *, EcalIntercalibConstantMap *)
ctor
std::map< int, int > m_IndexInRegion
double m_minEnergyPerCrystal
~ClusterFillMap() override
dtor
iterator find(key_type k)
std::map< int, int > m_xtalRegionId
void fillMap(const std::vector< std::pair< DetId, float > > &, const DetId, const EcalRecHitCollection *, const EcalRecHitCollection *, std::map< int, double > &xtlMap, double &) override
Fills the map.