#include <HGCalTowerMap.h>
Public Member Functions | |
bool | addEt (const std::unordered_map< unsigned short, float > &towerIDandShares, float etEm, float etHad) |
HGCalTowerMap () | |
HGCalTowerMap (const std::vector< l1t::HGCalTowerCoord > &tower_ids, const int layer) | |
int | layer () const |
unsigned | nTowers () const |
const HGCalTowerMap & | operator+= (const HGCalTowerMap &map) |
const std::unordered_map< unsigned short, l1t::HGCalTower > & | towers () const |
Private Attributes | |
unsigned | layer_ |
std::unordered_map< unsigned short, l1t::HGCalTower > | towerMap_ |
Definition at line 15 of file HGCalTowerMap.h.
|
inline |
Definition at line 17 of file HGCalTowerMap.h.
HGCalTowerMap::HGCalTowerMap | ( | const std::vector< l1t::HGCalTowerCoord > & | tower_ids, |
const int | layer = 0 |
||
) |
Definition at line 8 of file HGCalTowerMap.cc.
References towerMap_.
bool HGCalTowerMap::addEt | ( | const std::unordered_map< unsigned short, float > & | towerIDandShares, |
float | etEm, | ||
float | etHad | ||
) |
Definition at line 33 of file HGCalTowerMap.cc.
References towerMap_.
|
inline |
Definition at line 21 of file HGCalTowerMap.h.
References layer_.
Referenced by HGCalTowerMap3DImpl::buildTowerMap3D(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
Definition at line 27 of file HGCalTowerMap.h.
References towerMap_.
Referenced by operator+=().
const HGCalTowerMap & HGCalTowerMap::operator+= | ( | const HGCalTowerMap & | map | ) |
Definition at line 14 of file HGCalTowerMap.cc.
References Exception, genParticles_cff::map, nTowers(), edm::errors::StdException, l1tHGCalTowerProducer_cfi::tower, and towerMap_.
|
inline |
Definition at line 28 of file HGCalTowerMap.h.
References towerMap_.
Referenced by HGCalTowerMap3DImpl::buildTowerMap3D().
|
private |
Definition at line 32 of file HGCalTowerMap.h.
Referenced by layer().
|
private |
Definition at line 31 of file HGCalTowerMap.h.
Referenced by addEt(), HGCalTowerMap(), nTowers(), operator+=(), and towers().