#include <HGCalTowerMap2DImpl.h>
Public Member Functions | |
void | buildTowerMap2D (const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> &triggerCellsPtrs, l1t::HGCalTowerMapBxCollection &towermaps) |
void | eventSetup (const edm::EventSetup &es) |
HGCalTowerMap2DImpl (const edm::ParameterSet &conf) | |
void | resetTowerMaps () |
Private Member Functions | |
std::vector< l1t::HGCalTowerMap > | newTowerMaps () |
Private Attributes | |
std::vector< double > | etaBins_ |
std::vector< double > | layerWeights_ |
int | nEtaBins_ |
int | nPhiBins_ |
std::vector< double > | phiBins_ |
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 14 of file HGCalTowerMap2DImpl.cc.
References edm::errors::Configuration, PVValHelper::eta, etaBins_, Exception, createfilelist::int, nEtaBins_, newTowerMaps(), nPhiBins_, phi, and phiBins_.
void HGCalTowerMap2DImpl::buildTowerMap2D | ( | const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> & | triggerCellsPtrs, |
l1t::HGCalTowerMapBxCollection & | towermaps | ||
) |
Definition at line 68 of file HGCalTowerMap2DImpl.cc.
References mps_fire::i, HGCalTriggerTools::lastLayerBH(), HGCalTriggerTools::lastLayerEE(), layerWeights_, HGCalTriggerTools::layerWithOffset(), newTowerMaps(), p4, BXVector< T >::resize(), BXVector< T >::set(), l1t::HGCalTower::setEtEm(), l1t::HGCalTower::setEtHad(), l1t::L1Candidate::setHwEta(), l1t::L1Candidate::setHwPhi(), reco::LeafCandidate::setP4(), triggerTools_, and useLayerWeights_.
|
inline |
Definition at line 26 of file HGCalTowerMap2DImpl.h.
References HGCalTriggerTools::eventSetup(), and triggerTools_.
|
private |
Definition at line 46 of file HGCalTowerMap2DImpl.cc.
References etaBins_, HGCalTriggerTools::lastLayerBH(), genParticles_cff::map, SiStripPI::max, nEtaBins_, nPhiBins_, phiBins_, and triggerTools_.
Referenced by buildTowerMap2D(), and HGCalTowerMap2DImpl().
void HGCalTowerMap2DImpl::resetTowerMaps | ( | ) |
|
private |
Definition at line 36 of file HGCalTowerMap2DImpl.h.
Referenced by HGCalTowerMap2DImpl(), and newTowerMaps().
|
private |
Definition at line 40 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D().
|
private |
Definition at line 34 of file HGCalTowerMap2DImpl.h.
Referenced by HGCalTowerMap2DImpl(), and newTowerMaps().
|
private |
Definition at line 35 of file HGCalTowerMap2DImpl.h.
Referenced by HGCalTowerMap2DImpl(), and newTowerMaps().
|
private |
Definition at line 37 of file HGCalTowerMap2DImpl.h.
Referenced by HGCalTowerMap2DImpl(), and newTowerMaps().
|
private |
Definition at line 41 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D(), eventSetup(), and newTowerMaps().
|
private |
Definition at line 39 of file HGCalTowerMap2DImpl.h.
Referenced by buildTowerMap2D().