#include <HGCalTowerMap.h>
Public Member Functions | |
bool | addEt (short bin_id, 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 |
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 | ( | short | bin_id, |
float | etEm, | ||
float | etHad | ||
) |
Definition at line 33 of file HGCalTowerMap.cc.
References towerMap_.
Referenced by layer().
|
inline |
Definition at line 21 of file HGCalTowerMap.h.
References addEt(), layer_, genParticles_cff::map, and operator+=().
Referenced by HGCalTowerMap3DImpl::buildTowerMap3D(), HGCalTowerMap(), 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, nTowers(), edm::errors::StdException, towerMap_, and towers().
Referenced by layer().
|
inline |
Definition at line 28 of file HGCalTowerMap.h.
References towerMap_.
Referenced by HGCalTowerMap3DImpl::buildTowerMap3D(), and operator+=().
|
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().