#include <HGCalTowerMap2DImpl.h>
Public Member Functions | |
template<class T > | |
void | buildTowerMap2D (const std::vector< edm::Ptr< T >> &ptrs, l1t::HGCalTowerMapBxCollection &towerMaps) |
HGCalTowerMap2DImpl (const edm::ParameterSet &conf) | |
void | resetTowerMaps () |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
Private Member Functions | |
std::unordered_map< int, l1t::HGCalTowerMap > | newTowerMaps () |
Private Attributes | |
std::vector< double > | layerWeights_ |
HGCalTriggerTowerGeometryHelper | towerGeometryHelper_ |
HGCalTriggerTools | triggerTools_ |
bool | useLayerWeights_ |
Description: first iteration of HGCal Tower Maps
Definition at line 13 of file HGCalTowerMap2DImpl.h.
HGCalTowerMap2DImpl::HGCalTowerMap2DImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 13 of file HGCalTowerMap2DImpl.cc.
|
inline |
Definition at line 20 of file HGCalTowerMap2DImpl.h.
References Exception, HGCalTriggerTowerGeometryHelper::getTriggerTower(), mps_fire::i, HGCalTriggerTools::isNose(), HGCalTriggerTools::lastLayerEE(), nano_mu_digi_cff::layer, layerWeights_, HGCalTriggerTools::layerWithOffset(), newTowerMaps(), BXVector< T >::resize(), BXVector< T >::set(), towerGeometryHelper_, triggerTools_, and useLayerWeights_.
|
private |
Definition at line 18 of file HGCalTowerMap2DImpl.cc.
References HGCalTriggerTowerGeometryHelper::getTowerCoordinates(), HGCalTriggerTowerGeometryHelper::isNose(), HGCalTriggerTools::lastLayer(), HGCalTriggerTools::lastLayerEE(), nano_mu_digi_cff::layer, towerGeometryHelper_, and triggerTools_.
Referenced by buildTowerMap2D().
void HGCalTowerMap2DImpl::resetTowerMaps | ( | ) |
|
inline |
Definition at line 51 of file HGCalTowerMap2DImpl.h.
References relativeConstraints::geom, HGCalTriggerTowerGeometryHelper::setGeometry(), HGCalTriggerTools::setGeometry(), towerGeometryHelper_, and triggerTools_.
|
private |
Definition at line 58 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D().
|
private |
Definition at line 62 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D(), newTowerMaps(), and setGeometry().
|
private |
Definition at line 59 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D(), newTowerMaps(), and setGeometry().
|
private |
Definition at line 57 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D().