8 const std::map<int, int>& xtalReg,
11 const std::map<int, int>& IndexReg,
16 VFillMap(WindowX, WindowY, xtalReg, minE, maxE, IndexReg, barrelMap, endcapMap) {}
24 std::map<int, double>& xtlMap,
37 std::map<int, double>& EBRegionMap,
45 curr_eta = EBmax.
ieta() +
ii - (m_recoWindowSidex / 2);
46 curr_phi = EBmax.
iphi() + ij - (m_recoWindowSidey / 2);
48 if (
abs(curr_eta) > 85)
51 if (curr_eta * EBmax.
ieta() <= 0) {
69 dummy = curr_recHit->energy();
79 dummy *= (*m_barrelMap)[det];
92 std::map<int, double>& EExtlMap,
100 curr_x = EEmax.
ix() - m_recoWindowSidex / 2 +
ii;
101 curr_y = EEmax.
iy() - m_recoWindowSidey / 2 + ij;
105 double dummy = curr_recHit->energy();
114 dummy *= (*m_endcapMap)[det];
double m_maxEnergyPerCrystal
constexpr bool isNotFinite(T x)
constexpr uint32_t rawId() const
get the raw id
std::vector< EcalRecHit >::const_iterator const_iterator
std::map< int, int > m_IndexInRegion
void fillEBMap(EBDetId, const EcalRecHitCollection *, std::map< int, double > &, int, double &)
takes care of the Barrel
static bool validDetId(int i, int j)
check if a valid index combination
int iphi() const
get the crystal iphi
double m_minEnergyPerCrystal
void fillEEMap(EEDetId, const EcalRecHitCollection *, std::map< int, double > &, int, double &)
takes care of the Endcap
MatrixFillMap(int, int, const std::map< int, int > &, double, double, const std::map< int, int > &, EcalIntercalibConstantMap *, EcalIntercalibConstantMap *)
ctor
void fillMap(const std::vector< std::pair< DetId, float > > &, const DetId, const EcalRecHitCollection *, const EcalRecHitCollection *, std::map< int, double > &xtlMap, double &) override
The Map filler.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
Abs< T >::type abs(const T &t)
int ieta() const
get the crystal ieta
static const int ETAPHIMODE
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
iterator find(key_type k)
std::map< int, int > m_xtalRegionId
~MatrixFillMap() override
dtor