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,
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,
105 double dummy = curr_recHit->energy();
114 dummy *= (*m_endcapMap)[det];
double m_maxEnergyPerCrystal
constexpr bool isNotFinite(T x)
int iphi() const
get the crystal iphi
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 ieta() const
get the crystal ieta
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.
Abs< T >::type abs(const T &t)
static const int ETAPHIMODE
constexpr uint32_t rawId() const
get the raw id
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