7 std::map<int,int> xtalReg,
10 std::map<int,int> IndexReg,
13 VFillMap (WindowX,WindowY,xtalReg,minE,
29 std::map<int,double> & xtlMap,
32 for (std::vector<std::pair<DetId,float> >::const_iterator idsIt = v1.begin();
41 itrechit=barrelHitsCollection->
find(idsIt->first);
42 dummy=itrechit->energy();
43 dummy*= (*m_barrelMap)[idsIt->first];
46 itrechit=endcapHitsCollection->
find(idsIt->first);
47 dummy=itrechit->energy();
48 dummy*= (*m_endcapMap)[idsIt->first];
50 int ID=idsIt->first.rawId();
61 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< T >::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)