#include <MatrixFillMap.h>
Public Member Functions | |
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. More... | |
MatrixFillMap (int, int, const std::map< int, int > &, double, double, const std::map< int, int > &, EcalIntercalibConstantMap *, EcalIntercalibConstantMap *) | |
ctor More... | |
~MatrixFillMap () override | |
dtor More... | |
Public Member Functions inherited from VFillMap | |
VFillMap (int, int, const std::map< int, int > &, double, double, const std::map< int, int > &, EcalIntercalibConstantMap *, EcalIntercalibConstantMap *) | |
ctor More... | |
virtual | ~VFillMap () |
dtor More... | |
Private Member Functions | |
void | fillEBMap (EBDetId, const EcalRecHitCollection *, std::map< int, double > &, int, double &) |
takes care of the Barrel More... | |
void | fillEEMap (EEDetId, const EcalRecHitCollection *, std::map< int, double > &, int, double &) |
takes care of the Endcap More... | |
Additional Inherited Members | |
Public Attributes inherited from VFillMap | |
EcalIntercalibConstantMap * | m_barrelMap |
EcalIntercalibConstantMap * | m_endcapMap |
std::map< int, int > | m_IndexInRegion |
double | m_maxEnergyPerCrystal |
double | m_minEnergyPerCrystal |
int | m_recoWindowSidex |
int | m_recoWindowSidey |
std::map< int, int > | m_xtalRegionId |
Definition at line 7 of file MatrixFillMap.h.
MatrixFillMap::MatrixFillMap | ( | int | WindowX, |
int | WindowY, | ||
const std::map< int, int > & | xtalReg, | ||
double | minE, | ||
double | maxE, | ||
const std::map< int, int > & | IndexReg, | ||
EcalIntercalibConstantMap * | barrelMap, | ||
EcalIntercalibConstantMap * | endcapMap | ||
) |
ctor
Definition at line 6 of file MatrixFillMap.cc.
|
override |
|
private |
takes care of the Barrel
Definition at line 35 of file MatrixFillMap.cc.
References funct::abs(), EBDetId::ETAPHIMODE, edm::SortedCollection< T, SORT >::find(), EBDetId::ieta(), cuy::ii, EBDetId::iphi(), edm::isNotFinite(), VFillMap::m_IndexInRegion, VFillMap::m_maxEnergyPerCrystal, VFillMap::m_minEnergyPerCrystal, VFillMap::m_recoWindowSidex, VFillMap::m_recoWindowSidey, VFillMap::m_xtalRegionId, DetId::rawId(), and EBDetId::validDetId().
Referenced by fillMap().
|
private |
takes care of the Endcap
Definition at line 90 of file MatrixFillMap.cc.
References edm::SortedCollection< T, SORT >::find(), cuy::ii, edm::isNotFinite(), EEDetId::ix(), EEDetId::iy(), VFillMap::m_IndexInRegion, VFillMap::m_maxEnergyPerCrystal, VFillMap::m_minEnergyPerCrystal, VFillMap::m_recoWindowSidex, VFillMap::m_recoWindowSidey, VFillMap::m_xtalRegionId, DetId::rawId(), EEDetId::validDetId(), EEDetId::XYMODE, and EEDetId::zside().
Referenced by fillMap().
|
overridevirtual |
The Map filler.
Implements VFillMap.
Definition at line 20 of file MatrixFillMap.cc.
References EcalBarrel, EcalEndcap, fillEBMap(), fillEEMap(), VFillMap::m_xtalRegionId, Max(), DetId::rawId(), and DetId::subdetId().