#include <EcalTrigTowerConstituentsMap.h>
Classes | |
struct | MapItem |
Public Member Functions | |
void | assign (const DetId &cell, const EcalTrigTowerDetId &tower) |
set the association between a DetId and a tower More... | |
std::vector< DetId > | constituentsOf (const EcalTrigTowerDetId &id) const |
Get the constituent detids for this tower id. More... | |
EcalTrigTowerConstituentsMap () | |
EcalTrigTowerDetId | towerOf (const DetId &id) const |
Get the tower id for this det id (or null if not known) More... | |
Private Types | |
typedef boost::multi_index_container < MapItem, boost::multi_index::indexed_by < boost::multi_index::ordered_unique < boost::multi_index::member < MapItem, DetId,&MapItem::cell > >, boost::multi_index::ordered_non_unique < boost::multi_index::member < MapItem, EcalTrigTowerDetId,&MapItem::tower > > > > | EcalTowerMap |
typedef EcalTowerMap::nth_index < 0 >::type | EcalTowerMap_by_DetId |
typedef EcalTowerMap::nth_index < 1 >::type | EcalTowerMap_by_towerDetId |
Private Member Functions | |
DetId | changeEEDetIdQuadrantAndZ (const DetId &fromid, const int &toQuadrant, const int &tozside) const |
int | changeTowerQuadrant (int phiTower, int fromQuadrant, int toQuadrant) const |
DetId | wrapEcalTrigTowerDetId (const DetId &id) const |
Wrap a generic EcalTrigTowerDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2) More... | |
DetId | wrapEEDetId (const DetId &id) const |
Wrap a generic EEDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2) More... | |
Private Attributes | |
EcalTowerMap | m_items |
Definition at line 19 of file EcalTrigTowerConstituentsMap.h.
|
private |
Definition at line 57 of file EcalTrigTowerConstituentsMap.h.
|
private |
Definition at line 59 of file EcalTrigTowerConstituentsMap.h.
|
private |
Definition at line 60 of file EcalTrigTowerConstituentsMap.h.
EcalTrigTowerConstituentsMap::EcalTrigTowerConstituentsMap | ( | ) |
Definition at line 9 of file EcalTrigTowerConstituentsMap.cc.
void EcalTrigTowerConstituentsMap::assign | ( | const DetId & | cell, |
const EcalTrigTowerDetId & | tower | ||
) |
set the association between a DetId and a tower
Definition at line 159 of file EcalTrigTowerConstituentsMap.cc.
Referenced by EcalTrigTowerConstituentsMapBuilder::parseTextMap().
|
private |
Definition at line 102 of file EcalTrigTowerConstituentsMap.cc.
|
private |
Definition at line 132 of file EcalTrigTowerConstituentsMap.cc.
std::vector< DetId > EcalTrigTowerConstituentsMap::constituentsOf | ( | const EcalTrigTowerDetId & | id | ) | const |
Get the constituent detids for this tower id.
Definition at line 167 of file EcalTrigTowerConstituentsMap.cc.
EcalTrigTowerDetId EcalTrigTowerConstituentsMap::towerOf | ( | const DetId & | id | ) | const |
Get the tower id for this det id (or null if not known)
Definition at line 13 of file EcalTrigTowerConstituentsMap.cc.
Wrap a generic EcalTrigTowerDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2)
Definition at line 74 of file EcalTrigTowerConstituentsMap.cc.
Wrap a generic EEDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2)
Definition at line 46 of file EcalTrigTowerConstituentsMap.cc.
|
private |
Definition at line 62 of file EcalTrigTowerConstituentsMap.h.