|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef GTOWERCONTAINER_H
14 #define GTOWERCONTAINER_H
47 void push_back(
int eta,
int phi,
int nphi,
int keybase,
int posneg);
std::unordered_map< int, int > m_map_fwID_towerID
SG_BASE(LVL1::gTowerContainer, DataVector< LVL1::gTower >)
virtual ~gTowerContainer()
destructor
gTowerContainer(size_t n, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Sized constructor.
The gTower class is an interface object for gFEX trigger algorithms The purposes are twofold:
std::vector< LVL1::gTower > MutablegTowerVector
Return from non-const findTowerVector.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
bool fillContainerMap()
utility function to help speed up accessing towers
@ OWN_ELEMENTS
this data object owns its elements
void print() const
dump (obsolete)
std::vector< const LVL1::gTower > gTowerVector
type to be used for the internal lookup table, and to return list of towers
int getIDfromFWID(int fwID) const
given a firmware ID, it returns the simulation ID, it can be used to then find towers
An STL vector of pointers that by default owns its pointed-to elements.
IMessageSvc * msgSvc() const
get message service
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void clearContainerMap()
clear map
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
void push_back(int eta, int phi, int nphi, int keybase, int posneg)
reimplementation of const push_back
gTowerContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
macros to associate a CLID to a type
std::unordered_map< int, int > m_map_towerID_containerIndex
const LVL1::gTower * findTower(int towerID) const
fast find method given identifier.