|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "CLHEP/Geometry/Vector3D.h"
37 const int container_index =
it->second;
38 if (container_index < 0) {
41 return (*
this)[container_index];
49 const int container_index =
it->second;
50 if (container_index < 0) {
53 return (*
this)[container_index];
63 size_t ntowers =
size();
64 for (
size_t itower = 0; itower < ntowers; itower++) {
65 const jTower * theTower = (*this)[itower];
66 int towerID = theTower->
constid();
67 int container_index = itower;
void print() const
dump (obsolete)
const LVL1::jTower * findTower(int towerID) const
fast find method given identifier.
bool fillContainerMap()
utility function to help speed up accessing towers
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
std::unordered_map< int, int > m_map_towerID_containerIndex
jTowerContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
void push_back(float eta, float phi, int towerid, int posneg, float centre_et=0.0, float centre_phi=0.0, int fcal_layer=-1)
reimplementation of const push_back
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
Helpers for checking error return status codes and reporting errors.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
The jTower class is an interface object for jFEX trigger algorithms The purposes are twofold:
void clearContainerMap()
clear map
size_type size() const noexcept
Returns the number of elements in the collection.