8 const std::map<int,int>& xtalReg,
11 const std::map<int,int>& IndexReg,
14 VFillMap (WindowX,WindowY,xtalReg,minE,
30 std::map<int,double> & xtlMap,
33 for (std::vector<std::pair<DetId,float> >::const_iterator idsIt = v1.begin();
42 itrechit=barrelHitsCollection->
find(idsIt->first);
43 dummy=itrechit->energy();
44 dummy*= (*m_barrelMap)[idsIt->first];
47 itrechit=endcapHitsCollection->
find(idsIt->first);
48 dummy=itrechit->energy();
49 dummy*= (*m_endcapMap)[idsIt->first];
51 int ID=idsIt->first.rawId();
62 else pSubtract +=dummy;
double m_maxEnergyPerCrystal
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
std::map< int, int > m_xtalRegionId
iterator find(key_type k)
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.