8 std::map<int,int> xtalReg,
11 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
void fillMap(const std::vector< std::pair< DetId, float > > &, const DetId, const EcalRecHitCollection *, const EcalRecHitCollection *, std::map< int, double > &xtlMap, double &)
Fills the map.
std::vector< EcalRecHit >::const_iterator const_iterator
std::map< int, int > m_IndexInRegion
ClusterFillMap(int, int, std::map< int, int >, double, double, std::map< int, int >, EcalIntercalibConstantMap *, EcalIntercalibConstantMap *)
ctor
uint32_t rawId() const
get the raw id
double m_minEnergyPerCrystal
std::map< int, int > m_xtalRegionId
iterator find(key_type k)