Go to the documentation of this file.
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];
int ieta() const
get the crystal ieta
std::vector< EcalRecHit >::const_iterator const_iterator
constexpr bool isNotFinite(T x)
MatrixFillMap(int, int, const std::map< int, int > &, double, double, const std::map< int, int > &, EcalIntercalibConstantMap *, EcalIntercalibConstantMap *)
ctor
double m_minEnergyPerCrystal
std::map< int, int > m_xtalRegionId
std::map< int, int > m_IndexInRegion
~MatrixFillMap() override
dtor
static const int ETAPHIMODE
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.
static bool validDetId(int i, int j)
check if a valid index combination
void fillEEMap(EEDetId, const EcalRecHitCollection *, std::map< int, double > &, int, double &)
takes care of the Endcap
iterator find(key_type k)
constexpr uint32_t rawId() const
get the raw id
void fillEBMap(EBDetId, const EcalRecHitCollection *, std::map< int, double > &, int, double &)
takes care of the Barrel
double m_maxEnergyPerCrystal
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
int iphi() const
get the crystal iphi
Abs< T >::type abs(const T &t)